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
In inheritance, the keyword Overridable is used to designate the parent's methods that may be overridden by its children.
(True/False)
4.9/5
(26)
A good rule of thumb for object-oriented programming is that classes are the verbs in your analysis of the problem.
(True/False)
4.9/5
(37)
The keyword WithEvents is inserted into the standard declaration statement for instantiation of a class to allow the instance to respond to an event.
(True/False)
4.9/5
(37)
Which of the following terms does not describe a relationship between classes?
(Multiple Choice)
5.0/5
(33)
The constructor method requires at least one argument, and the code inside the procedure block performs any tasks needed for initializing an object.
(True/False)
5.0/5
(38)
The programmer needs to be able to identify useful hierarchies of classes and derived classes in working with object-oriented programming.
(True/False)
5.0/5
(36)
Inheritance is the process by which the parent or base class inherits the properties, methods, and events of the child or derived class.
(True/False)
4.9/5
(38)
In the hierarchy chart shown below, GrandChild1 has access to each of the following items (as a result of inheritance), except one. Which of the following is GrandChild1 NOT able to access? 

(Multiple Choice)
4.8/5
(37)
A class specifies the properties and methods that will be common to all objects that are instances of that class.
(True/False)
4.7/5
(41)
A line of code of the form Dim objectName As New className(arg1, arg2, ...) is used to instantiate an object variable or instance of an object.
(True/False)
4.8/5
(39)
In the following code block, which of the following represents the line of code that assigns the value of the Name property?
Class Student
Private m_name As String
Public Property Name As String
Get
Return m_name
End Get
Set(Value As String)
m_name = Value
End Set
End Property
End Class
(Multiple Choice)
4.9/5
(48)
The header for an event procedure for an instance of a class will be of the following type:
(True/False)
5.0/5
(24)
Statements of which of the following kind should be placed at locations in the class block code at which the event should be raised?
(Multiple Choice)
4.9/5
(39)
In inheritance, the keyword Overrides is used to designate the parent's methods that are overridden by its children.
(True/False)
4.8/5
(30)
Which of the following is an example of an array declaration whose data type is a user-defined object?
(Multiple Choice)
4.8/5
(30)
Showing 41 - 60 of 66
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)