Scroll to see replies
•
Compiler produces executable object code; an interpreter does not produce object code.
•
Compiled code (object code) will execute faster than interpreted code.
•
Once compiled, the compiler is no longer needed to run the program; an interpreter is always needed to run interpreted code.
•
Compiled code will only execute on the same processor type/instruction set for which it was compiled; interpreted code is more portable.
•
Once compiled, the source code is no longer needed to run the program; an interpreter always needs the source code to run the program.
•
Compiler translates (and optimises) whole source code at once; an interpreter analyses and executes the program line at a time.
•
Machine code is the only program code a computer can execute directly.
•
Machine code is tedious to program - you can use hexidecimal but this is still laborious.
•
Each family of processors has its own machine language for its instruction set.
•
Assembly language was created to make programming slightly easier than using machine code.
•
Assembly language has the same structure and instruction set as machine language, but uses mnemonics instead of numbers.
•
Assembly language is used when execution speed of the program is essential, or when the programmer needs to perform an operation not available in a High Level Language, such as controlling certain hardware.
•
Imperative - the program is executed in a programmer defined sequence.
•
Uses English-like keywords to express the basic constructs of sequence, selection, and iteration.
•
One statement translates to several machine code statements/instructions.
•
Less tedious to program.
•
Platform/machine/processor independent/portable
•
Problem oriented
•
The programmer specifies how to computation is to be done to solve the problem.
•
Languages used for different problems:
•
Fortran - scientific and engineering problems
•
C - primarily for writing system software
•
PHP - server-side scripting
•
Declarative - the programmer defines what is to be computed rather than how the computation is to be done to solve the problem.
•
A language that does not specify the order in which to carry out actions to solve a problem.
•
A class of language including functional and logic programming languages.
•
Applications include:
•
Artificial Intelligence
•
Natural Language Processing
•
Querying a database
•
Solving logic problems
Last reply 3 days ago
Is MathsFM French Alevels good for a CS degree at top uni (OX, UCL, Durham etc)Last reply 4 days ago
OCR A-level Computer Science Paper 1 (H446/01) - 12th June 2023 [Exam Chat]Last reply 2 weeks ago
OCR A-level Computer Science Paper 2 (H446/02) - 19th June 2023 [Exam Chat]Last reply 3 weeks ago
AQA A-level Computer Science Paper 1 (7517 1A - 1E) - 12th June 2023 [Exam Chat]Last reply 1 month ago
Not receiving any response from University of Birmingham.Last reply 3 months ago
OCR GCSE Computer Science Paper 1 (J277/01) - 19th May 2023 [Exam Chat]Last reply 3 months ago
AQA GCSE Computer Science Paper 2 (8525/2) - 25th May 2023 [Exam Chat]Last reply 3 days ago
Is MathsFM French Alevels good for a CS degree at top uni (OX, UCL, Durham etc)Last reply 4 days ago
OCR A-level Computer Science Paper 1 (H446/01) - 12th June 2023 [Exam Chat]Last reply 2 weeks ago
OCR A-level Computer Science Paper 2 (H446/02) - 19th June 2023 [Exam Chat]Last reply 3 weeks ago
AQA A-level Computer Science Paper 1 (7517 1A - 1E) - 12th June 2023 [Exam Chat]Last reply 1 month ago
Not receiving any response from University of Birmingham.Last reply 3 months ago
OCR GCSE Computer Science Paper 1 (J277/01) - 19th May 2023 [Exam Chat]Last reply 3 months ago
AQA GCSE Computer Science Paper 2 (8525/2) - 25th May 2023 [Exam Chat]