Exam 11: Multiple Classes and Inheritance

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

A(n) ____________________ can be used to write a stream of text to a file.

Free
(Short Answer)
4.7/5
(44)
Correct Answer:
Verified

StreamWriter

In a three-tier architecture, the classes in the ____ tier generally use data entered by users and data obtained from storage.

Free
(Multiple Choice)
4.7/5
(40)
Correct Answer:
Verified

D

A variable that is declared with ____________________ access cannot be referenced by coding in any other class within the program.

Free
(Short Answer)
4.7/5
(34)
Correct Answer:
Verified

Private

The SelectedIndex property of a ComboBox object will contain the value ____ if a selection has been made.

(Multiple Choice)
4.8/5
(44)

The Visual Basic statement "Dim objStudent As Student" will create and instantiate an object.

(True/False)
4.9/5
(38)

A constructor procedure is identified by the keyword ____.

(Multiple Choice)
4.8/5
(40)

When a program becomes large and complex, the necessary process is often divided into _______.

(Multiple Choice)
4.8/5
(41)

Case 11-2 Inheritance can be a tricky concept to understand, so you are working with your classmates to come up with some ways to remember how it works. Given a class called Student (to represent students at a university), which of the following is likely to be an attribute contained in that class that can be inherited by the members of a subclass called OnCampusStudent?

(Multiple Choice)
4.8/5
(41)

The ____ statement can be used to instantiate an object from a class.

(Multiple Choice)
4.8/5
(29)

Generally, when using multiple classes within a program, variables in a class should not be available to code within other classes within the program.

(True/False)
4.8/5
(27)

The ____ prepares an object for use in the program.

(Multiple Choice)
4.9/5
(41)

The ____ tier is also called the data access tier in a three-tier architecture.

(Multiple Choice)
5.0/5
(44)

To determine if a selection was made in a combo box, the value of the ____________________ property should be tested.

(Short Answer)
4.9/5
(40)

The ____________________ property is used to specify the sequence of objects on a Windows form that will be selected when the Tab key is pressed.

(Short Answer)
4.9/5
(43)

When using inheritance, the subclass can use the procedures within the base class as well as its variables.

(True/False)
4.9/5
(35)

When a subclass is instantiated, only the subclass's constructor is executed.

(True/False)
4.8/5
(40)

Statements outside a base class and its subclasses can reference variables declared in the base class with Protected access.

(True/False)
4.8/5
(39)

Case 11-2 Inheritance can be a tricky concept to understand, so you are working with your classmates to come up with some ways to remember how it works. Which of the following is NOT an example of a valid base class-subclass relationship that you and your classmates can study as a model?

(Multiple Choice)
4.8/5
(29)

In a ComboBox object, the SelectedIndex property will contain a value of ____ if no selection has been made.

(Multiple Choice)
4.7/5
(38)

In a three-tier architecture, the business classes should not be concerned with the functionality of the user interface.

(True/False)
4.8/5
(51)
Showing 1 - 20 of 103
close modal

Filters

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