Test Bank For
Python Programming for Engineers and Scientists by Cengage 1st Edition Copyright 2025
9798214002446
Chapter 1-13 Answers are at the End of Each Chapter
chapter 1
Indicate whether the statement is true or false.
1. In the early 1940s, computer scientists realized that a symbolic notation could be used instead of machine code, and the
first assembly languages appeared.
a. True
b. False
2. The first electronic digital computers, sometimes called mainframe computers, consisted of vacuum tubes, wires, and
plugs, and filled entire rooms.
a. True
b. False
3. The most important example of system software is a computer's operating system.
a. True
b. False
4. In 1984, Apple Computer brought forth the Macintosh, the first successful mass-produced personal computer with a
graphical user interface.
a. True
b. False
5. Informally, a computing agent is like a recipe.
a. True
b. False
6. In the 1930s, the mathematician Blaise Pascal explored the theoretical foundations and limits of algorithms and
computation.
a. True
b. False
7. Ancient mathematicians developed the first algorithms.
a. True
b. False
8. When using a computer, human users primarily interact with the memory.
a. True
b. False
Copyright Cengage Learning. Powered by Cognero. Page 1
,Name: Class: Date:
9. In the 1960s, batch processing sometimes caused a programmer to wait days for results, including error messages.
a. True
b. False
10. An algorithm describes a process that may or may not halt after arriving at a solution to a problem.
a. True
b. False
11. Magnetic storage media, such as tapes and hard disks, allow bit patterns to be stored as patterns on a magnetic field.
a. True
b. False
12. Moore's Law states that the processing speed and storage capacity of hardware will increase, and its cost will decrease,
by approximately a factor of 3 every 18 months.
a. True
b. False
13. The people known as “computers” working on cryptanalysis and ballistics calculations during World War II were
primarily men highly skilled in mathematics and puzzle solving.
a. True
b. False
14. Gordon Moore coined the term software engineering.
a. True
b. False
15. Computer science focuses on a broad set of interrelated ideas.
a. True
b. False
16. Each individual instruction in an algorithm is well-defined.
a. True
b. False
17. A program stored in computer memory must be represented in binary digits, which is also known as ASCII code.
a. True
b. False
18. A programmer typically starts by writing high-level language statements in a text editor.
a. True
b. False
Copyright Cengage Learning. Powered by Cognero. Page 2
,Name: Class: Date:
19. The algorithms that describe information processing can also be represented as information.
a. True
b. False
20. In computer memory, information is stored as patterns of bytes (1s and 0s).
a. True
b. False
21. The part of a computer that is responsible for processing data is the central processing unit (CPU).
a. True
b. False
22. The development of the transistor in the early 1960s allowed computer engineers to build ever smaller, faster, and less
expensive computer hardware components.
a. True
b. False
23. By the mid-1980s, the ARPANET had grown into what we now call the Internet, connecting computers owned by
large institutions, small organizations, and individuals all over the world.
a. True
b. False
24. An important part of any operating system is its file system, which allows human users to organize their data and
programs in permanent storage.
a. True
b. False
25. An algorithm describes a process that ends with a solution to a problem.
a. True
b. False
26. In Python, the programmer can force the output of a value by using the cout statement.
a. True
b. False
27. An algorithm solves a general class of problems.
a. True
b. False
Indicate the answer choice that best completes the statement or answers the question.
28. What technology replaced the vacuum tube as the mechanism for implementing electronic switches in computer
hardware?
a. transistor
Copyright Cengage Learning. Powered by Cognero. Page 3
, Name: Class: Date:
b. resistor
c. fully programmable gate array
d. microprocessor
29. What program is used by a programmer to convert high-level code into executable code?
a. translator
b. run-time system
c. interpreter
d. text editor
30. When IDLE is used for Python programming, what color is used to distinguish built-in function names?
a. blue
b. green
c. purple
d. red
31. What processor was contained in the first mass-produced personal computer?
a. Intel 8080
b. AMD486
c. NEC V20
d. Motorola 88000
32. What component of Python is responsible for the execution of Python byte code?
a. IDLE
b. Python interpreter
c. Python virtual machine (PVM)
d. Python Script Engine (PSE)
33. What type of processing occurs when processes run for a slice of time, then yield access to the CPU to another
process, and all active processes are cycled through repeatedly?
a. coalescent processing
b. cooperative processing
c. concurrent processing
d. divisive processing
34. What is the name used for the integrated program development environment that comes with a Python installation?
a. Eclipse
b. IDLE
c. PyShell
d. PyDDL
35. Suppose you are viewing a screen displaying an active IDLE session. What does green text mean?
a. The text is the result of output or is the name of a function.
Copyright Cengage Learning. Powered by Cognero. Page 4