INTRODUCTION TO
JAVA
PROGRAMMING
AND DATA
STRUCTURES
COMPREHENSIVE
VERSION, 12TH
EDITION, Y. DANIEL
LIANG
, Chapter 1 Introduction to Computers, Programs, and Java
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.
#
5. One gigabyte is approximately bytes.
a. 1 million
b. 10 million
c. 1 billion
d. 1 trillion
Key:c See the fifth paragraph in Section 1.2.2.
© 2020 Pearson Education, Inc., Hoboken, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
,#
Section 1.2.3 Memory
6. zA zprogram zand zits zdata zmust zbe zmoved zinto zthe before zthey zcan zbe zexecuted zby zthe
zcomputer's zCPU.
a. zmemory
b. zhard zdisk
c. zCPU
d. zCD-ROM
Key:a zSee zthe zfirst zparagraph zin zSection z1.2.3.
#
Section z1.2.4 zStorage zDevices
6. zA zcomputer's is zvolatile; zthat zis, zany zinformation zstored zin zit zis zlost zwhen zthe zsystem's zpower zis
zturned zoff.
a. memory z
b. hard zdisk z
c. flash zstick z
d. CD-ROM z
Key:a zSee zthe zfirst zparagraph zin zSection z1.2.4.
#
6. zWhich zof zthe zfollowing zare zstorage zdevices?
a. portable zdisk z
b. hard zdisk z
c. flash zstick z
d. CD-ROM z
Key:abcd zSee zthe zsecond zparagraph zin zSection z1.2.4.
#
Section z1.2.5 zInput zand zOutput zDevices
7. zThe specifies zthe znumber zof zpixels zin zhorizontal zand zvertical zdimensions zof zthe zdisplay
zdevice.
a. screen zresolution z
b. pixel z
c. dot zpitch z
d. monitor z
Key:a zSee zthe zthird zlast zparagraph zin zSection z1.2.5.
#
Section z1.2.6 zCommunications zDevices
7. is za zdevice zto zconnect za zcomputer zto za zlocal zarea znetwork z(LAN).
a. Regular zmodem z
b. DSL z
c. Cable zmodem z
d. NIC z
Key:d zSee zthe zbullet zitems zin zSection z1.2.6.
#
Section z1.3 zProgram zLanguages
8. are zinstructions zto zthe zcomputer.
a. Hardware z
b. Software z
c. Programs z
d. Keyboards z
Key:bc zSee zthe zKey zPoint zin zSection z1.3.
#
, © z2020 zPearson zEducation, zInc., zHoboken, zNJ. zAll zrights zreserved. zThis zmaterial zis zprotected zunder zall zcopyright zlaws zas zthey
zcurrently zexist.