ki ki
INTRODUCTION TO ki ik
JAVA PROGRAMMI
ki
NG AND DATA STR
ki ki ki
UCTURES COMPRE ki
HENSIVE VERSION, ki ki
12TH EDITION, Y. D
ki ki ki
ANIELLIANG ik
, Chapterki1kiIntroductionki tokiComputers,ki Programs,ki andki Java
Sectionki1.2kiWhatkiiskiaki Computer?
1. ki iskithekiphysicalki aspectkiofki thekicomputerkithatkicanki beki seen.
a. Hardware
b. Software
c. Operatingkisystem
d. Applicationkiprogram
Key:aki Seeki thekifirstkiparagraphkiinkiSectionki1.2.
#
Sectionki1.2.1kiWhatkiiskiaki Computer?
2. ki iskithekibrainkiofki aki computer.
a. Hardware
b. CPU
c. Memory
d. Disk
Key:bki Seeki thekifirstkiparagraphkiinkiSectionki1.2.1.
#
3. Thekispeedki ofki thekiCPUki maykibeki measuredki in .
a. megabytes
b. gigabytes
c. megahertz
d. gigahertz
Key:cdki Seeki thekithirdki paragraphkiinkiSectionki1.2.1.ki1kimegahertzkiequalski1kimillionki pulseskiperkisecondki andki 1kigig
ahertzki iski1000kimegahertz.
#
Sectionki1.2.2kiBitskiandki Bytes
4. Whyki dokicomputerski useki zeroskiandki ones?
a. becausekicombinationski ofkizeroskiandki oneski canki representkianykinumberski andki characters.
b. becausekidigitalkideviceskihaveki twokistableki stateski andki itkiiskinaturalki toki useki oneki stateki forki0kiandki thekiotherkiforki1.
c. becausekibinarykinumberski arekisimplest.
d. becausekibinarykinumberski arekithekibaseskiuponkiwhichki allkiotherkinumberkisystemski
arekibuilt.kiKey:bki Seeki theki secondki paragraphkiinki Sectionki1.2.2.
#
5. Onekibyteki has bits.
a. 4
b. 8
c. 12
d. 16
Key:bki Seeki thekithridki paragraphkiinkiSectionki1.2.2.
#
5. Onekigigabyteki iskiapproximately bytes.
a. 1kimillion
b. 10kimillion
c. 1kibillion
d. 1kitrillion
Key:cki Seeki thekififthkiparagraphkiinkiSectionki1.2.2.
© ki Pearson Education, Inc., Hoboken, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
, #
Sectionki1.2.3kiMemory
6. Akiprogramki andki itski datakimustki beki movedki intokithekicomputer's beforekitheykicanki beki executedkibykitheki CPU.
a. memory
b. hardkidisk
c. CPU
d. CD-ROM
Key:aki Seeki thekifirstkiparagraphkiinkiSectionki1.2.3.
#
Sectionki1.2.4kiStoragekiDevices
6. Akicomputer's
iskivolatile;kithatkiis,kianykiinformationki storedki inkiitkiiskilostki whenkithekisystem'skipowerkiiskiturnedkioff.
a. memory
b. hardkidisk
c. flashki stick
d. CD-ROM
Key:aki Seeki thekifirstkiparagraphkiinkiSectionki1.2.4.
#
6. Whichkiofki thekifollowingki arekistorageki devices?
a. portablekidisk
b. hardkidisk
c. flashki stick
d. CD-ROM
Key:abcdki Seeki thekisecondki paragraphkiinki Sectionki1.2.4.
#
Sectionki1.2.5kiInputkiandki OutputkiDevices
7. The specifieskithekinumberkiofki pixelski inkihorizontalkiandki verticalkidimensionskiofki thekidisplaykidevice
a. screenkiresolution
b. pixel
c. dotkipitch
d. monitor
Key:aki Seeki thekithirdki lastki paragraphkiinkiSectionki1.2.5.
#
Sectionki1.2.6kiCommunicationskiDevices
7. ki iskiaki devicekitoki connectkiaki computerkitoki aki localki areakinetworkki(LAN).
a. Regularkimodem
b. DSL
c. Cableki modem
d. NIC
Key:dki Seeki thekibulletkiitemskiinkiSectionki1.2.6.
#
Sectionki1.3kiProgramki Languages
8. ki arekiinstructionskitokithekicomputer.
a. Hardware
b. Software
c. Programs
d. Keyboards
Key:bcki Seeki theki KeykiPointkiinkiSection
ki1.3.ki#
© ki Pearson Education, Inc., Hoboken, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
, 9. Computerkicanki executekithekicodeki in .
a. machinekilanguage
b. assemblykilanguage
c. high-levelk i language
d. noneki ofki thekiabove
Key:aki Seeki thekifirstkiparagraphkiinkiSectionki1.3.1.
#
10. ki translateski high-levelki languagekiprogramki intokimachineki languagekiprogram.
a. Ankiassembler
b. Akicompiler
c. CPU
d. Thekioperatingkisystem
Key:bki Seeki thekifirstkiparagraphkiafterki Tableki1.1kiinkiSectionki1.3.3.
#
Sectionki1.4kiOperatingkiSystems
11. ki iskianki operatingkisystem.
a. Java
b. C++
c. Windows
d. VisualkiBasic
e. Ada
Key:cki Seeki thekifirstkiparagraphkiinkiSectionki1.4.
#
12. ki iskiaki programki thatkirunskionkiaki computerki tokimanagekiandki controlki aki computer'ski activities.
a. Operatingkisystem
b. Java
c. Modem
d. Interpreter
e. Compiler
Key:aki Seeki thekifirstkiparagraphkiinkiSectionki1.4.
#
Sectionki1.5kiJava,kiWorldkiWidekiWeb,ki andki Beyond
14. Duekitoki securitykireasons,kiJava cannotkirunki fromki aki Webki browserkiinkithekinewkiversionki ofkiJava.
a. applications
b. applets
c. servlets
d. Microki Editionki programs
Key:bki Seeki thekilastki paragraphkiinkiSectionki1.5.
#
15. ki ki iski notki anki object-orientedki programmingki language.
a. Java
b. C++
c. C
d. C#
e. Python
Key:cki Seeki Tableki1.1kiinkiSectionki1.3.1.
#
16. ki ki iskiinterpreted.
©kikikiPearsonkiEducation,kiInc.,kiHoboken,kiNJ.kiAllkirightskireserved.kiThiskimaterialkiiskiprotectedkiunderkiallkicopyrightkilawskiaskitheykicu
rrentlykiexist.