Exam 11: Classes and Object-Oriented Programming
Exam 1: Introduction to Computers and Programming35 Questions
Exam 2: Input, Processing, and Output35 Questions
Exam 3: Simple functions34 Questions
Exam 4: Decision Structures and Boolean Logic35 Questions
Exam 5: Repetition Structures35 Questions
Exam 6: Value-Returning functions and Modules35 Questions
Exam 7: files and Exceptions35 Questions
Exam 8: Lists and Tuples35 Questions
Exam 9: More About Strings35 Questions
Exam 10: Dictionaries and Sets35 Questions
Exam 11: Classes and Object-Oriented Programming35 Questions
Exam 12: Inheritance35 Questions
Exam 13: Recursion35 Questions
Exam 14: GUI Programming35 Questions
Select questions type
The instances of a class share the data attributes in the class.
(True/False)
4.9/5
(34)
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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)