Exam 10: Classes and Object Oriented Programming

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

When a method is called, what does Python make to reference the specific object on which the method is supposed to operate?

(Multiple Choice)
4.9/5
(35)

What type of programming contains class definitions?

(Multiple Choice)
4.8/5
(33)

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

(True/False)
4.7/5
(45)

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

(Short Answer)
5.0/5
(35)

What does the acronym UML stand for?

(Multiple Choice)
4.9/5
(40)

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

A(n) _____ is a set of real-world objects, parties, and major events related to the problem.

(Multiple Choice)
4.9/5
(36)

What is, conceptually, a self-contained unit that consists of data attributes and methods that operate on the data attributes?

(Multiple Choice)
4.8/5
(38)

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

(True/False)
4.9/5
(34)

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

(True/False)
4.9/5
(38)

Object-oriented programming allows us to hide the object's data attributes from code that is outside the object.

(True/False)
4.8/5
(35)

A class _______________ is a set of statements that define a class's methods and data attributes.

(Short Answer)
4.8/5
(44)

_______________ programming is a method of writing software that centers on the actions that take place in a program.

(Short Answer)
4.8/5
(39)

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

(Multiple Choice)
4.8/5
(48)

What are the procedures that an object performs called?

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