Exam 2: Introduction to Visual C

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

Writing comments should be avoided, especially for large and complex programs.

(True/False)
4.8/5
(37)

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

(True/False)
4.7/5
(35)

____________ is a feature of Visual Studio that provides automatic code completion as you write programming statements.

(Multiple Choice)
4.8/5
(44)

A line comment does not have to occupy the entire line, so a line comment can appear after an executable statement.

(True/False)
4.9/5
(38)

C# code is organized as namespaces, which are contained inside classes, which are contained inside methods.

(True/False)
4.8/5
(47)

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

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

(True/False)
4.8/5
(42)

C# identifiers can contain spaces after the first character.

(True/False)
4.8/5
(32)

In a C# application, all the buttons on a form must share the same Click event handler in form's source code file.

(True/False)
4.8/5
(39)

A ____________ is a small window, sometimes referred to as a dialog box that displays a message.

(Multiple Choice)
4.9/5
(32)

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

(Multiple Choice)
4.8/5
(38)

To switch between the Designer and the code editor, you simply click the ____________ for the desired window.

(Multiple Choice)
4.9/5
(29)

A(n) ____________ appears on one line in a program and begins with two forward slashes (//).

(Multiple Choice)
4.7/5
(32)

The Program.cs file contains auto-generated code that serves as an outline to which you can add your own code as you develop the application.

(True/False)
5.0/5
(33)

Once you have placed a Label control on a form, you set its Text property to the text that you want to display.

(True/False)
4.9/5
(33)

In code, if you want to clear the text that is displayed in a Label control, simply assign an empty string ("") to the control's Text property.

(True/False)
4.8/5
(31)

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

(Multiple Choice)
4.7/5
(33)

When Button control is created, its Text property is initially set to the same value as the Button control's name.

(True/False)
4.9/5
(33)

When a piece of data is written into a program's code, it is called a ____________.

(Multiple Choice)
4.8/5
(39)

The ____________ file contains code that is associated with the Form1 form.

(Multiple Choice)
4.7/5
(40)
Showing 101 - 120 of 131
close modal

Filters

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