Exam 12: OOP: Creating Object-Oriented Programs

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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)

Which of the following is NOT true?

(Multiple Choice)
4.9/5
(36)

A constructor that requires arguments is called _______.

(Multiple Choice)
4.8/5
(38)

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)

Which of the following is NOT true?

(Multiple Choice)
4.9/5
(31)

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)

Objects have properties and methods.

(True/False)
4.9/5
(33)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)