100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Comprehensive Test Bank – Introduction to Java Programming and Data Structures, Comprehensive Version, 12th Edition (Y. Daniel Liang, 2020) – Complete Test Bank

Rating
-
Sold
-
Pages
406
Grade
A+
Uploaded on
05-12-2025
Written in
2025/2026

This document contains the complete test bank for Introduction to Java Programming and Data Structures, Comprehensive Version, 12th Edition by Y. Daniel Liang. It covers all major topics including Java fundamentals, object-oriented programming, algorithms, and data structures. The material supports exam preparation and thorough practice with core programming concepts and problem-solving techniques.

Show more Read less
Institution
Java Programming And Data Structures
Module
Java Programming and Data Structures











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Java Programming and Data Structures
Module
Java Programming and Data Structures

Document information

Uploaded on
December 5, 2025
Number of pages
406
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

TEST BANK FOR
INTRODUCTION TO
JAVA
PROGRAMMING
AND DATA
STRUCTURES
COMPREHENSIVE
VERSION, 12TH
EDITION, Y. DANIEL
LIANG

, Chapter 1 Introduction to Computers, Programs, and Java
Y5 Y5 Y5 Y5 Y5 Y5 Y5




Section 1.2 What is a Computer?
Y5 Y5 Y5 Y5 Y5



1. is the physical aspect of the computer that can be seen.
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



a. Hardware
b. Software
c. Operating system Y5



d. Application program Y5



Key:a See the first paragraph in Section 1.2.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
Section 1.2.1 What is a Computer?
Y5 Y5 Y5 Y5 Y5



2. is the brain of a computer. Y5 Y5 Y5 Y5 Y5



a. Hardware
b. CPU
c. Memory
d. Disk
Key:b See the first paragraph in Section 1.2.1.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
3. The speed of the CPU may be measured in
Y5 Y5 . Y5 Y5 Y5 Y5 Y5 Y5



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
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



is 1000 megahertz.
Y5 Y5 Y5




#
Section 1.2.2 Bits and Bytes
Y5 Y5 Y5 Y5



4. Why do computers use zeros and ones?
Y5 Y5 Y5 Y5 Y5 Y5



a. because combinations of zeros and ones can represent any numbers and characters.
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



b. because digital devices have two stable states and it is natural to use one state for 0 and the other for 1.
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



c. because binary numbers are simplest.
Y5 Y5 Y5 Y5



d. because binary numbers are the bases upon which all other number systems are
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



built. Key:b See the second paragraph in Section 1.2.2.
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
5. One byte has Y5 bits. Y5



a. 4
b. 8
c. 12
d. 16
Key:b See the thrid paragraph in Section 1.2.2.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
5. One gigabyte is approximately
Y5 bytes. Y5 Y5



a. 1 million
Y5



b. 10 million Y5



c. 1 billion
Y5



d. 1 trillion
Y5



Key:c See the fifth paragraph in Section 1.2.2.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




© 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 Y5 Y5



6. A program and its data must be moved into the computer's
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 before they can be executed by the CPU.
Y5 Y5 Y5 Y5 Y5 Y5 Y5



a. memory
b. hard disk Y5



c. CPU
d. CD-ROM
Key:a See the first paragraph in Section 1.2.3.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
Section 1.2.4 Storage Devices
Y5 Y5 Y5



6. A computer's
Y5 Y5 is volatile; that is, any information stored in it is lost when the system's power is turned
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



off.
Y5



a. memory
b. hard disk Y5



c. flash stick Y5



d. CD-ROM
Key:a See the first paragraph in Section 1.2.4.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
6. Which of the following are storage devices?
Y5 Y5 Y5 Y5 Y5 Y5



a. portable disk Y5



b. hard disk Y5



c. flash stick Y5



d. CD-ROM
Key:abcd See the second paragraph in Section 1.2.4.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
Section 1.2.5 Input and Output Devices
Y5 Y5 Y5 Y5 Y5



7. The specifies the number of pixels in horizontal and vertical dimensions of the display device. Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



a. screen resolution Y5



b. pixel
c. dot pitch Y5



d. monitor
Key:a See the third last paragraph in Section 1.2.5.
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
Section 1.2.6 Communications Devices
Y5 Y5 Y5



7. is a device to connect a computer to a local area network (LAN).
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



a. Regular modem Y5



b. DSL
c. Cable modem Y5



d. NIC
Key:d See the bullet items in Section 1.2.6.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
Section 1.3 Program Languages
Y5 Y5 Y5



8. are instructions to the computer. Y5 Y5 Y5 Y5



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




1.3. #
Y5 Y5




© 2020 Pearson Education, Inc., Hoboken, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.

, 9. Computer can execute the code in Y5 Y5 Y5 Y5 Y5 .
a. machine language Y5



b. assembly language Y5



c. high-level language Y5



d. none of the above Y5 Y5 Y5



Key:a See the first paragraph in Section 1.3.1.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
10. translates high-level language program into machine language program. Y5 Y5 Y5 Y5 Y5 Y5 Y5



a. An assembler Y5



b. A compiler Y5



c. CPU
d. The operating system
Y5 Y5



Key:b See the first paragraph after Table 1.1 in Section 1.3.3.
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
Section 1.4 Operating Systems
Y5 Y5 Y5



11. is an operating system. Y5 Y5 Y5



a. Java
b. C++
c. Windows
d. Visual Basic Y5



e. Ada
Key:c See the first paragraph in Section 1.4.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
12. is a program that runs on a computer to manage and control a computer's activities.
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



a. Operating system Y5



b. Java
c. Modem
d. Interpreter
e. Compiler
Key:a See the first paragraph in Section 1.4.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
Section 1.5 Java, World Wide Web, and Beyond
Y5 Y5 Y5 Y5 Y5 Y5 Y5



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



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



Key:b See the last paragraph in Section 1.5.
Y5 Y5 Y5 Y5 Y5 Y5 Y5




#
15. is not an object-oriented programming language.
Y5 Y5 Y5 Y5 Y5 Y5



a. Java
b. C++
c. C
d. C#
e. Python
Key:c See Table 1.1 in Section 1.3.1.
Y5 Y5 Y5 Y5 Y5 Y5




#
16. is interpreted.
Y5 Y5




© 2020 Pearson Education, Inc., Hoboken, NJ. All rights reserved. This material is protected under all copyright laws as they
Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5 Y5



currently exist. Y5 Y5

Get to know the seller

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.
PrepMasters stuvia
Follow You need to be logged in order to follow users or courses
Sold
9
Member since
2 months
Number of followers
1
Documents
640
Last sold
1 day ago
College TestBank Hub

College TestBank Hub offers instant access to college test banks, exam guides, and solution manuals for top textbooks and courses. Get accurate, up-to-date resources that make studying easier and exam prep faster.

5.0

2 reviews

5
2
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions