Exam 10: Classes and Object-Oriented Programming

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

Which section in the UML holds the list of the class's methods?

Free
(Multiple Choice)
4.9/5
(80)
Correct Answer:
Verified

C

A mutator method has no control over the way that a class's data attributes are modified.

Free
(True/False)
4.9/5
(83)
Correct Answer:
Verified

False

The instance attributes are created by the __________ parameter and they belong to a specific instance of the class.

Free
(Short Answer)
4.7/5
(84)
Correct Answer:
Verified

self

All class definitions are stored in the library so that they can be imported into any program.

(True/False)
4.8/5
(76)

A method that returns a value from a class's attribute but does not change it is known as a(n)__________ method.

(Short Answer)
5.0/5
(76)

Which is the first line needed when creating a class named Worker?

(Multiple Choice)
4.9/5
(83)

When an object is passed as an argument,__________ is passed into the parameter variable.

(Multiple Choice)
4.7/5
(78)

A class can be thought of as a blueprint that can be used to create an object.

(True/False)
5.0/5
(75)

What does the acronym UML stand for?

(Multiple Choice)
4.9/5
(77)

Each object that is created from a class is called a(n)__________ of the class.

(Short Answer)
4.9/5
(73)

Accessor methods are also known as

(Multiple Choice)
4.8/5
(74)

What type of programming contains class definitions?

(Multiple Choice)
4.8/5
(79)

Which of the following will create an object,worker_joey,of the Worker class?

(Multiple Choice)
4.9/5
(76)

Combining data and code in a single object is known as

(Multiple Choice)
4.8/5
(67)

Procedures operate on data items that are separate from the procedures.

(True/False)
4.8/5
(80)

The procedures that an object performs are called

(Multiple Choice)
4.9/5
(85)

___________ provides a set of standard diagrams for graphically depicting object-oriented systems.

(Short Answer)
4.9/5
(90)

Which attributes belong to a specific instance of a class?

(Multiple Choice)
4.9/5
(83)

Which section in the UML holds the list of the class's data attributes?

(Multiple Choice)
4.7/5
(92)

The self parameter need not be named self but it is strongly recommended to do so,to conform with standard practice.

(True/False)
4.9/5
(78)
Showing 1 - 20 of 38
close modal

Filters

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