TEST BANK FOR INTRODUCTION TO JAVA PROGRAMMING AND DATA STRUCTURES
COMPREHENSIVE VERSION, 12TH EDITION, Y. DANIEL LIANG
, Section 1.2 What is a Computer?
1. is the physical aspect of the computer that can be seen.
a. Hardware
b. Software
c. Operating system
d. Application program
Key:a See the first paragraph in Section 1.2.
#
Section 1.2.1 What is a Computer?
2. is the brain of a computer.
a. Hardware
b. CPU
c. Memory
d. Disk
Key:b See the first paragraph in Section 1.2.1.
#
3. The speed of the CPU may be measured in .
a. megabytes
b. gigabytes
c. megahertz
d. gigahertz
Key:cd See the third paragraph in Section 1.2.1. 1 megahertz equals 1 million pulses per second and 1 gigahertz is
1000 megahertz.
#
Section 1.2.2 Bits and Bytes
4. Why do computers use zeros and ones?
a. because combinations of zeros and ones can represent any numbers and characters.
b. because digital devices have two stable states and it is natural to use one state for 0 and the other for 1.
c. because binary numbers are simplest.
d. because binary numbers are the bases upon which all other number systems are built.
Key:b See the second paragraph in Section 1.2.2.
#
5. One byte has bits.
a. 4
b. 8
c. 12
d. 16
Key:b See the thrid paragraph in Section 1.2.2.
#
COMPREHENSIVE VERSION, 12TH EDITION, Y. DANIEL LIANG
, Section 1.2 What is a Computer?
1. is the physical aspect of the computer that can be seen.
a. Hardware
b. Software
c. Operating system
d. Application program
Key:a See the first paragraph in Section 1.2.
#
Section 1.2.1 What is a Computer?
2. is the brain of a computer.
a. Hardware
b. CPU
c. Memory
d. Disk
Key:b See the first paragraph in Section 1.2.1.
#
3. The speed of the CPU may be measured in .
a. megabytes
b. gigabytes
c. megahertz
d. gigahertz
Key:cd See the third paragraph in Section 1.2.1. 1 megahertz equals 1 million pulses per second and 1 gigahertz is
1000 megahertz.
#
Section 1.2.2 Bits and Bytes
4. Why do computers use zeros and ones?
a. because combinations of zeros and ones can represent any numbers and characters.
b. because digital devices have two stable states and it is natural to use one state for 0 and the other for 1.
c. because binary numbers are simplest.
d. because binary numbers are the bases upon which all other number systems are built.
Key:b See the second paragraph in Section 1.2.2.
#
5. One byte has bits.
a. 4
b. 8
c. 12
d. 16
Key:b See the thrid paragraph in Section 1.2.2.
#