Exam 11: Multiple Classes and Inheritance
Exam 1: Introduction to Visual Basic 2012 Programming112 Questions
Exam 2: Program and Graphical User Interface Design112 Questions
Exam 3: Program Design and Coding112 Questions
Exam 4: Variables and Arithmetic Operations112 Questions
Exam 5: Decision Structures112 Questions
Exam 6: Loop Structures112 Questions
Exam 7: Using Procedures and Exception Handling112 Questions
Exam 8: Using Arrays and File Handling112 Questions
Exam 9: Creating Web Applications112 Questions
Exam 10: Incorporating Databases with ADO.NET112 Questions
Exam 11: Multiple Classes and Inheritance112 Questions
Exam 12: Windows Store Apps112 Questions
Select questions type
Data access tier is another name for the presentation tier._________________________
Free
(True/False)
4.9/5
(31)
Correct Answer:
False
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.
Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
A
In a three-tier architecture,user interface classes should not be concerned with how the data is manipulated by the business classes.
Free
(True/False)
4.8/5
(38)
Correct Answer:
True
CASE
Critical Thinking Questions
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
(32)
In a three-tier architecture,only the persistence classes will actually ____ data.
(Multiple Choice)
4.7/5
(28)
The ____ property should be tested to ensure that a masked textbox contains characters for the entire mask area.
(Multiple Choice)
4.8/5
(42)
A subclass is always in a "has-a" relationship with the base class._________________________
(True/False)
4.9/5
(38)
MATCHING
Identify the letter of the choice that best matches the phrase or definition.
-Variables declared in a base class are available for use in a subclass through this
(Multiple Choice)
4.8/5
(32)
The presentation tier of the three-tier structure consists of one or more forms and the objects placed on the forms.
(True/False)
4.7/5
(36)
When a subclass is instantiated,only the subclass's constructor is executed.
(True/False)
4.8/5
(37)
Variables in a base class that are declared with ____________________ access can be referenced only by subclasses but not by outside classes.
(Short Answer)
4.9/5
(37)
A(n)____________________ object can be used to write a stream of text to a file.
(Short Answer)
4.9/5
(35)
MATCHING
Identify the letter of the choice that best matches the phrase or definition.
-A benefit of using these is that the variables defined in one can be hidden from processing in others
(Multiple Choice)
4.9/5
(50)
The persistence tier,sometimes called the _________________ tier,contains the classes required to read and write data from permanent storage.
(Short Answer)
4.9/5
(26)
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
(33)
When a class is instantiated into an object,a special procedure in the instantiated class called a(n)____________________ is executed.
(Short Answer)
5.0/5
(32)
____ is the concept of separating processing and hiding data within specific classes.
(Multiple Choice)
4.9/5
(28)
To determine if a selection was made in a combo box,the value of the ____________________ property should be tested.
(Short Answer)
4.9/5
(32)
When an object requires data when it is instantiated,the data can be passed as part of the ____ code.
(Multiple Choice)
4.9/5
(36)
Showing 1 - 20 of 112
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)