Exam 7: Object-Oriented Design

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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:
Verified

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:
Verified

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:
Verified

False

During program development, software requirements specify

(Multiple Choice)
4.7/5
(37)

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)

Provide a reason why a method would be declared static.

(Essay)
4.8/5
(42)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)