Preview

03 - Assembler, Compiler, Interpreter

 1. What is used to translate assembly code?

  Compiler

  Interpreter

  None of these apply

  Assembler

 2. _____________ converts high level source code into machine code and stores it in an executable file.

  An assembler

  None of these apply

  A compiler

  An interpreter

 3. __________ converts a single line of high level source code into machine code and then immediately runs it on the CPU.

  An interpreter

  A compiler

  An assembler

  None of these apply

 4. Which of the following is not used to translate high level languages.

  None of these apply

  Assembler

  Interpreter

  Compiler

 5. Which translator translates the source code in one go?

  Interpreter

  Compiler

  Assembler

  None of these apply

 6. Which translator stops (line by line) when it encounters an error?

  Assembler

  Compiler

  None of these apply

  Interpreter

 7. Which language translator is used at the end of development?

  Interpreter

  Assembler

  None of these apply

  Compiler

 8. Which translator is typically used during the development of a program to aid the programmer?

  Interpreter

  Compiler

  Assembler

  None of these apply

 9. Which language translator produces object code and an error report?

  None of these apply

  Interpreter

  Assembler

  Compiler

 10. What is meant by 'source code'?

  None of these apply

  The mystery source of the code (e.g. binary)

  The machine code (at the source) i.e the 1s and 0s

  The code written by the programmer

 11. Because of the source code > translate > run loop, an interpreter tends to be a lot ______________ compared to compiled code.

  wobblier

  slower

  faster

  softer

 12. The advantage of an interpreter is that it is excellent for developing and testing code as errors show up immediately.

  False

  True

 13. A disadvantage of an interpreter is that it always must be present to run the source code and the source code must also be available.

  True

  False

 14. Often a compiler will also check for syntax errors and notify the user if it finds any, line by line.

  False

  True

 15. A software that combines object files (when a large program is broken down into smaller modules) is called a ...

  booter

  combiner

  loader

  linker