Font size
WorksheetsH446 Compilers and Translators
Total questions: 62
Worksheet time: 32mins
Intuitive to write
More precise CPU Control
Avoid CPU running unnecesary commands
Better control of how RAM is used
All Options are incorrect
Which word describes an app that converts high level code into low level code
(a)
The bytecode translator can translate the bytecode at run-
(a)
If the translator runs the bytecode at run-time, this is known as a (a) compiler?
Bytecode is only (a) translated before the code is run.
When compiling bytecode the translator can first check the computer’s (a) before deciding how to translate it,
Which stage of compilation is concerned with ‘cleaning the code’ of unnecessary characters and splitting the code up into chunks that the translator can understand?
Lexical Analysis
Syntax Alalysis
Code generaton & Optimisation
Bytecode generation
In which stage of compilation is the high level code converted into “tokens”?
Lexical Analysis
Syntax Alalysis
Code generaton & Optimisation
Bytecode generation
The compiler produces a list of syntax (a) ?
The AST represents the (a) ?
Making the code as efficient as possible so that it minimises the amount of memory it requires to run is known as (a) ?
What is used to link any references that the program has made to library code?
(a)
What does DLL stand for?
(a)
Main reason why an (a) is used is at the (b) or development (c)
An (a) converts (b) (c) (d) instructions into (e) code.
A (a) can take a (b) to compile (c) as the translator will often have to convert the (d) into various sets of (e) as different CPUs will understand instructions with different machine code from one another.
Which translator must be present on the computer for the program is to be run
(a)
Type of translator not used for high level languages
(a)
This type of translator allows programmers to quickly detect errors
(a)
What is used to associate additional library code to the object code?
(a)
Source Code
Library Code
Object Code
Linker
Executable code
All (a) have to be written in accordance to the (b) otherwise a (c) would be (d) to translate the code
In the code generation and optimisation stage the compiler links to any libraries and other (a) that the program has made use of
Bytecode is highly....
Reliable
Adaptable
CPU Dependent
Portable
