Exam 9: Classes and Multiform Projects

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

A form can be both modal and modeless.

(True/False)
4.8/5
(86)

If two methods have the same names and parameter lists, you cannot overload them by just giving them different return types.

(True/False)
4.7/5
(71)

All of the nouns that appear in the problem description should become classes.

(True/False)
4.8/5
(85)

A ____________ allows the user to switch focus to another form while it is displayed.

(Multiple Choice)
4.9/5
(82)

Each of the ____________ in the description of a problem domain is a potential class.

(Multiple Choice)
4.8/5
(83)

The ____________ displays a form on the screen, and it gives that form the focus.

(Multiple Choice)
4.8/5
(70)

When you create an array of a class type, each element of the array is a ____________ variable.

(Multiple Choice)
4.8/5
(68)

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
(82)

Because classes are reference types, objects that are instances of a class are always passed by reference.

(True/False)
4.9/5
(85)

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
(72)

A property is a class member that behaves like a public field.

(True/False)
5.0/5
(84)

A(n) ____________ is a class constructor that accepts no arguments.

(Multiple Choice)
5.0/5
(77)

The class header defines a class's fields, properties, and methods.

(True/False)
4.8/5
(78)

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
(71)

To make a property read only, omit the set accessor for the property.

(True/False)
4.8/5
(62)

The compiler uses a method's ____________ to distinguish it from other methods of the same name.

(Multiple Choice)
4.7/5
(86)

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.9/5
(75)

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
(72)

To add an object of a class to a List, you use the ____________ method.

(Multiple Choice)
4.8/5
(91)

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.9/5
(74)
Showing 41 - 60 of 89
close modal

Filters

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