Exam 11: Multiple Classes and Inheritance
Exam 1: Introduction to Visual Basic 2015 Programming111 Questions
Exam 2: Program and Graphical User Interface Design112 Questions
Exam 3: Program Design and Coding110 Questions
Exam 4: Variables and Arithmetic Operations111 Questions
Exam 5: Decision Structures111 Questions
Exam 6: Loop Structures112 Questions
Exam 7: Using Procedures and Exception Handling112 Questions
Exam 8: Using Arrays and File Handling110 Questions
Exam 9: Creating Web Applications111 Questions
Exam 10: Incorporating Databases With Adonet111 Questions
Exam 11: Multiple Classes and Inheritance112 Questions
Exam 12: Windows Store Apps111 Questions
Select questions type
A comma separates each field in a record in a comma-____ file.
Free
(Multiple Choice)
4.7/5
(32)
Correct Answer:
C
When an object requires data when it is instantiated,the data can be passed as part of the ____ code.
Free
(Multiple Choice)
4.9/5
(33)
Correct Answer:
C
When a class is ____ into an object using the New keyword,a special procedure called a constructor is executed in the class.
Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
C
In a ComboBox object,the SelectedIndex property will contain a value of ____ if no selection has been made.
(Multiple Choice)
4.8/5
(23)
The SelectedIndex property of a ComboBox object will contain the value ____ if a selection has been made.
(Multiple Choice)
4.9/5
(30)
-A(n)____________________ object can be used to write a stream of text to a file.

(Essay)
4.8/5
(37)
-When a class is instantiated into an object,a special procedure in the instantiated class called a(n)____________________ is executed.

(Essay)
5.0/5
(30)
The Visual Basic statement "Dim objStudent As Student" will create and instantiate an object.
(True/False)
4.8/5
(34)
-The ____________________ procedure is used to close a StreamWriter file.

(Essay)
4.9/5
(38)
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
(34)
Identify the letter of the choice that best matches the phrase or definition.
a.classes
b.TabIndex
c.encapsulation
d.SelectedIndex
e.subclass
f.Overridable
g.object
h.three-tier
i.StreamWriter
j.inheritance
REFERENCES:
754
755
755
755
759
765
765
749
770
776
-A benefit of using these is that the variables defined in one can be hidden from processing in others
(Essay)
4.9/5
(32)
-____________________ allows one class to inherit attributes and procedures from another class.

(Essay)
4.9/5
(27)
In a three-tier architecture,only the persistence classes will actually ____ data.
(Multiple Choice)
4.8/5
(21)
Identify the letter of the choice that best matches the phrase or definition.
a.classes
b.TabIndex
c.encapsulation
d.SelectedIndex
e.subclass
f.Overridable
g.object
h.three-tier
i.StreamWriter
j.inheritance
REFERENCES:
754
755
755
755
759
765
765
749
770
776
-A major contributor to reliable and robust programs
(Essay)
4.9/5
(32)
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
(35)
A subclass is always in a "has-a" relationship with the base class._________________________
(True/False)
4.9/5
(30)
-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.

(Essay)
4.7/5
(33)
The ____ statement can be used to instantiate an object from a class.
(Multiple Choice)
4.9/5
(35)
What is the relationship into which a subclass must fit whenever inheritance is used? Provide at least three examples that illustrate this relationship.
(Essay)
4.7/5
(43)
When using inheritance,the class that provides attributes to be inherited is called the ____ class.
(Multiple Choice)
4.9/5
(39)
Showing 1 - 20 of 112
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)