v v v v v v v v v v v
IS
Table of Contents
v v
1. Introduction to Computers and Programming v v v v
2. Input, Processing, and Output
v v v
3. Decision Structures and Boolean Logic
v v v v
4. Repetition Structures v
5. Functions
6. Files and Exceptions
v v
7. Lists and Tuplesv v
8. More About Strings v v
9. Dictionaries and Sets v v
10. Classes and Object-Oriented Programming
v v v
11. Inheritance
12. Recursion
13. GUI Programming
v
14. Database Programming v
,Chapter 1 Introduction to Computers and Programming Revie
v v v v v v v
w Questions
v
Multiple Choice
v
1. A(n) is a set of instructions that a computer follows to perform a task. v v v v v v v v v v v v
a. Compiler
b. Program
c. Interpreter
d. Programming language v
2. The physical devices that a computer is made of are referred to as
v v . v v v v v v v v v v
a. Hardware
b. Software
c. The operating system v v
d. Tools
3. The part of the computer that runs programs is called
v v v v . v v v v v
a. RAM
b. Second storage v
c. Main memory v
d. The CPU v
4. Today, CPUs are small chips known as v v .v v v v
a. ENIACs
b. Microprocessors
c. Memory chips v
d. Operating systems v
5. The computer stores a program while the program is running, as well as the data the the progr
v v v v v v v v v v v v v v v v v
am is working with, in
v v v . v
a. Secondary storage v
b. The CPU v
c. Main Memory v
d. The microprocessor v
6. This is a volatile type of memory that is used only for temporary storage while a program is run
v v v v v v v v v v v v v v v v v v
ning.
a. RAM
b. Second storage v
c. The disk drive v v
d. The usb drive v v
7. A type of memory that can hold data for long periods of time, even when there is no power
v v v v v v v v v v v v v v v v v v v
to the computer, is called
v v v .v
a. RAM
b. Main memory v
c. Second storage v
d. CPU storage v
, 8. A component that collects data from people or other devices and sends it to the compu
v v v v v v v v v v v v v v v
ter is called
v v .
a. An output device v v
b. An input device v v
c. A secondary storage device v v v
d. Main memory v
9. A video display is a(n)
v v v v device.
a. Output
b. Input
c. Second storage v
d. Main memory v
10. A is enough memory to store a letter of the alphabet or a small number. v v v v v v v v v v v v v
a. Byte
b. Bit
c. Switch
d. Transistor
11. A byte is made up of eight
v v v v v . v
a. CPUs
b. Instructions
c. Variables
d. Bits
12. In the
v
numbering system, all numeric values are written in se v v v v v v v v
quences of 0’s and 1’s. v v v v
a. Hexadecimal
b. Binary
c. Octal
d. Decimal
13. A bit that is turned off represents the following value:
v v v v v v v v v v
a. 1
b. -1
c. 0
d. “No”
14. A set of 128 numeric codes that represent the English letters, various punctuation marks, and
v v v v v v v v v v v v v v v
other characters is v v .
a. Binary numbering v
b. ASCII
c. Unicode
d. ENIAC
15. An excessive encoding scheme that can represent characters for many languages in the wor
v v v v v v v v v v v v v
ld is
v .
a. Binary numbering v
b. ASCII
c. Unicode
d. ENIAC
2 Jun 28, 2021
v v