Exam 9: Classes and Multiform Projects

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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)

The get accessor has an implicit parameter called value.

(True/False)
4.8/5
(45)

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)

Every form in a Visual C# project is defined by a class.

(True/False)
4.8/5
(39)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)