Preview

01 - Types of Program Translator

 1. A high level programming language is …
typesoftranslator_q1.png

  the same thing as assembly language

  a language that can be understood by all computers

  a language with a high degree of abstraction from machine code

  a language that can handle more complex tasks than low level language

 2. Machine code consists of …

  decimal numbers (1 to 10)

  binary numbers (1s and 0s)

  well known English words

  letters of the English alphabet

 3. What does a translator do?

  It translates one computer language into another

  It transfers data around the computer

  It connects a computer to the Internet

  It speaks to the user in any known human language

 4. Assembly language is translated into machine code by a …

  assembler

  converter

  reviewer

  divider

 5. Compilers turn high level code into low level code (e.g. mahcine code) and save the result as one or more object files.

  TRUE

  FALSE

 6. If there are several object files and ready-built libraries, these will be put together by a …

  linker

  welder

  joiner

  tailor

 7. Interpreters convert high level languages into low level languages (e.g. machine code) …

  before the program is run

  line by line in reverse order

  line by line as the program is running

  at the beginning of the program

 8. Which of these languages is usually interpreted rather than compiled?

  Delphi

  Python

  C

  Pascal

 9. What is one advantage of using a compiler rather than an interpreter?
typesoftranslator_q9.jpg

  Applications will open more quickly

  It is easy to spot errors

  The saved compiled program runs quickly

  The same compiler can be used with any CPU

 10. One benefit of using an interpreter rather than a compiler is that …

  errors can be quickly identified

  programs are simpler to write

  programs will run faster

  they use more memory