4 Chapter 1, Introduction to Computers and Python
1.4 Machine Languages, Assembly Languages and High–
Level Languages
1.4 Q1: Which of the following statements is false?
a. Any computer can directly understand only its own machine language, defined
by its hardware design.
b. The most widely used Python implementation—CPython (which is written in
the C programming language for performance)—uses a clever mixture of compi-
lation and interpretation to run programs.
c. Translator programs called assemblers convert assembly-language programs
to machine language at computer speeds.
d. Interpreter programs, developed to execute high-level language programs di-
rectly, avoid the delay of compilation, and run faster than compiled programs.
1.4 Q2: Which of the following statements is false?
a. With the advent of assembly languages, computer usage increased rapidly, but
programmers still had to use numerous instructions to accomplish even the sim-
plest tasks.
b. To speed the programming process, high-level languages were developed in
which single statements could be written to accomplish substantial tasks.
c. Translator programs called assemblers convert high-level-language source
code into machine language.
d. High-level languages instructions look almost like every-day English and con-
tain commonly used mathematical notations.
1.5 Introduction to Object Technology
1.5 Q1: Which of the following statements a), b) or c) is false?
a. The classes that objects come from are essentially reusable software compo-
nents.
b. Almost any verb can be reasonably represented as a software object in terms
of attributes (e.g., name, color and size) and behaviors (e.g., calculating, moving
and communicating).
c. A class that represents a bank account might contain one method to deposit
money to an account, another to withdraw money from an account and a third to
inquire what the account’s balance is.
d. All of the above statements are true.