Exam 9: Classes and Multiform Projects
Exam 1: Introduction to Computers and Programming161 Questions
Exam 2: Introduction to Visual C131 Questions
Exam 3: Processing Data174 Questions
Exam 4: Making Decisions77 Questions
Exam 5: Loops, Files, and Random Numbers109 Questions
Exam 6: Modularizing Your Code With Methods61 Questions
Exam 7: Arrays and Lists99 Questions
Exam 8: More About Processing Data87 Questions
Exam 9: Classes and Multiform Projects89 Questions
Exam 10: Inheritance and Polymorphism37 Questions
Exam 11: Databases69 Questions
Select questions type
When you pass an object that is an instance of a class as an argument, the thing that is passed into the parameter variable is a(n) ____________ to the object.
(Multiple Choice)
4.7/5
(44)
When you have multiple forms in a project, you should give each form a meaningful name that describes its purpose.
(True/False)
4.7/5
(30)
Suppose a project has a form named SummaryForm, which one of the following statements creates an instance of the SummaryForm class?
(Multiple Choice)
4.8/5
(31)
When you create an object from a class, you use a reference variable to reference that object.
(True/False)
4.9/5
(34)
The class header defines the class's fields, properties, and methods.
(True/False)
4.8/5
(34)
Creating an instance of a form's class also displays the form on the screen.
(True/False)
4.9/5
(37)
If you wish to remove a form from a project but you do not want to 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
(36)
Which one of the following statements calls the Jump method of the Animal class using a reference variable named fox?
(Multiple Choice)
4.8/5
(39)
You cannot overload methods by giving them different return types.
(True/False)
4.9/5
(28)
Objects that are instances of a class cannot be stored in an array.
(True/False)
4.9/5
(47)
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
(31)
In Visual Studio, you can easily switch your view to another form by double-clicking the form's entry in the ____________ window.
(Multiple Choice)
4.9/5
(38)
When you create an array of a class type, each element of the array is a ____________ variable.
(Multiple Choice)
4.9/5
(32)
A(n) ____________ is a method that is automatically executed when an object is created.
(Multiple Choice)
4.9/5
(29)
When an accessor contains only a single statement, many programmers prefer to write the entire accessor in one line of code.
(True/False)
4.8/5
(37)
Showing 21 - 40 of 89
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)