Exam 9: Classes and Multiform Projects
Exam 1: Introduction to Computers and Programming161 Questions
Exam 2: Introduction to Visual C#131 Questions
Exam 3: Processing Data176 Questions
Exam 4: Making Decisions78 Questions
Exam 5: Loops, Files, and Random Numbers112 Questions
Exam 6: Modularizing Your Code with Methods69 Questions
Exam 7: Arrays and Lists99 Questions
Exam 8: More About Processing Data90 Questions
Exam 9: Classes and Multiform Projects89 Questions
Exam 10: Inheritance and Polymorphism37 Questions
Exam 11: Databases69 Questions
Select questions type
In Visual Studio, you can easily switch your view to another form by double-clicking the form's entry in the ____________ window.
(Multiple Choice)
5.0/5
(40)
A(n) ____________ is a method that is automatically executed when an object is created.
(Multiple Choice)
4.9/5
(51)
Class fields are almost always declared private in order to protect them from accidental corruption.
(True/False)
4.8/5
(32)
By using the ____________ access modifier, a class can hide its data from code outside the class.
(Multiple Choice)
4.9/5
(36)
When you have identified the information that a class is responsible for knowing, then you have identified the class's ____________.
(Multiple Choice)
4.9/5
(41)
When a class's fields are hidden from outside code, its data is vulnerable to accidental corruption.
(True/False)
4.8/5
(32)
Constructors cannot be overloaded, which means a class can have only one constructor.
(True/False)
4.8/5
(27)
If you were developing an application for a local zoo, which one of the following nouns would not apply to the animal class?
(Multiple Choice)
4.9/5
(44)
Once you have added a form to a project, you can place any controls on it and write the necessary event handlers for the controls.
(True/False)
4.7/5
(39)
Which one of the following statements declares a variable named fox that references an instance of the Animal class?
(Multiple Choice)
4.8/5
(34)
When you call a method and pass a class instance as an argument, the parameter variable becomes a(n) ____________ to the object.
(Multiple Choice)
4.7/5
(44)
When designing a class, you should take care that all data is stored in a field, especially any calculated data.
(True/False)
4.8/5
(44)
In your application's code, the first step in displaying a form is to create an instance of the form's class.
(True/False)
4.9/5
(36)
When a field's value is dependent on other data and the field is not updated when its related data changes, we say the field has become ____________.
(Multiple Choice)
4.9/5
(34)
Objects that are instances of a class cannot be stored in an array.
(True/False)
4.8/5
(28)
Once the classes have been identified in a problem description, the next task is to identify each class's responsibilities.
(True/False)
4.8/5
(43)
The process of matching a method call with the correct version of a method is known as ____________.
(Multiple Choice)
4.8/5
(37)
When you have identified the actions that a class is responsible for doing, you have identified its ____________.
(Multiple Choice)
4.9/5
(42)
Showing 21 - 40 of 89
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)