n n
INTRODUCTION
TO JAVA
n n
PROGRAMMING
n
AND DATA
n n
STRUCTURES
n
COMPREHENSIV
n
E VERSION, 12TH
n n
EDITION, Y.
n n
DANIEL LIANG
n n
, Chapter n1 nIntroduction nto nComputers, nPrograms, nand nJava
Section n1.2 nWhat nis na nComputer?
1. is nthe nphysical naspect nof nthe ncomputer nthat ncan nbe nseen.
a. Hardware
b. Software
c. Operating nsystem
d. Application nprogram
Key:a nSee nthe nfirst nparagraph nin nSection n1.2.
#
Section n1.2.1 nWhat nis na nComputer?
2. is nthe nbrain nof na n computer.
a. Hardware
b. CPU
c. Memory
d. Disk
Key:b nSee nthe nfirst nparagraph nin nSection n1.2.1.
#
3. The nspeed nof nthe nCPU nmay nbe n measured nin .
a. megabytes
b. gigabytes
c. megahertz
d. gigahertz
Key:cd nSee nthe nthird nparagraph nin nSection n1.2.1. n1 nmegahertz nequals n1 nmillion npulses nper nsecond nand
n1 ngigahertz nis n1000 nmegahertz.
#
Section n1.2.2 nBits nand nBytes
4. Why ndo ncomputers nuse nzeros nand n ones?
a. because ncombinations nof nzeros nand nones ncan nrepresent nany nnumbers nand ncharacters.
b. because ndigital ndevices nhave ntwo nstable nstates nand n it nis nnatural nto nuse none nstate nfor n0 nand nthe nother
nfor n1.
c. because nbinary nnumbers nare nsimplest.
d. because nbinary nnumbers nare nthe nbases nupon nwhich nall nother nnumber
nsystems nare nbuilt. nKey:b nSee nthe n second nparagraph nin nSection n1.2.2.
#
5. One nbyte nhas bits.
a. 4
b. 8
c. 12
d. 16
Key:b nSee nthe nthrid nparagraph nin nSection n1.2.2.
#
5. One ngigabyte nis napproximately bytes.
a. 1 nmillion
b. 10 nmillion
c. 1 nbillion
d. 1 ntrillion
© n2020 nPearson nEducation, nInc., nHoboken, nNJ. nAll nrights nreserved. nThis nmaterial nis nprotected nunder nall ncopyright nlaws nas nthey
ncurrently nexist.
, Key:c nSee nthe nfifth nparagraph nin nSection n1.2.2.
© n2020 nPearson nEducation, nInc., nHoboken, nNJ. nAll nrights nreserved. nThis nmaterial nis nprotected nunder nall ncopyright nlaws nas nthey
ncurrently nexist.
, #
Section n1.2.3 nMemory
6. A nprogram nand nits ndata nmust nbe n moved ninto nthe ncomputer's before nthey ncan n be nexecuted nby nthe
nCPU.
a. memory
b. hard ndisk
c. CPU
d. CD-ROM
Key:a nSee nthe nfirst nparagraph nin nSection n1.2.3.
#
Section n1.2.4 nStorage nDevices
6. nA ncomputer's is nvolatile; nthat nis, nany ninformation nstored nin nit nis nlost nwhen nthe nsystem's npower
nis nturned noff.
a. memory
b. hard ndisk
c. flash nstick
d. CD-ROM
Key:a nSee nthe nfirst nparagraph nin nSection n1.2.4.
#
6. Which nof nthe nfollowing nare nstorage ndevices?
a. portable ndisk
b. hard ndisk
c. flash nstick
d. CD-ROM
Key:abcd nSee nthe nsecond nparagraph nin nSection n1.2.4.
#
Section n1.2.5 nInput nand nOutput nDevices
7. The specifies nthe nnumber nof npixels nin nhorizontal nand nvertical ndimensions nof nthe ndisplay
ndevice.
a. screen nresolution
b. pixel
c. dot npitch
d. monitor
Key:a nSee nthe nthird nlast nparagraph nin nSection n1.2.5.
#
Section n1.2.6 nCommunications nDevices
7. is na ndevice nto nconnect na n computer nto na nlocal n area nnetwork n(LAN).
a. Regular nmodem
b. DSL
c. Cable nmodem
d. NIC
Key:d nSee nthe nbullet nitems nin nSection n1.2.6.
#
Section n1.3 nProgram nLanguages
8. are ninstructions nto nthe ncomputer.
a. Hardware
b. Software
c. Programs
d. Keyboards
Key:bc nSee nthe nKey nPoint nin nSection
© n2020 nPearson nEducation, nInc., nHoboken, nNJ. nAll nrights nreserved. nThis nmaterial nis nprotected nunder nall ncopyright nlaws nas nthey
ncurrently nexist.