Preview

01 - Types of Program Translator

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

  a language with a high degree of abstraction from machine code

  the same thing as assembly language

  a language that can be understood by all computers

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

 2. Machine code consists of …

  binary numbers (1s and 0s)

  decimal numbers (1 to 10)

  letters of the English alphabet

  well known English words

 3. What does a translator do?

  It speaks to the user in any known human language

  It connects a computer to the Internet

  It transfers data around the computer

  It translates one computer language into another

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

  divider

  converter

  assembler

  reviewer

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

  FALSE

  TRUE

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

  tailor

  linker

  joiner

  welder

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

  at the beginning of the program

  line by line in reverse order

  before the program is run

  line by line as the program is running

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

  C

  Pascal

  Delphi

  Python

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

  The same compiler can be used with any CPU

  It is easy to spot errors

  The saved compiled program runs quickly

  Applications will open more quickly

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

  they use more memory

  programs are simpler to write

  errors can be quickly identified

  programs will run faster