Programming Language Test Chapter 1
Exam Questions and Answers Graded A+
machine language is language in the form of 1's and 0's that computers understand
assembly language is language that humans can more easily understand and is in
the form of words and symbols that gets converted to machine language - Correct
answer-What is the difference between machine language and assembly language?
Evolution, Special Purposes, Personal Preference - Correct answer-Why are there
so many programming languages?
Declarative languages hide implementation details. Imperative embraces them. -
Correct answer-What distinguishes declarative languages from imperative
languages?
Lisp - Correct answer-What was the first functional language?
C++ implementations based on the early AT&T compiler actually generated an
intermediate program in C, instead of in assembly language - Correct answer-what
was the immediate form employed by the original AT&T C++ compiler
©COPYRIGHT 2025, ALL RIGHTS RESERVED 1
, High level languages economizes the programmer effort in the construction and
maintenance of programs.
For performance centered tasks, assembly allows direct control for optimization. -
Correct answer-In what way(s) are high-level languages an improvement on a
assembly language? Are there circumstances in which it still make sense to
program in assembler?
Fortran - Correct answer-What is generally considered the first high-level
programming language?
Compiler translates high level source program into a equivalent target program
(machine language).
An interpreter implements a virtual machine whose "machine language" is the
high-level programming language. The interpreter reads statements in that
language more or less one at a time, executing them as it goes along. - Correct
answer-Explain the distinction between interpretation and compilation. What are
the comparative advantages and disadvantages of the two approaches?
Java could be considered either. It is possible for a compiler (complicated
translator) to produce
©COPYRIGHT 2025, ALL RIGHTS RESERVED 2
Exam Questions and Answers Graded A+
machine language is language in the form of 1's and 0's that computers understand
assembly language is language that humans can more easily understand and is in
the form of words and symbols that gets converted to machine language - Correct
answer-What is the difference between machine language and assembly language?
Evolution, Special Purposes, Personal Preference - Correct answer-Why are there
so many programming languages?
Declarative languages hide implementation details. Imperative embraces them. -
Correct answer-What distinguishes declarative languages from imperative
languages?
Lisp - Correct answer-What was the first functional language?
C++ implementations based on the early AT&T compiler actually generated an
intermediate program in C, instead of in assembly language - Correct answer-what
was the immediate form employed by the original AT&T C++ compiler
©COPYRIGHT 2025, ALL RIGHTS RESERVED 1
, High level languages economizes the programmer effort in the construction and
maintenance of programs.
For performance centered tasks, assembly allows direct control for optimization. -
Correct answer-In what way(s) are high-level languages an improvement on a
assembly language? Are there circumstances in which it still make sense to
program in assembler?
Fortran - Correct answer-What is generally considered the first high-level
programming language?
Compiler translates high level source program into a equivalent target program
(machine language).
An interpreter implements a virtual machine whose "machine language" is the
high-level programming language. The interpreter reads statements in that
language more or less one at a time, executing them as it goes along. - Correct
answer-Explain the distinction between interpretation and compilation. What are
the comparative advantages and disadvantages of the two approaches?
Java could be considered either. It is possible for a compiler (complicated
translator) to produce
©COPYRIGHT 2025, ALL RIGHTS RESERVED 2