51. The decimal equivalent of the binary number 10101 is:

a. 17
b. 21
c. 25
d. 31




















52. The binary representation of the decimal number 30 is:

a. 111110
b. 11110
c. 11111
d. 101010




















53. "Machine language" refers to

a. the single common binary language understood by all computers
b. the output language of all translator programs
c. a version of JavaScript
d. the low-level languages that are understood by different computers




















54. The ASCII code was invented so that

a. computers could represent character (non-numeric) data
b. all computers would represent numbers in the same way
c. the text from WWW pages could be displayed on the screen
d. computers could distinguish character data from numbers




















55. The first program translator was

a. the Rosetta stone
b. a compiler
c. PIPPIN
d. an assembler




















56. Source code is

a. code written for a specific computer
b. code that is subject to translation
c. code that results from translation
d. code written directly in machine language that need not be translated




















57. The essential difference between an interpreter and a compiler is

a. interpreters take source code as input; compilers don't
b. compilers produce object code; interpreters don't
c. interpreters translate and execute programs one statement at a time; compilers don't
d. compilers translate and execute programs one statement at a time; interpreters don't




















58. Which of the following is NOT a standard phase of program translation?

a. scanning
b. semantic analysis
c. parsing
d. code generation




















59. PIPPIN would most closely be classified as which type of language?

a. machine language
b. binary language
c. assembly language
d. functional language




















60. JavaScript would be classified as belonging to which language generation?

a. First
b. Second
c. Third
d. Fourth




















 
Congratulations: you've reached the end of the quiz. Return to the list of quizzes to take another chapter quiz, or to reset your score and start over.

If you'd like more information on Program Translation, see the Resources for this Module.