Exam 2: Introduction to Visual C#

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

Which one of the following statements correctly display the text "Hello" in a message box?

(Multiple Choice)
4.9/5
(45)

Once a control has been added to a form, it cannot be deleted.

(True/False)
4.8/5
(37)

A control's name should reflect the purpose of the control.

(True/False)
4.8/5
(35)

In C#, the equal sign (=) is known as the ____________.

(Multiple Choice)
4.7/5
(35)

If you wish to create a Click event handler for a control in Visual Studio, it is not necessary to double-click the control in the Designer first.

(True/False)
4.8/5
(36)

When you create Button controls, they are automatically given default names such as button1, button2, and so forth.

(True/False)
4.9/5
(32)

The ____________ naming convention gets its name because the uppercase characters that appear in a name are sometimes reminiscent of a camel's humps.

(Multiple Choice)
4.8/5
(35)

Which one of the following Button control names is a legal C# identifier?

(Multiple Choice)
4.7/5
(36)

When you want to display text on a form but not allow the user to change the text, you use a ____________.

(Multiple Choice)
4.8/5
(31)

Each opening brace ({) of a code container must have a matching closing brace (}) later in the program.

(True/False)
4.8/5
(34)

In C#, string literals must be enclosed in double quotation marks.

(True/False)
4.9/5
(37)

At run time, you should not use the Designer, Toolbox, Properties window, or code editor to modify the program.

(True/False)
4.8/5
(36)

The .NET Framework provides a method named MessageBox.Show that you can use in Visual C# to display a pop-up message box.

(True/False)
4.8/5
(31)

When an event handler is generated for a control by Visual Studio, it doesn't do anything until you add your own code.

(True/False)
4.8/5
(33)

Label controls have a(n) ____________ property that affects the way they can be resized.

(Multiple Choice)
4.8/5
(31)

The Visual Studio ____________ window shows a scrollable list of controls that you can add to a form.

(Multiple Choice)
4.9/5
(42)

A Hello World program is a simple program that merely displays the words "Hello World" on the screen.

(True/False)
4.9/5
(44)

Changing a form's Text property will change the form's name.

(True/False)
4.9/5
(36)

The only way to run a program in Visual Studio is by clicking the Start Debugging button on the toolbar.

(True/False)
4.8/5
(38)

The standard notation for referring to a control's property in code is:

(Multiple Choice)
4.9/5
(34)
Showing 41 - 60 of 131
close modal

Filters

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