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
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
(37)
The ____________ is the set of real-world objects, parties, and major events related to the problem.
(Multiple Choice)
5.0/5
(40)
When a class contains a method that uses the public access modifier, the method can be called from code outside the class.
(True/False)
4.8/5
(37)
If you try to pass a property to a ref or an out parameter, an error occurs.
(True/False)
4.9/5
(38)
Once a form has been created, it cannot be removed from a Visual Studio project.
(True/False)
4.9/5
(32)
When you pass a property as an argument to a method, there is one restriction: Properties can only be passed ____________.
(Multiple Choice)
4.8/5
(24)
When an accessor contains only a single return statement, many programmers prefer to write the entire accessor in one line of code.
(True/False)
4.8/5
(30)
A class's ____________ are statements that define the class's fields, properties, and methods.
(Multiple Choice)
4.8/5
(41)
A ____________ is a special type of class member that allows an object to store and retrieve a piece of data.
(Multiple Choice)
4.7/5
(29)
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
(29)
When a method is ____________, it means that multiple methods in the same class have the same name but use different types of parameters.
(Multiple Choice)
4.8/5
(34)
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)
When you want to create a List object, you follow List with the name of a class inside angled brackets, and it specifies that the List can hold only objects of that class type.
(True/False)
4.9/5
(31)
In a property definition, the ____________ is automatically created by the compiler, and its data type is the same as that of the property.
(Multiple Choice)
4.8/5
(35)
The ____________ is a method that returns the property's value.
(Multiple Choice)
4.8/5
(35)
Each object created from a class is called a(n) ____________ of the class.
(Multiple Choice)
4.9/5
(43)
Showing 61 - 80 of 89
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)