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
If two methods have the same names and parameter lists, you cannot overload them by just giving them different return types.
(True/False)
4.8/5
(36)
All of the nouns that appear in the problem description should become classes.
(True/False)
4.8/5
(48)
A ____________ allows the user to switch focus to another form while it is displayed.
(Multiple Choice)
4.9/5
(37)
Each of the ____________ in the description of a problem domain is a potential class.
(Multiple Choice)
4.8/5
(45)
The ____________ displays a form on the screen, and it gives that form the focus.
(Multiple Choice)
4.7/5
(36)
When you create an array of a class type, each element of the array is a ____________ variable.
(Multiple Choice)
4.7/5
(33)
When you create an array of a class type, each element of the array will be initialized with the value ____________ by default.
(Multiple Choice)
4.8/5
(41)
Because classes are reference types, objects that are instances of a class are always passed by reference.
(True/False)
4.8/5
(41)
You can use the tabs appearing at the top of the Designer window to select different forms or their code to be displayed in the window.
(True/False)
4.8/5
(34)
A(n) ____________ is a class constructor that accepts no arguments.
(Multiple Choice)
4.9/5
(37)
The class header defines a class's fields, properties, and methods.
(True/False)
4.8/5
(32)
When adding a new class file to a Visual C# project, be sure that the filename ends with the ____________ extension.
(Multiple Choice)
4.8/5
(35)
To make a property read only, omit the set accessor for the property.
(True/False)
4.8/5
(29)
The compiler uses a method's ____________ to distinguish it from other methods of the same name.
(Multiple Choice)
4.7/5
(39)
Some programmers begin the names of backing fields with an underscore to eliminate confusion between the field name and the property name.
(True/False)
4.8/5
(35)
Writing each class in its own separate file makes your code more organized and helps keep your source code files to a manageable size.
(True/False)
4.9/5
(40)
To add an object of a class to a List, you use the ____________ method.
(Multiple Choice)
4.7/5
(43)
Suppose a project has a form named SummaryForm. Which one of the following statements creates an instance of the SummaryForm class and assigns it to a variable?
(Multiple Choice)
4.8/5
(32)
Showing 41 - 60 of 89
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)