Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1 2 pts (TCO 3) A solid object-oriented design process includes which o

ID: 3865421 • Letter: Q

Question

Question 1
2 pts
(TCO 3) A solid object-oriented design process includes which of the following?

Gathering user requirements

Doing good analysis

All of the above

Identifying the classes



Question 2
2 pts
(TCO3) Which is not the purpose of a constructor?

To be used upon instantiation

To initialize data variables

To destruct upon termination of program

To run the program



Question 3
2 pts
(TCO3) Which of the following might lead to potential class(es)?

Draw shape

All of the above

None of the above

Fill shape

Shape



Question 4
2 pts
(TCO3) Why do classes need to collaborate with each other?

Classes need to interact with other classes to get something they want most of the time.

Most classes do not exist in isolation.

All of the above

This is where messages between classes apply.



Question 5
2 pts
(TCO 3) Assume you have a Person class with a non-static attribute named age. If you create seven objects of this class, how many copies of the age variable will you have?

None of the above

1

7

An unlimited number



Question 6
2 pts
(TCO3) Which of the following is the right order in the object-oriented design process after we have developed the prototype for the user interface?

Identifying class -> determining the class responsibilities -> determining class interaction -> creating UML diagram

Determining the class responsibilities -> identifying class -> determining class interaction ->
creating UML diagram

Determining the class responsibilities -> determining class interaction -> identifying class ->
creating UML diagram

Creating UML diagram -> identifying class -> determining the class responsibilities -> determining class interaction



Question 7
2 pts
(TCO3) In the object-oriented design process, which of the following is true?

The cost of a requirement/design change in the design phase is very high.

The cost of a design change in the implementation phase is very low.

None of the above

The cost of a design change after the deployment phase is astronomical when compared to the first item.

All of the above



Question 8
2 pts
(TCO3 To ____ an object is to declare or create it.

encapsulate

overload

instantiate

abstract



Question 9
2 pts
(TCO 3) Which of the following is true?
An abstract data type:
I. Captures a data representation;
II. Defines the operations that are allowed on its data;
III. Replaces structured programming

I, II

I, III

II, III

I, II, and III



Question 10
2 pts
(TCO 3) Access specifiers (public and private) can appear _____.

in any order and multiple times if they have brackets separating each type

in any order (public first or private first), but not multiple times

in any order and multiple times

multiple times, but all specifiers of the same type must be grouped together

Explanation / Answer

ANSWERS:

Question 1

(TCO 3) A solid object-oriented design process includes which of the following?

All of the above

Question 2

(TCO3) Which is not the purpose of a constructor?

To destruct upon termination of program

Question 3

(TCO3) Which of the following might lead to potential class(es)?

All of the above

Question 4

(TCO3) Why do classes need to collaborate with each other?

Classes need to interact with other classes to get something they want most of the time.

Most classes do not exist in isolation.

Question 5

(TCO 3) Assume you have a Person class with a non-static attribute named age. If you create seven objects of this class, how many copies of the age variable will you have?

7

Question 6

(TCO3) Which of the following is the right order in the object-oriented design process after we have developed the prototype for the user interface?

Identifying class -> determining the class responsibilities -> determining class interaction -> creating UML diagram

Question 7

(TCO3) In the object-oriented design process, which of the following is true?

The cost of a requirement/design change in the design phase is very high.

The cost of a design change in the implementation phase is very low.

Question 8

(TCO3 To ____ an object is to declare or create it.

instantiate

Question 9

(TCO 3) Which of the following is true?

An abstract data type:

I. Captures a data representation;

II. Defines the operations that are allowed on its data;

III. Replaces structured programming

I, II

Question 10

(TCO 3) Access specifiers (public and private) can appear _____.

in any order and multiple times

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote