Exam 9: Design With Classes
Exam 1: Introduction50 Questions
Exam 2: Software Development Data Types and Expressions50 Questions
Exam 3: Loops and Selection Statements50 Questions
Exam 4: Strings and Text Files50 Questions
Exam 5: Lists and Dictionaries50 Questions
Exam 6: Design With Functions50 Questions
Exam 7: Simple Graphics and Image Processing50 Questions
Exam 8: Graphical User Interrfaces50 Questions
Exam 9: Design With Classes50 Questions
Exam 10: Multithreading Networks and Client Server Programming50 Questions
Exam 11: Searching Sorting and Complexity Analysis51 Questions
Select questions type
Operator overloading is an example of an abstraction mechanism.
Free
(True/False)
4.8/5
(35)
Correct Answer:
True
Most object-oriented languages require the programmer to master the following techniques: data encapsulation, inheritance, and abstraction.
Free
(True/False)
4.9/5
(36)
Correct Answer:
False
You are utilizing the pickle.load function to load objects into a program from a file. However, your program raises an exception as soon as the end of the file is reached. What must you do?
(Multiple Choice)
4.9/5
(35)
How could you overload the addition operator in the Python language?
(Multiple Choice)
4.9/5
(35)
For data that are owned by individual objects, you must use class variables.
(True/False)
4.8/5
(34)
What statement is an accurate description of the concept of polymorphism in object-oriented programming?
(Multiple Choice)
4.9/5
(36)
What concept within object-oriented programming involves the restriction of the manipulation of an object's state by external users to a set of method calls?
(Multiple Choice)
4.8/5
(36)
In general, you should use class variables only for symbolic constants or to maintain data held in common by all objects of a class.
(True/False)
4.9/5
(34)
A class variable is visible to all instances of a class and does not vary from instance to instance.
(True/False)
4.8/5
(46)
What effect does using the model/view pattern of design have?
(Multiple Choice)
4.8/5
(41)
At the top, or root of the class hierarchy is the most abstract class. What is the name of this class?
(Multiple Choice)
4.9/5
(46)
What is the process in which the Python virtual machine recycles its storage known as?
(Multiple Choice)
4.9/5
(34)
It is not usual to bother subclassing unless the two classes share a substantial amount of abstract behavior.
(True/False)
4.8/5
(39)
The function call str(s) is equivalent to the method call s.__str__().
(True/False)
4.8/5
(38)
Although Python is considered an object-oriented language, its syntax does not enforce data encapsulation.
(True/False)
4.9/5
(41)
What can be used to describe and document the analysis and design of complex software systems?
(Multiple Choice)
4.8/5
(36)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)