Exam 14: Creating Classes and Objects
Exam 1: An Introduction to Visual Basic 201250 Questions
Exam 2: Creating a User Interface50 Questions
Exam 3: Memory Locations and Calculations50 Questions
Exam 4: Making Decisions in a Program50 Questions
Exam 5: More on the Selection Structure50 Questions
Exam 6: Repeating Program Instructions50 Questions
Exam 7: More on the Repetition Structure50 Questions
Exam 8: Sub and Function Procedures50 Questions
Exam 9: Arrays50 Questions
Exam 10: String Manipulation and Menus50 Questions
Exam 11: Structures and Sequential Files50 Questions
Exam 12: Access Databases and Linq50 Questions
Exam 13: Creating Simple Web Applications50 Questions
Exam 14: Creating Classes and Objects50 Questions
Exam 15: an Introduction to Programming17 Questions
Select questions type
A(n) ____ encapsulates all of the attributes and behaviors of the object it instantiates.
Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
D
Match each item with a statement below.
a.Property procedure
f.behavior
b.attribute
g.ReadOnly keyword
c.Set block
h.New keyword
d.Private keyword
i.WriteOnly keyword
e.Get block
-Allows an application to retrieve the contents of the Private variable associated with a property
Free
(Short Answer)
4.9/5
(34)
Correct Answer:
E
Match each item with a statement below.
a.Property procedure
f.behavior
b.attribute
g.ReadOnly keyword
c.Set block
h.New keyword
d.Private keyword
i.WriteOnly keyword
e.Get block
-Characteristic that describes the object
Free
(Short Answer)
4.7/5
(40)
Correct Answer:
B
A(n) ____ can represent something found in real life, such as a wristwatch or a car.
(Multiple Choice)
4.9/5
(34)
Match each item with a statement below.
a.Property procedure
f.behavior
b.attribute
g.ReadOnly keyword
c.Set block
h.New keyword
d.Private keyword
i.WriteOnly keyword
e.Get block
-Includes methods and events
(Short Answer)
4.8/5
(33)
To allow for salaried employees that are paid on a schedule other than the standard, what is the header for the appropriate method to retrieve their gross salary?
(Essay)
4.9/5
(34)
Match each item with a statement below.
a.Property procedure
f.behavior
b.attribute
g.ReadOnly keyword
c.Set block
h.New keyword
d.Private keyword
i.WriteOnly keyword
e.Get block
-Can be used to create a Public property
(Short Answer)
4.8/5
(36)
When a variable in a class is declared using the ____ keyword, it can be accessed by any application that contains an instance of the class.
(Multiple Choice)
4.8/5
(29)
You can write a(n) ____ as either a Function procedure or a Sub procedure.
(Multiple Choice)
4.8/5
(41)
After you define a class, you can then use the class to instantiate one or more ____________________.
(Short Answer)
4.9/5
(37)
Match each item with a statement below.
a.Property procedure
f.behavior
b.attribute
g.ReadOnly keyword
c.Set block
h.New keyword
d.Private keyword
i.WriteOnly keyword
e.Get block
-Allows an application to assign a value to the Private variable associated with a property
(Short Answer)
4.9/5
(35)
____ enable you to specify the property of a class in one line of code.
(Multiple Choice)
4.8/5
(43)
A constructor that has no parameters is called the ____________________ constructor.
(Short Answer)
4.8/5
(32)
An application cannot access the ____________________ variables in a class.
(Short Answer)
4.9/5
(33)
The convention is to use ____ case for the names of the Public variables in a class.
(Multiple Choice)
5.0/5
(42)
Constructors that contain parameters are called ____________________ constructors.
(Short Answer)
4.8/5
(38)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)