Exam 11: Multiple Classes and Inheritance

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

To ensure that variables declared in a base class may be accessed by its subclasses but not by other classes, the variables should be declared with ____ access.

(Multiple Choice)
4.7/5
(37)

The processing in the ____ tier ensures that valid data is entered into the program for processing in the business tier.

(Multiple Choice)
4.8/5
(34)

A ____ text file can be read into programs such as Microsoft Excel and Microsoft Access to import the data into the application.

(Multiple Choice)
4.9/5
(41)

Case 11-1 Your colleague Jason is trying to clarify the three-tier program structure to you and he thinks that providing some practical examples will make it easier to explain it to you. Jason offers you the example of a form that accepts user input in an application geared to allow a fundraising operation to track the donations it receives. Which of the following tiers contains the data entry form for donations?

(Multiple Choice)
4.8/5
(32)

Variables in a base class that are declared with ____________________ access can be referenced only by subclasses but not by outside classes.

(Short Answer)
4.8/5
(39)

Data that is ____ remains after the program is terminated.

(Multiple Choice)
4.8/5
(32)

When using inheritance, the class that provides attributes to be inherited is called the ____ class.

(Multiple Choice)
4.7/5
(35)

The WriteLine procedure will ____.

(Multiple Choice)
4.8/5
(38)

If the developer writes no code for a class ____, Visual Basic automatically generates any processing that must be accomplished to prepare the object for use.

(Multiple Choice)
4.8/5
(31)

Case 11-1 Your colleague Jason is trying to clarify the three-tier program structure to you and he thinks that providing some practical examples will make it easier to explain it to you. In the same fundraising database, which tier does Jason tell you contains the code that allows you to save donations to permanent storage, or to open a record for a donor listing all of her gifts to the institution?

(Multiple Choice)
4.8/5
(38)

When using inheritance, a subclass cannot use the procedures within the base class.

(True/False)
4.7/5
(34)

When designing a program using the three-tier approach, a primary rule is that classes in the presentation tier can communicate only with classes in the ____ tier.

(Multiple Choice)
4.9/5
(29)

The persistence tier, sometimes called the _________________ tier, contains the classes required to read and write data from permanent storage.

(Short Answer)
4.9/5
(39)

An outside class cannot call an overridable procedure in the subclass.

(True/False)
4.9/5
(43)

The ____ keyword is used to declare a variable that will contain the address of an object created from a class.

(Multiple Choice)
4.8/5
(36)

Which of the following contains the correct code to create and instantiate an object named MyStudent from a class named Student?

(Multiple Choice)
4.9/5
(31)

Whenever inheritance is used, the subclass must fit into a(n) ____________________ relationship with the base class.

(Short Answer)
4.9/5
(38)

Data access tier is another name for the presentation tier. _________________________

(True/False)
4.9/5
(38)

The code in a(n) ____ procedure executes before any other code in an object.

(Multiple Choice)
4.8/5
(38)

When a function name in a subclass is preceded by the ____________________ keyword, the function in the subclass will override a function with the same name in the base class when the function in the subclass is called.

(Short Answer)
4.9/5
(35)
Showing 81 - 100 of 103
close modal

Filters

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