Quiz
CS revision
Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.
Fragen in diesem Quiz (8)
1When is the use of high level language good?
- AWhen it is critical to execute quickly.
- BWhen it the speed of execution doesn't matter.
2Low-level language looks like english.
- ARichtig
- BFalsch
3An [blank_start]assembler[blank_end] is a program, which converts the [blank_start]low[blank_end] level assembly [blank_start]programming[blank_end] language into machine code.
- Aassembler
- Blow
- Cprogramming
4what is an interpreter?
- AA program, which converts the low level assembly programming language into machine code.
- BA program that converts high level programs into machine code for execution at a later time (the entire program is converted, not one line at a time as with an interpreter).
- CA program, which converts code one line at a time, into machine code and executes it.
5What does a lexical analysis do?
- AComments and unneeded spaces are removed.
- BVariables are checked to ensure that they have been properly declared and used.
- CKeywords, constants and identifiers are replaced by 'tokens'.
- DTokens are checked to see if they match the spelling and grammar expected, using standard language definitions. This is done by parsing each token to determine if it uses the correct syntax for the programming language
6Code [blank_start]optimisation[blank_end] may be employed to make it more efficient/faster/less resource intense.
- Aoptimisation
- Bgeneration
7A compiler is a program that converts high level programs into machine code for execution at a later time.
- ARichtig
- BFalsch
8Variables are [blank_start]checked[blank_end] to ensure that they have been [blank_start]properly declared and used.[blank_end]
[blank_start]Variables[blank_end] are checked to ensure that they are of the correct data type, e.g. [blank_start]real values[blank_end] are not being assigned to [blank_start]integers[blank_end].
Operations are [blank_start]checked[blank_end] to ensure that they are legal for the type of [blank_start]variable[blank_end] being used, e.g. you would not try to store the result of a [blank_start]division operation[blank_end] as an integer.- Achecked
- Bproperly declared and used.
- CVariables
- Dreal values
- Eintegers
- Fchecked
- Gvariable
- Hdivision operation
Informationen
- Beschreibung
- Quiz am CS revision, erstellt von Calum Roe am 31/03/2021.
- Autor
- Calum Roe
- Sprache
- English
- Aufrufe
- 0
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz