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 handle more complex tasks than low level language

  a language with a high degree of abstraction from machine code

  a language that can be understood by all computers

 2. Machine code consists of …

  letters of the English alphabet

  binary numbers (1s and 0s)

  well known English words

  decimal numbers (1 to 10)

 3. What does a translator do?

  It connects a computer to the Internet

  It transfers data around the computer

  It speaks to the user in any known human language

  It translates one computer language into another

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

  converter

  divider

  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.

  TRUE

  FALSE

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

  welder

  tailor

  linker

  joiner

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

  line by line in reverse order

  before the program is run

  at the beginning of the program

  line by line as the program is running

 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

  The same compiler can be used with any CPU

  The saved compiled program runs quickly

  It is easy to spot errors

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

  they use more memory

  programs will run faster

  errors can be quickly identified

  programs are simpler to write