Preview

03 - Assembler, Compiler, Interpreter

 1. What is used to translate assembly code?

  Interpreter

  Assembler

  Compiler

  None of these apply

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

  A compiler

  None of these apply

  An assembler

  An interpreter

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

  None of these apply

  An assembler

  An interpreter

  A compiler

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

  Compiler

  Assembler

  None of these apply

  Interpreter

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

  Compiler

  Interpreter

  None of these apply

  Assembler

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

  None of these apply

  Compiler

  Interpreter

  Assembler

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

  Assembler

  Interpreter

  None of these apply

  Compiler

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

  Compiler

  None of these apply

  Assembler

  Interpreter

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

  Compiler

  None of these apply

  Interpreter

  Assembler

 10. What is meant by 'source code'?

  None of these apply

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

  The code written by the programmer

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

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

  softer

  faster

  wobblier

  slower

 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.

  False

  True

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

  True

  False

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

  booter

  linker

  loader

  combiner