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.8/5
(37)
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
(41)
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
(43)
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
(33)

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

(Short Answer)
4.9/5
(37)

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

(Multiple Choice)
4.9/5
(37)

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

(Multiple Choice)
4.8/5
(32)

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

(True/False)
5.0/5
(36)

What does the acronym UML stand for?

(Multiple Choice)
4.8/5
(35)

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

(Short Answer)
4.9/5
(33)

Accessor methods are also known as

(Multiple Choice)
4.7/5
(34)

What type of programming contains class definitions?

(Multiple Choice)
4.7/5
(35)

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

(Multiple Choice)
4.9/5
(43)

Combining data and code in a single object is known as

(Multiple Choice)
4.8/5
(28)

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

(True/False)
4.8/5
(42)

The procedures that an object performs are called

(Multiple Choice)
4.9/5
(36)

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

(Short Answer)
4.9/5
(39)

Which attributes belong to a specific instance of a class?

(Multiple Choice)
4.9/5
(35)

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

(Multiple Choice)
4.7/5
(43)

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
(34)
Showing 1 - 20 of 38
close modal

Filters

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