[Type here]
Test Bank For Introduction To Java Programming And
Data Structures, 12th Edition By Liang| All Chapters 1-
44| Newest Edition 2026 A+
Page 1 of 333
,[Type here]
Table Of Contents
1. Introduction To Computers, Programs, And Javatm
2. Elementary Programming
3. Selections
4. Mathematical Functions, Characters, And Strings
5. Loops
6. Methods
7. Single-Dimensional Arrays
8. Multidimensional Arrays
9. Objects And Classes
10. Object-Oriented Thinking
11. Inheritance And Polymorphism
12. Exception Handling And Text I/O
13. Abstract Classes And Interfaces
14. Javafx Basics
15. Event-Driven Programming And Animations
16. Javafx Ui Controls And Multimedia
17. Binary I/O
18. Recursion
19. Generics
20. Lists, Stacks, Queues, And Priority Queues
21. Sets And Maps
22. Developing Efficient Algorithms
23. Sorting
24. Implementing Lists, Stacks, Queues, And Priorityqueues
25. Binary Search Trees
26. Avl Trees
27. Hashing
28. Graphs And Applications
29. Weighted Graphs And Applications
30. Aggregate Operations For Collection Streams
Bonus Chapters 3144 Are Available From The Companionwebsite
31. Advanced Javafx And Fxml
32. Multithreading And Parallel Programming
Page 2 of 333
,[Type here]
33. Networking
34. Java Database Programming
35. Advanced Database Programming
36. Internationalization
37. Servlets
38. Javaserver Pages
39. Javaserver Faces
40. Rmi
41. Web Services
42. 2-4 Trees And B-Trees
43. Red-Black Trees
44. Testing Using Junit
Page 3 of 333
,[Type here]
chapter 1 introduction to computers, programs, and java
section 1.2 what is a computer?
1. is the physical aspect of the computer that can be seen.
a. hardware
b. software
c. operating system
d. application program
ANS:a see the first paragraph in section 1.2.
#
section 1.2.1 what is a computer?
2. is the brain of a computer.
a. hardware
b. cpu
c. memory
d. disk
ANS:b see the first paragraph in section 1.2.1.
#
3. the speed of the cpu may be measured in .
a. megabytes
b. gigabytes
c. megahertz
d. gigahertz
ANS:cd see the third paragraph in section 1.2.1. 1 megahertz equals 1 million pulses per second and 1 gigahertz is
1000 megahertz.
#
section 1.2.2 bits and bytes
4. why do computers use zeros and ones?
a. because combinations of zeros and ones can represent any numbers and characters.
b. because digital devices have two stable states and it is natural to use one state for 0 and the other for 1.
c. because binary numbers are simplest.
d. because binary numbers are the bases upon which all other number systems are built.
ANS:b see the second paragraph in section 1.2.2.
#
5. one byte has bits.
a. 4
b. 8
c. 12
d. 16
ANS:b see the thrid paragraph in section 1.2.2.
#
5. one gigabyte is approximately bytes.
a. 1 million
b. 10 million
c. 1 billion
d. 1 trillion
ANS:c see the fifth paragraph in section 1.2.2.
Page 4 of 333
Test Bank For Introduction To Java Programming And
Data Structures, 12th Edition By Liang| All Chapters 1-
44| Newest Edition 2026 A+
Page 1 of 333
,[Type here]
Table Of Contents
1. Introduction To Computers, Programs, And Javatm
2. Elementary Programming
3. Selections
4. Mathematical Functions, Characters, And Strings
5. Loops
6. Methods
7. Single-Dimensional Arrays
8. Multidimensional Arrays
9. Objects And Classes
10. Object-Oriented Thinking
11. Inheritance And Polymorphism
12. Exception Handling And Text I/O
13. Abstract Classes And Interfaces
14. Javafx Basics
15. Event-Driven Programming And Animations
16. Javafx Ui Controls And Multimedia
17. Binary I/O
18. Recursion
19. Generics
20. Lists, Stacks, Queues, And Priority Queues
21. Sets And Maps
22. Developing Efficient Algorithms
23. Sorting
24. Implementing Lists, Stacks, Queues, And Priorityqueues
25. Binary Search Trees
26. Avl Trees
27. Hashing
28. Graphs And Applications
29. Weighted Graphs And Applications
30. Aggregate Operations For Collection Streams
Bonus Chapters 3144 Are Available From The Companionwebsite
31. Advanced Javafx And Fxml
32. Multithreading And Parallel Programming
Page 2 of 333
,[Type here]
33. Networking
34. Java Database Programming
35. Advanced Database Programming
36. Internationalization
37. Servlets
38. Javaserver Pages
39. Javaserver Faces
40. Rmi
41. Web Services
42. 2-4 Trees And B-Trees
43. Red-Black Trees
44. Testing Using Junit
Page 3 of 333
,[Type here]
chapter 1 introduction to computers, programs, and java
section 1.2 what is a computer?
1. is the physical aspect of the computer that can be seen.
a. hardware
b. software
c. operating system
d. application program
ANS:a see the first paragraph in section 1.2.
#
section 1.2.1 what is a computer?
2. is the brain of a computer.
a. hardware
b. cpu
c. memory
d. disk
ANS:b see the first paragraph in section 1.2.1.
#
3. the speed of the cpu may be measured in .
a. megabytes
b. gigabytes
c. megahertz
d. gigahertz
ANS:cd see the third paragraph in section 1.2.1. 1 megahertz equals 1 million pulses per second and 1 gigahertz is
1000 megahertz.
#
section 1.2.2 bits and bytes
4. why do computers use zeros and ones?
a. because combinations of zeros and ones can represent any numbers and characters.
b. because digital devices have two stable states and it is natural to use one state for 0 and the other for 1.
c. because binary numbers are simplest.
d. because binary numbers are the bases upon which all other number systems are built.
ANS:b see the second paragraph in section 1.2.2.
#
5. one byte has bits.
a. 4
b. 8
c. 12
d. 16
ANS:b see the thrid paragraph in section 1.2.2.
#
5. one gigabyte is approximately bytes.
a. 1 million
b. 10 million
c. 1 billion
d. 1 trillion
ANS:c see the fifth paragraph in section 1.2.2.
Page 4 of 333