Exam 12: Object-Oriented Design
Exam 1: Introduction76 Questions
Exam 2: Using Objects82 Questions
Exam 3: Implementing Classes108 Questions
Exam 4: Fundamental Data Types124 Questions
Exam 5: Decisions119 Questions
Exam 6: Loops107 Questions
Exam 7: Arrays and Array Lists117 Questions
Exam 8: Designing Classes88 Questions
Exam 9: Inheritance99 Questions
Exam 10: Interfaces100 Questions
Exam 11: Input/Output and Exception Handling108 Questions
Exam 12: Object-Oriented Design104 Questions
Exam 13: Recursion99 Questions
Exam 14: Sorting and Searching100 Questions
Exam 15: The Java Collections Framework102 Questions
Exam 16: Basic Data Structures102 Questions
Exam 17: Tree Structures102 Questions
Exam 18: Generic Classes75 Questions
Exam 19: Stream Processing85 Questions
Exam 20: Graphical User Interfaces75 Questions
Exam 21: Advanced Input/Output90 Questions
Exam 22: Multithreading81 Questions
Exam 23: Internet Networking74 Questions
Exam 24: Relational Databases75 Questions
Exam 25: XML74 Questions
Select questions type
Which of the following is the most important consideration when designing a class?
(Multiple Choice)
4.8/5
(36)
All smartphones are phones, but not all phones are smartphones.This type of relationship is best described by:
(Multiple Choice)
4.7/5
(50)
Consider the following code snippet:
Which of the following statements correctly describes the relationship between the Motorcycle and Tire classes?

(Multiple Choice)
4.8/5
(38)
Suppose you are developing a payroll application that computes and displays weekly paycheck amounts for various employees.As a result of the design phase, an Employee class is developed.In addition, the Payroll class is designed to store and process information for various employees.Select the code segment that best completes the Payroll class.

(Multiple Choice)
5.0/5
(46)
Why is it generally considered good practice to minimize coupling between classes?
(Multiple Choice)
4.8/5
(40)
When using the CRC method, if you determine that a class cannot carry out a particular task by itself and needs the help of another class to complete the task, you should ____.
(Multiple Choice)
4.8/5
(36)
During the implementation phase, which of the following statements is true?
(Multiple Choice)
4.8/5
(44)
A Quiz class contains an array of Question objects.This is best described as an example of ____.
(Multiple Choice)
4.8/5
(30)
How many responsibilities is/are recommended by researchers on a CRC card?
(Multiple Choice)
4.8/5
(35)
A CashRegister class contains an array list of Coin objects.This is best described as an example of ____.
(Multiple Choice)
4.7/5
(44)
Consider the following code snippet:
This code is best described as an example of ____.

(Multiple Choice)
4.8/5
(37)
Which statement correctly describes the class relationship shown in this diagram?

(Multiple Choice)
4.9/5
(39)
Which of the following can be used to record the behavior of classes?
(Multiple Choice)
4.9/5
(38)
If many classes of a program depend on each other, we say that ____.
(Multiple Choice)
4.7/5
(33)
Suppose you are developing a payroll application that computes and displays weekly paycheck amounts for various employees.As a result of the design phase, the partial Employee class below is developed.Select the method header that best completes the class, according to the method comments.

(Multiple Choice)
4.7/5
(40)
Which statement correctly describes the class relationship shown in this diagram?

(Multiple Choice)
4.9/5
(35)
The final step of the design phase recommended by the textbook is to ____.
(Multiple Choice)
4.9/5
(28)
You have determined the need for a File class and a Folder class in your program.Which of the following would best describe the relationship between these classes?
(Multiple Choice)
4.8/5
(42)
Showing 61 - 80 of 104
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)