Multiple Choice 
Chapter One
1)	The CPU is made of __________.
a.	ALU, control unit, and registers.
b.	ALU and secondary storage
c.	ALU and memory 
d.	ALU and input/output systems
Answer: a
2)	A keyboard is considered as _______ device.
a.	an input
b.	an output
c.	both an input and output 
d.	neither an input nor an output
Answer: a
3)	A monitor is considered as _________ device.
a.	an input
b.	an output
c.	both an input and output 
d.	neither an input nor an output
Answer: b
4)	Primary memory is used to store _________.
a.	only operating system
b.	only programs
c.	only data
d.	operating system, programs, and data
Answer: d
5)	When the computer is turned off, _________ in the memory.
a.	the programs are erased but the data remains 
b.	data are erased but the programs remains 
c.	neither the programs nor data are erased
d.	both the program and the data are erased
Answer: d
A machine language is made of _________. 
a.	0s and 1s
b.	symbols
c.	either a or b
d.	both a and b
Answer:  a
6)	FORTRAN is an example of a_________. 
a.	machine language
b.	symbolic language
c.	high-level language
d.	none of the above
Answer: c
7)	The C++ is considered as a __________.
a.	machine language
b.	symbolic language
c.	high-level language
d.	none of the above
Answer: c
8)	A functional paradigm uses ___________. 
a.	mathematical functions.
b.	classes and objects
c.	logical facts and rules
d.	all of the above
Answer: a
9)	A logical paradigm uses __________.
a.	mathematical functions.
b.	classes and objects
c.	logical facts and rules
d.	all of the above
Answer: c
10)	The C++ language is considered as a_________ paradigm. 
a.	logical
b.	functional
c.	combination of procedural and object-oriented 
d.	combination of logical and functional
Answer: c
11)	The Java language is considered as __________ paradigm.
a.	logical
b.	functional
c.	object-oriented 
d.	combination of logical and functional
Answer: c
12)	The first step in program design is to ________.
a.	understand the problem
b.	develop the solution 
c.	define classes 
d.	write the code
Answer: a
13)	The second step in program design is to ________.
a.	understand the problem
b.	develop the solution 
c.	test the program 
d.	run the program
Answer: b
14)	An algorithm is a set of ____________.
a.	specifications
b.	objects 
c.	logical steps to solve the problem
d.	instructions
Answer: c
15)	The first steps in program development is to ________ the program. 
a.	write and edit 
b.	compile
c.	test
d.	run
Answer: d
16)	A standard tool for designing, specifying, and documenting many aspects of a computing system is _____.
a.	Unified Modeling Language
b.	Standard System Development Language
c.	System Flow Chart
d.	System Compiler
Answer: a
17)	The design paradigm that views a program as a black box that maps a list of inputs to a list of outputs is the _____.
a.	procedural paradigm
b.	object-oriented paradigm
c.	logic paradigm
d.	functional paradigm
Answer: d
18)	Which of the following is a step in program design?
a.	select the program language
b.	develop the solution
c.	write the program
d.	test the program
Answer: b 
19)	The program that translates the source file into machine language is the _____.
a.	translator
b.	loader
c.	compiler
d.	linker
Answer: c