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
The name of a class's constructor is the same as the name of the class.
Free
(True/False)
4.7/5
(34)
Correct Answer:
True
Creating an instance of a form's class also displays the form on the screen.
Free
(True/False)
4.8/5
(45)
Correct Answer:
False
Constructors cannot accept arguments in the same way as other methods.
Free
(True/False)
4.9/5
(38)
Correct Answer:
False
An error will occur if you to try to assign a value to a read-only property.
(True/False)
4.9/5
(39)
If you write a class with no constructor whatsoever, the compiler provides a(n) ____________.
(Multiple Choice)
4.9/5
(37)
A class's constructor must always use the private access modifier.
(True/False)
4.9/5
(40)
A constructor that accepts arguments is known as a(n) ____________.
(Multiple Choice)
4.7/5
(34)
When a ____________ is displayed, no other form in the application can receive the focus until the form is closed.
(Multiple Choice)
4.9/5
(40)
A special set of methods, known as ____________ work in conjunction with a private field.
(Multiple Choice)
4.7/5
(34)
To add a new form to a project, first click ____________ on the Visual Studio menu bar, and then select Add Windows Form... from the Project menu.
(Multiple Choice)
4.8/5
(38)
If you want to show a form in modeless fashion, call its ____________.
(Multiple Choice)
4.8/5
(42)
To make a property read only, omit the get accessor for the property.
(True/False)
4.9/5
(48)
When you create an object from a class, you use a reference variable to reference that object.
(True/False)
4.7/5
(38)
The private field, which is known as the property's ____________, holds any data that is assigned to the property.
(Multiple Choice)
4.9/5
(44)
Designing an object-oriented application is an iterative process.
(True/False)
4.9/5
(44)
When a value is assigned to a property, the property's ____________ is executed, and the value being assigned is contained in the value parameter.
(Multiple Choice)
4.8/5
(36)
If you wish to remove a form from a project and delete its file from the disk, first right-click on the form's entry in the Solution Explorer window, and on the pop-up menu, click ____________.
(Multiple Choice)
4.9/5
(38)
When working with multiple forms, use the ____________ to change the name of the Form1.cs file to something more meaningful.
(Multiple Choice)
4.8/5
(38)
Showing 1 - 20 of 89
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)