Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 463 pages
Exam (elaborations)

Introduction to Java Programming and Data Structures 12th Edition by Daniel Liang – Complete Test Bank Chapters 1–44

Document preview thumbnail
Preview 4 out of 463 pages

Introduction to Java Programming and Data Structures 12th Edition by Daniel Liang – Complete Test Bank Chapters 1–44

Content preview

TEST BANK fg




Introduction To Java Programming And Data Structures
fg fg fg fg fg fg




12th Edition by Liang Chapter 1 to 44
fg fg fg fg fg fg fg




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

, Table of contents fg fg fg




1. Introduction to Computers, Programs, and Java™
fg fg fg fg fg




2. Elementary Programming fg




3. Selections
4. Mathematical Functions, Characters, and Strings
fg fg fg fg




5. Loops
6. Methods
7. Single-Dimensional Arrays fg




8. Multidimensional Arrays fg




9. Objects and Classes
fg fg




10. Object-Oriented Thinking fg




11. Inheritance and Polymorphism fg fg




12. Exception Handling and Text I/O fg fg fg fg




13. Abstract Classes and Interfaces fg fg fg




14. JavaFX Basics fg




15. Event-Driven Programming and Animations fg fg fg




16. JavaFX UI Controls and Multimedia fg fg fg fg




17. Binary I/O fg




18. Recursion
19. Generics
20. Lists, Stacks, Queues, and Priority Queues
fg fg fg fg fg




21. Sets and Maps fg fg




22. Developing Efficient Algorithms fg fg




23. Sorting
24. Implementing Lists, Stacks, Queues, and Priority Queues fg fg fg fg fg fg




25. Binary Search Trees fg fg




26. AVL Trees fg




27. Hashing

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

, 28. Graphs and Applications
fg fg




29. Weighted Graphs and Applications
fg fg fg




30. Aggregate Operations for Collection Streams
fg fg fg fg




31. Advanced JavaFX and FXML fg fg fg




32. Multithreading and Parallel Programming fg fg fg




33. Networking
34. Java Database Programming
fg fg




35. Advanced Database Programming
fg fg




36. Internationalization
37. Servlets
38. JavaServer Pages fg




39. JavaServer Faces fg




40. RMI
41. Web Services
fg




42. 2-4 Trees and B-Trees
fg fg fg




43. Red-Black Trees fg




44. Testing Using JUnit
fg fg




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

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




Section 1.2 What is a Computer? fg fg fg fg fg


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


a. Hardware
b. Software
c. Operating system fg


d. Application program fg


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




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


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


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




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


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


gigahertz is1000 megahertz.
fg fg fg fg




#
Section 1.2.2 Bits and Bytes fg fg fg fg


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


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


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


c. because binary numbers are simplest. fg fg fg fg


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


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




#
5. One byte has bits.
fg fg


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




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


a. 1 million fg


b. 10 million fg


c. 1 billion fg


d. 1 trillion fg


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




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

fg fg fg fg fg fg fg fg fg fg fg fg fg fg fg fg fg fg

Connected book
 image
Publisher: 2019 ISBN: 9780136520238 Edition: Unknown

Document information

Uploaded on
August 6, 2026
Number of pages
463
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$14.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.
Examshero
4.3
(9)
Sold
29
Followers
1
Items
936
Last sold
4 days 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