GoConqr has a new look! Let us know what you think.

Quiz

CS revision

Calum Roe 8 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (8)

  1. 1When is the use of high level language good?
    1. AWhen it is critical to execute quickly.
    2. BWhen it the speed of execution doesn't matter.
  2. 2Low-level language looks like english.
    1. ATrue
    2. BFalse
  3. 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.
    1. Aassembler
    2. Blow
    3. Cprogramming
  4. 4what is an interpreter?
    1. AA program, which converts the low level assembly programming language into machine code.
    2. 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).
    3. CA program, which converts code one line at a time, into machine code and executes it.
  5. 5What does a lexical analysis do?
    1. AComments and unneeded spaces are removed.
    2. BVariables are checked to ensure that they have been properly declared and used.
    3. CKeywords, constants and identifiers are replaced by 'tokens'.
    4. 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
  6. 6Code [blank_start]optimisation[blank_end] may be employed to make it more efficient/faster/less resource intense.
    1. Aoptimisation
    2. Bgeneration
  7. 7A compiler is a program that converts high level programs into machine code for execution at a later time.
    1. ATrue
    2. BFalse
  8. 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.
    1. Achecked
    2. Bproperly declared and used.
    3. CVariables
    4. Dreal values
    5. Eintegers
    6. Fchecked
    7. Gvariable
    8. Hdivision operation

Information

Description
Quiz on CS revision, created by Calum Roe on 31/03/2021.
Author
Calum Roe
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?