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

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 property is a class member that behaves like a public field.

(True/False)
4.9/5
(40)

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

Filters

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