Exam 7: Object-Oriented Design
Exam 1: Introduction64 Questions
Exam 2: Data and Expressions67 Questions
Exam 3: Using Classes and Objects49 Questions
Exam 4: Writing Classes53 Questions
Exam 5: Conditionals and Loops38 Questions
Exam 6: More Conditionals and Loops35 Questions
Exam 7: Object-Oriented Design44 Questions
Exam 8: Arrays45 Questions
Exam 9: Inheritance49 Questions
Exam 10: Polymorphism40 Questions
Exam 11: Exceptions39 Questions
Exam 12: Recursion55 Questions
Exam 13: Collections60 Questions
Select questions type
Modifying a program in order to eliminate deficiencies is done in the __________ phase of the development cycle.
Free
(Multiple Choice)
4.9/5
(30)
Correct Answer:
B
An object that refers to part of itself within its own methods can use which of the following reserved words to denote this relationship?
Free
(Multiple Choice)
4.9/5
(34)
Correct Answer:
D
If classes C1 and C2 both implement an interface Cint, which has a method, whichIsIt, and if C1 c = new C1(); is performed at one point of the program, then a later instruction
c.whichIsIt(); will invoke the whichIsIt method defined in C1.
Free
(True/False)
4.9/5
(38)
Correct Answer:
False
Which of the following methods is a static method? The class in which the method is defined is given inside the parentheses following the method name.
(Multiple Choice)
4.9/5
(39)
If a programmer follows the four phases of program development as intended, which of the four phases should require the least amount of creativity?
(Multiple Choice)
4.7/5
(45)
Which of the following would not be considered an algorithm?
(Multiple Choice)
4.9/5
(41)
In which phase of program development would you expect the programmer(s) to determine the classes and objects needed?
(Multiple Choice)
4.8/5
(41)
Once we have implemented the solution, we are not done with the problem because
(Multiple Choice)
4.8/5
(36)
In order to create a constant, you would use which of the following Java words?
(Multiple Choice)
4.7/5
(28)
In what way is black-box testing better than glass-box testing? In what way is glass-box testing better than black-box testing?
(Essay)
4.8/5
(32)
The most important decisions regarding the development of a system are made during the implementation phase while code is actively being written.
(True/False)
4.9/5
(37)
In general, spending more time in development to ensure better software will
(Multiple Choice)
4.9/5
(45)
It is not possible to test out any single method or class of a system until the entire system has been developed, and so all testing is postponed until after the implementation phase.
(True/False)
4.8/5
(41)
In order to implement Comparable in a class, what method(s) must be defined in that class?
(Multiple Choice)
4.8/5
(38)
Unlike the String class where you must pass a message to an object (instance) of the class, in order to use the Math class, you pass messages directly to the class name, as in Math.sqrt().
(True/False)
4.7/5
(38)
The idea of having programmers and developers meet in order to critique a software design or implementation is known as
(Multiple Choice)
4.8/5
(42)
Formal parameters are those that appear in the method call and actual parameters are those that appear in the method header.
(True/False)
4.8/5
(31)
Define an interface class that contains two int constants, X = 5 and Y = 10 and one int method called useXY which receives no parameters. Call your interface class XYClass.
(Essay)
4.8/5
(31)
Showing 1 - 20 of 44
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)