Exam 11: Classes and Object-Oriented Programming

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

The instances of a class share the data attributes in the class.

(True/False)
4.9/5
(34)

What does the acronym UML stand for?

(Multiple Choice)
4.8/5
(39)

What is another name for the mutator methods?

(Multiple Choice)
4.9/5
(41)

What attributes belong to a specific instance of the class?

(Multiple Choice)
4.9/5
(38)

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

(Short Answer)
5.0/5
(34)

The self parameter is required in every method of a class.

(True/False)
4.9/5
(32)

A class definition is stored in the library so that it can be imported into any program.

(True/False)
4.8/5
(39)

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.7/5
(34)

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

(True/False)
4.8/5
(35)

What is the combining of data and code in a single object known as?

(Multiple Choice)
4.9/5
(49)

What are the procedures that an object performs called?

(Multiple Choice)
4.8/5
(33)

Which method is automatically executed when an instance of the class is created in memory?

(Multiple Choice)
4.9/5
(39)

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

(Multiple Choice)
4.8/5
(35)

In _______________ programming, the programming is centered on objects that are created from abstract data types that encapsulate data and functions together.

(Short Answer)
4.9/5
(36)

What type of method provides a safe way for code outside a class to retrieve the values of attributes, without exposing the attributes in a way that they could be changed by the code outside the method?

(Multiple Choice)
4.8/5
(39)
Showing 21 - 35 of 35
close modal

Filters

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