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

Introduction to Java Programming and Data Structures Comprehensive Version, 12th Edition, Y. Daniel Liang – Test Bank with Practice Questions and Answers

Rating
-
Sold
-
Pages
402
Grade
A+
Uploaded on
10-09-2025
Written in
2025/2026

This document contains the official test bank for Introduction to Java Programming and Data Structures, Comprehensive Version, 12th Edition by Y. Daniel Liang. It includes a wide range of practice questions and answers covering key concepts, programming exercises, and theoretical foundations. Ideal for preparing for exams and quizzes, as well as reinforcing understanding of Java programming and data structures.

Show more Read less
Institution
Introduction To Java Programming And Data
Course
Introduction to Java Programming and Data











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

Written for

Institution
Introduction to Java Programming and Data
Course
Introduction to Java Programming and Data

Document information

Uploaded on
September 10, 2025
Number of pages
402
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

TEST BANK FOR
grt grt




INTRODUCTION TO grt




JAVA
grt




PROGRAMMING
grt




AND DATA
grt grt




STRUCTURES
grt




COMPREHENSIVE
grt




VERSION, 12TH
grt grt




EDITION,Y.DANIEL
grt grt grt




LIANG
grt

, Chapter 1 Introduction to Computers, Programs, and Java
grt grt gr t grt grt grt grt




Section 1.2 What is a Computer? grt grt grt grt gr t




1. is the physical aspect of the computer that can be seen. grt grt gr t grt gr t grt grt grt gr t gr t




a. Hardware
b. Software
c. Operatingsystem grt




d. Application program grt




Key:a See the first paragraph in Section 1.2.
gr t gr t grt grt grt grt grt




#
Section 1.2.1 What is a Computer?
grt grt grt grt gr t




2. is the brain of a computer. grt grt grt gr t grt




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




#
3. The speed of the CPU may be measured in
grt . grt gr t grt gr t grt grt gr t




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




megahertz.
grt




#
Section 1.2.2 Bits and Bytes grt grt grt gr t




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




a. because combinations of zeros and ones can represent any numbers and characters.
grt gr t grt grt gr t grt grt grt grt gr t grt




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




c. because binary numbers are simplest. grt grt gr t grt




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




Key:b See the second paragraph in Section 1.2.2.
grt grt grt grt grt grt grt grt




#
5. One byte has bits.
grt grt




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




#
5. One gigabyte is approximately
grt bytes. gr t grt




a. 1 million
grt




b. 10 million
grt




c. 1 billion
grt




d. 1 trillion
grt




Key:c See the fifth paragraph in Section 1.2.2.
gr t gr t grt grt grt grt grt




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




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




a. memory
b. hard disk grt




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




#
Section 1.2.4 Storage Devices grt grt grt




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




a. memory
b. hard disk grt




c. flash stick gr t




d. CD-ROM
Key:a See the first paragraph in Section 1.2.4.
gr t gr t grt grt grt grt grt




#
6. Which of the following are storage devices? grt grt grt grt grt gr t




a. portable disk grt




b. hard disk grt




c. flash stick gr t




d. CD-ROM
Key:abcd See the second paragraph in Section 1.2.4. grt gr t grt grt grt grt grt




#
Section 1.2.5 Input and Output Devicesgrt grt grt gr t grt




7. The specifies the number of pixels in horizontal and vertical dimensions of the display device. grt grt grt grt grt grt grt gr t grt grt grt grt grt




a. screen resolution grt




b. pixel
c. dot pitch grt




d. monitor
Key:a See the third last paragraph in Section 1.2.5.
gr t gr t grt gr t gr t grt grt grt




#
Section 1.2.6 Communications Devices grt grt grt




7. is a device to connect a computer to a local area network (LAN). grt gr t grt gr t grt grt grt grt gr t grt grt grt




a. Regular modem grt




b. DSL
c. Cable modem grt




d. NIC
Key:d See the bullet items in Section 1.2.6.
gr t gr t grt grt grt grt grt




#
Section 1.3 Program Languages grt grt grt




8. are instructions to the computer. grt grt grt grt




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




grt #

© 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 grt gr t grt grt gr t .
a. machine language grt




b. assembly language grt




c. high-level language grt




d. none of the above gr t grt grt




Key:a See the first paragraph in Section 1.3.1.
gr t gr t grt grt grt grt grt




#
10. translates high-level language program into machine language program. grt gr t grt gr t grt grt grt




a. An assembler grt




b. A compiler gr t




c. CPU
d. The operating system grt grt




Key:b See the first paragraph after Table 1.1 in Section 1.3.3.
gr t gr t grt grt grt grt grt grt grt grt




#
Section 1.4 Operating Systems grt grt grt




11. is an operating system. grt gr t grt




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




e. Ada
Key:c See the first paragraph in Section 1.4.
gr t gr t grt grt grt grt grt




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




a. Operatingsystem grt




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




#
Section 1.5 Java, World Wide Web, and Beyond
grt grt grt grt grt gr t gr t




14. Due to security reasons, Java grtcannot run from a Web browser in the new version of Java.
grt grt grt grt gr t gr t gr t gr t grt grt grt grt gr t gr t




a. applications
b. applets
c. servlets
d. Micro Edition programs gr t gr t




Key:b See the last paragraph in Section 1.5.
gr t grt grt gr t grt grt grt




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




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




#
16. grt is interpreted.
grt




© 2020 Pearson Education, Inc., Hoboken, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
grt grt grt grt grt grt grt grt grt grt grt grt grt grt grt grt grt grt grt grt grt
$15.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
NurseSmartStudy
5.0
(1)

Get to know the seller

Seller avatar
NurseSmartStudy Chamberlain College Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
2
Member since
4 months
Number of followers
0
Documents
284
Last sold
2 months ago
Nurse SmartStudy – High-Quality Nursing Notes to Help You Pass Faster

Welcome to Nurse SmartStudy – your go-to source for clear, concise, and exam-ready nursing notes. Whether you\'re preparing for exams, clinicals, or NCLEX, our study guides are crafted to simplify complex topics and help you succeed with confidence.

5.0

1 reviews

5
1
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 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

Frequently asked questions