Preview

01 - Types of Program Translator

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

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

  a language that can be understood by all computers

  the same thing as assembly language

  a language with a high degree of abstraction from machine code

 2. Machine code consists of …

  binary numbers (1s and 0s)

  decimal numbers (1 to 10)

  well known English words

  letters of the English alphabet

 3. What does a translator do?

  It transfers data around the computer

  It translates one computer language into another

  It speaks to the user in any known human language

  It connects a computer to the Internet

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

  assembler

  divider

  reviewer

  converter

 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 …

  tailor

  joiner

  welder

  linker

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

  line by line as the program is running

  before the program is run

  line by line in reverse order

  at the beginning of the program

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

  C

  Delphi

  Pascal

  Python

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

  Applications will open more quickly

  The same compiler can be used with any CPU

  It is easy to spot errors

  The saved compiled program runs quickly

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

  errors can be quickly identified

  programs will run faster

  programs are simpler to write

  they use more memory