Exam 11: Object-Oriented Programming
Exam 1: An Introduction to Computers and Problem Solving36 Questions
Exam 2: Visual Basic, Controls, and Events61 Questions
Exam 3: Variables, Input, and Output101 Questions
Exam 4: Decisions86 Questions
Exam 5: General Procedures70 Questions
Exam 6: Repetition73 Questions
Exam 7: Arrays87 Questions
Exam 8: Text Files65 Questions
Exam 9: Additional Controls and Objects90 Questions
Exam 10: Databases34 Questions
Exam 11: Object-Oriented Programming66 Questions
Select questions type
Each class has a special method called a constructor that is sometimes invoked when an object is instantiated.
Free
(True/False)
4.8/5
(33)
Correct Answer:
False
Set property procedures are used to assign values to member variables.
Free
(True/False)
4.9/5
(40)
Correct Answer:
True
The principle of "data hiding" is the exact opposite of the concepts that serve as the basis for object-oriented programming.
Free
(True/False)
4.9/5
(41)
Correct Answer:
False
Which of the following is an accurate definition of the term class?
(Multiple Choice)
4.8/5
(35)
Statements of which of the following kind should be placed in the Declarations section of a class code block?
(Multiple Choice)
4.7/5
(37)
Property blocks of code, that are used to access (indirectly) member or instance variables, must always contain both Get and Set property procedures.
(True/False)
4.8/5
(46)
In the following statement, the word Private is used to guarantee that the variable cannot be accessed directly from outside the object.
(True/False)
4.8/5
(28)
Which one of the following statements does NOT apply to object-oriented programming?
(Multiple Choice)
4.9/5
(38)
If member variables are declared as Private, they cannot be accessed directly from outside an object.
(True/False)
4.8/5
(36)
The statement for raising a user-defined event is located in the class block of code and the event is dealt with in the form's code.
(True/False)
4.7/5
(43)
A line of code that contains arguments and instantiates an object passes the value of these arguments to the object's New procedure.
(True/False)
4.9/5
(40)
An object is an encapsulation of data and procedures that act on that data.
(True/False)
4.8/5
(38)
Get property procedures are used to retrieve values of member variables.
(True/False)
4.8/5
(44)
The lines of code used to create an instance of a class cannot be used inside of a procedure.
(True/False)
4.8/5
(33)
The feature that two classes can have methods with different names but that have the same purpose (and essentially the same implementation), is known as polymorphism.
(True/False)
4.7/5
(40)
The New event procedure is automatically invoked when an object is instantiated.
(True/False)
4.7/5
(45)
Showing 1 - 20 of 66
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)