• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 389 pages
Exam (elaborations)

Test Bank for Introduction to Java Programming and Data Structures Comprehensive Version 12th Edition by Y. Daniel Liang

Document preview thumbnail
Preview 4 out of 389 pages

Test Bank for Introduction to Java Programming and Data Structures Comprehensive Version 12th Edition by Y. Daniel Liang Test Bank for Introduction to Java Programming and Data Structures Comprehensive Version 12th Edition by Y. Daniel Liang Test Bank for Introduction to Java Programming and Data Structures Comprehensive Version 12th Edition by Y. Daniel Liang Test Bank for Introduction to Java Programming and Data Structures Comprehensive Version 12th Edition by Y. Daniel Liang

Content preview

TESTBANKFOR i.d i.d




INTRODUCTIONTO i.d




JAVA
i.d




PROGRAMMING
i.d




ANDDATA
i.d i.d




STRUCTURES
i.d




COMPREHENSIVE
i.d




VERSION, 12TH
i.d i.d




EDITION,Y.DANIEL
i.d i.d i.d




LIANG
i.d

, Chapter1Introduction to Computers, Programs, and Java i.d i.d i.d i.d i.d i.d i.d




Section1.2 What is a Computer? i.d i.d i .d i.d i.d




1. is the physical aspectof the computer that can be seen. i.d i.d i.d i.d i.d i.d i.d i.d i.d i .d




a. Hardware
b. Software
c. Operatingsystem i.d




d. Applicationprogram i.d




Key:a See the first paragraphin Section 1.2.
i.d i.d i.d i.d i.d i.d i.d




#
Section1.2.1 What is a Computer? i.d i.d i.d i .d i.d




2. is the brain of a computer. i .d i .d i.d i.d i .d




a. Hardware
b. CPU
c. Memory
d. Disk
Key:b See the first paragraphin Section 1.2.1.
i.d i .d i.d i.d i.d i.d i.d




#
3. Thespeed of the CPU may be measured in
i.d . i.d i.d i .d i.d i.d i .d i.d




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
i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i .d i.d i.d i.d i.d i.d




megahertz.
i.d




#
Section1.2.2 Bitsand Bytes i.d i.d i.d i.d




4. Why do computers use zerosand ones? i.d i.d i .d i .d i.d i.d




a. because combinations of zerosand ones can represent any numbers and characters.
i.d i.d i.d i.d i .d i .d i.d i.d i.d i.d i .d




b. because digital devices have twostable states and it is natural to use one state for 0 and the other for 1.
i.d i.d i.d i .d i.d i.d i.d i.d i.d i.d i .d i .d i .d i.d i.d i.d i.d i.d i.d i.d i.d




c. because binarynumbers are simplest. i.d i.d i .d i.d




d. because binarynumbers are the bases upon which all other number systems are built.
i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d




Key:b See the second paragraph in Section 1.2.2.
i.d i.d i.d i.d i.d i.d i.d i.d




#
5. One byte has bits. i.d i.d




a. 4
b. 8
c. 12
d. 16
Key:b See the thrid paragraphin Section1.2.2.
i .d i .d i.d i.d i.d i .d i.d




#
5. One gigabyte is approximately i.d bytes. i.d i.d




a. 1 million
i.d




b. 10 million i.d




c. 1 billion
i.d




d. 1 trillion
i.d




Key:c See the fifth paragraph in Section1.2.2.
i.d i.d i .d i.d i.d i.d i.d




©2020PearsonEducation, Inc.,Hoboken,NJ.Allrightsreserved.Thismaterialisprotectedunderallcopyrightlawsasthey currentlyexist.
i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d

,#
Section1.2.3Memory i.d i.d




6. A program and its data must be moved intothe computer's
i .d i.d i .d i .d i .d i.d i .d i .d i.d i .d before they can be executed bythe CPU.
i.d i.d i.d i.d i.d i.d i .d




a. memory
b. hard disk i.d




c. CPU
d. CD-ROM
Key:a See the first paragraphin Section 1.2.3.
i.d i.d i.d i.d i.d i.d i.d




#
Section1.2.4StorageDevices i.d i.d i.d




6. A computer's
i.d i .d is volatile; thatis, any information stored in it is lost when the system's poweris turnedoff. i.d i.d i.d i.d i .d i.d i.d i .d i.d i.d i .d i.d i.d i.d i.d i .d i.d




a. memory
b. hard disk i.d




c. flash stick i.d




d. CD-ROM
Key:a See the first paragraphin Section 1.2.4.
i.d i.d i.d i.d i.d i.d i.d




#
6. Which of the following are storage devices? i.d i.d i.d i .d i.d i.d




a. portabledisk i.d




b. hard disk i.d




c. flash stick i.d




d. CD-ROM
Key:abcd See the second paragraphin Section 1.2.4. i.d i.d i.d i .d i.d i.d i.d




#
Section1.2.5 Input and Output Devices i.d i.d i.d i.d i.d




7. The specifiesthe numberof pixels in horizontaland verticaldimensions of the display device. i.d i.d i.d i .d i.d i.d i.d i .d i.d i.d i .d i.d i.d




a. screenresolution i.d




b. pixel
c. dot pitch i.d




d. monitor
Key:a See the third last paragraphin Section 1.2.5.
i.d i.d i .d i.d i.d i.d i.d i.d




#
Section1.2.6Communications Devices i.d i.d i.d




7. is a deviceto connect a computer to a local area network (LAN). i.d i .d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d




a. Regularmodem i.d




b. DSL
c. Cable modem i.d




d. NIC
Key:d See the bullet items in Section1.2.6.
i.d i .d i.d i.d i.d i.d i.d




#
Section1.3Program Languages i.d i.d i.d




8. are instructions to the computer. i.d i.d i.d i.d




a. Hardware
b. Software
c. Programs
d. Keyboards
Key:bc See the Key Point in Section 1.3. # i.d i.d i.d i.d i.d i.d i.d i.d




©2020PearsonEducation, Inc.,Hoboken,NJ.Allrightsreserved.Thismaterialisprotectedunderallcopyrightlawsastheycurrentlyexist.
i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d

, 9. Computercan executethe code in i.d i.d i.d i.d i.d .
a. machine language i.d




b. assemblylanguage i.d




c. high-level language i . d




d. none of the above i.d i.d i .d




Key:a See the first paragraphin Section 1.3.1.
i.d i.d i.d i.d i.d i.d i.d




#
10. translates high-level languageprogram intomachine languageprogram. i.d i.d i.d i.d i.d i.d i.d




a. An assembler i.d




b. A compiler i.d




c. CPU
d. Theoperating system i.d i.d




Key:b See the first paragraph after Table 1.1 in Section1.3.3.
i.d i.d i.d i.d i.d i .d i.d i.d i .d i.d




#
Section1.4OperatingSystems i.d i.d i.d




11. is an operating system. i.d i .d i.d




a. Java
b. C++
c. Windows
d. VisualBasic i.d




e. Ada
Key:c See the first paragraphin Section 1.4.
i.d i.d i.d i.d i.d i.d i.d




#
12. is a program thatruns ona computer to manage and control a computer's activities. i.d i.d i .d i.d i .d i.d i .d i.d i .d i.d i .d i .d i .d i.d




a. Operatingsystem i.d




b. Java
c. Modem
d. Interpreter
e. Compiler
Key:a See the first paragraphin Section 1.4.
i.d i.d i.d i.d i.d i.d i.d




#
Section1.5Java, WorldWide Web, and Beyond
i.d i.d i .d i.d i.d i.d i .d




14. Due to security reasons, Java cannot run from a Web browser in the new version of Java.
i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i .d i.d i.d




a. applications
b. applets
c. servlets
d. Micro Edition programs i.d i.d




Key:b See the last paragraphin Section1.5.
i.d i .d i.d i.d i.d i .d i.d




#
15. i.d is not an object-oriented programming language.
i.d i.d i . d i . d i . d




a. Java
b. C++
c. C
d. C#
e. Python
Key:c See Table 1.1in Section1.3.1.
i .d i .d i .d i.d i.d i.d




#
16. i.d is interpreted.
i.d




©2020PearsonEducation, Inc.,Hoboken, NJ.Allrights reserved.Thismaterialisprotectedunderallcopyrightlawsastheycurrently exist.
i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d i.d

Connected book
 image
Publisher: 2021 ISBN: 9781292402079 Edition: Unknown

Document information

Uploaded on
June 12, 2025
Number of pages
389
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$18.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
46
Followers
4
Items
1152
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions