Exam 10: Classes and Object Oriented Programming

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

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

Free
(True/False)
4.8/5
(40)
Correct Answer:
Verified

True

A(n) _______________ is code that specifies the data attributes and methods for a particular type of object.

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

class

What is another name for the mutator methods?

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

A

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

(True/False)
4.8/5
(42)

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

(Short Answer)
4.8/5
(39)

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

(Multiple Choice)
4.7/5
(39)

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

(True/False)
4.7/5
(35)

What is the special name given to the method that returns a string containing the object's state?

(Multiple Choice)
4.9/5
(39)

What is another name for the accessor methods?

(Multiple Choice)
4.9/5
(39)

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

(Multiple Choice)
5.0/5
(42)

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

(Multiple Choice)
4.7/5
(34)

A(n) _______________ method in a class initializes an object's data attributes.

(Short Answer)
4.9/5
(46)

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
(27)

What attributes belong to a specific instance of the class?

(Multiple Choice)
4.8/5
(42)

A class might be thought of as a 'blueprint' that an object may be created from.

(True/False)
4.8/5
(31)

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

(Short Answer)
4.7/5
(37)

An object is a stand-alone program but is used by programs that need its service.

(True/False)
4.9/5
(30)

An object's _______________ is simply the values of the object's attributes at any given moment.

(Short Answer)
4.9/5
(36)

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
(35)

In a UML diagram, the middle section holds the list of the class's methods.

(True/False)
4.9/5
(26)
Showing 1 - 20 of 35
close modal

Filters

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