Chapter 1
Select all that apply. To create a Python program you can use a. a text editor b. a word processor if you save your file as a .docx c. IDLE d. Excel
A, C
A bit that is turned off is represented by the value -1.
F
A computer is a single device that performs different types of tasks for its users.
F
All programs are normally stored in ROM and are loaded into RAM as needed for processing.
F
The Python language uses a compiler which is a program that both translates and executes the instructions in a high-level language.
F
__________ are small central processing unit chips.
Microprocessors
__________ is a type of memory that can hold data for long periods of time, even when there is no power to the computer.
Secondary storage
A software developer is the person with the training to design, create, and test computer programs.
T
IDLE is an alternative method to using a text editor to write, execute, and test a Python program.
T
RAM is a volatile memory used for temporary storage while a program is running.
T
The CPU understands instructions written in a binary machine language.
T
The instruction set for a microprocessor is unique and is typically understood only by the microprocessors of the same brand.
T
The main reason to use secondary storage is to hold data for long periods of time, even when the power supply to the computer is turned off.
T
What is the largest value that can be stored in one byte? a. 255 b. 128 c. 8 d. 65535
a. 255
Which computer language uses short words known as mnemonics for writing programs? a. Assembly b. Java c. Pascal d. Visual Basic
a. Assembly
Where does a computer store a program and the data that the program is working with while the program is running? a. in main memory b. in the CPU c. in secondary storage d. in the microprocessor
a. in main memory
Which type of error prevents the program from running? a. syntax b. human c. grammatical d. logical
a. syntax
The __________ coding scheme contains a set of 128 numeric codes that are used to represent characters in the computer's memory. a. Unicode b. ASCII c. ENIAC d. two's complement
b. ASCII
Which language is referred to as a low-level language? a. C++ b. Assembly language c. Java d. Python
b. Assembly language
Which of the following is not a microprocessor manufacturing company? a. Intel b. Dell c. AMD d. Motorola
b. Dell
The disk drive is a secondary storage device that stores data by __________ encoding it onto a spinning circular disk. a. electrically b. magnetically c. digitally d. optically
b. magnetically
Programs are commonly referred to as a. system software b. software c. application software d. utility programs
b. software
A __________ has no moving parts and operates faster than a traditional disk drive. a. DVD drive b. solid state drive c. jumper drive d. hyper drive
b. solid state drive
What is the decimal value of the following binary number? 10011101 a. 157 b. 8 c. 156 d. 28
c. 156
2. Which of the following is considered to be the world's first programmable electronic computer? a. IBM b. Dell c. ENIAC d. Gateway
c. ENIAC
What type of volatile memory is usually used only for temporary storage while running a program? a. ROM b. TMM c. RAM d. TVM
c. RAM
The process known as the __________ cycle is used by the CPU to execute instructions in a program. a. decode-fetch-execute b. decode-execute-fetch c. fetch-decode-execute d. fetch-execute-decode
c. fetch-decode-execute
The following is an example of an instruction written in which computer language? 10110000 a. Assembly language b. Java c. machine language d. C#
c. machine language
Which of the following is not a major component of a typical computer system? a. the CPU b. main memory c. the operating system d. secondary storage devices
c. the operating system
The __________ is the part of the computer that actually runs programs and is the most important component in a computer.
central processing unit, CPU
The smallest storage location in a computer's memory is known as a a. byte b. ketter c. switch d. bit
d. bit
The encoding technique used to store negative numbers in the computer's memory is called a. Unicode b. ASCII c. floating-point notation d. two's complement
d. two's complement
USB drives store data using __________ memory.
flash
The term ___________ refers to all the physical devices that make up a computer.
hardware
The Python __________ is a program that can read Python programming statements and execute them.
interpreter
A disk drive stores data by __________ encoding it onto a circular disk.
magnetically
A(n) ___________ is a set of instructions that a computer follows to perform a task.
program
in memory is commonly known as __________.
random-access memory, RAM
In __________ mode, the interpreter reads the contents of a file that contains Python statements and executes each statement.
script