Exam 12: OOP: Creating Object-Oriented Programs
Exam 1: Introduction to Visual Basic 201054 Questions
Exam 2: User Interface Design74 Questions
Exam 3: Variables, Constants, and Calculations58 Questions
Exam 4: Decisions and Conditions51 Questions
Exam 5: Menus, Common Dialog Boxes, Sub Procedures, and Function38 Questions
Exam 6: Multiform Projects69 Questions
Exam 7: Lists, loops, and Printing76 Questions
Exam 8: Arrays and Collections50 Questions
Exam 9: Web Applications66 Questions
Exam 10: Database Applications43 Questions
Exam 11: Data Files43 Questions
Exam 12: OOP: Creating Object-Oriented Programs51 Questions
Exam 13: Graphics, Animation, Sound, and Drag-And-Drop62 Questions
Exam 14: Additional Topics in Visual Basic60 Questions
Select questions type
To accomplish encapsulation,you must declare all variables in a class as Public.
(True/False)
4.7/5
(35)
Which of the following statements about class modules is NOT true?
(Multiple Choice)
4.8/5
(31)
To override a method,you must declare the original method with the _______ keyword and declare the new method with the Overrides keyword.
(Multiple Choice)
4.8/5
(38)
Write the code to create a shared member that will accumulate the total of all sales.
(Short Answer)
5.0/5
(41)
Declaring a variable for a class object sets up the memory location for the new object,but it does not actually create the object.
(True/False)
4.7/5
(42)
A new class is created by choosing Add Module from the Project menu.
(True/False)
4.8/5
(34)
When methods have the same name,but a different list of arguments,it is called _______.
(Multiple Choice)
4.8/5
(36)
When using inheritance,you can call the base class constructor with this code: _______.
(Multiple Choice)
4.9/5
(34)
A big advantage of OOP over traditional programming is _______.
(Multiple Choice)
4.8/5
(41)
Microsoft recommends writing a Finalize procedure,a destructor,when an object goes out of scope.
(True/False)
4.8/5
(29)
When you add a class module to a project,any form in the same project will automatically recognize the class properties,methods,and events.
(True/False)
4.8/5
(33)
The middle tier,the Business tier,can be stored in a location other than where the Presentation tier is stored.
(True/False)
4.7/5
(35)
When you have finished defining a class,you may then create as many instances of the class as you need using the New keyword.
(True/False)
4.9/5
(40)
Write the code for a parameterized constructor that assigns the values to the FirstName and LastName properties in the class.
(Essay)
4.7/5
(44)
In a multitier application,which tier contains the user interface?
(Multiple Choice)
4.9/5
(37)
The Set accessor method in a Property procedure retrieves the value of a property from a class.
(True/False)
4.9/5
(42)
Showing 21 - 40 of 51
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)