Exam 2: Introduction to Visual C#

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

Programmers refer to the act of executing a method as calling the method.

(True/False)
4.8/5
(37)

When you write the values true or false in code, they must be written in all lowercase letters.

(True/False)
4.9/5
(38)

A(n) ____________ can occupy multiple consecutive lines in a program. It starts with /* (a forward slash followed by an asterisk), and ends with */ (an asterisk followed by a forward slash).

(Multiple Choice)
4.9/5
(34)

Which one of the following is not a valid setting for a Label control's BorderStyle property?

(Multiple Choice)
4.9/5
(38)

PictureBox controls have a BorderStyle property, but it does not work like a Label control's BorderStyle property.

(True/False)
4.9/5
(35)

It is important that you do not modify the contents of the Form1.cs file because doing so will prevent the application from executing.

(True/False)
4.8/5
(40)

C# code is primarily organized in three ways: namespaces, classes, and methods.

(True/False)
4.9/5
(41)

A Button control has a ____________ property that holds a string to be displayed on the face of the button.

(Multiple Choice)
4.9/5
(29)

When you select an object in the Visual Studio Designer, the object's size, color, text, and other characteristics are displayed in the ____________ window.

(Multiple Choice)
4.9/5
(35)

When learning computer programming, it is traditional to start by learning to write a ____________ program.

(Multiple Choice)
4.8/5
(27)

To delete a control, you can select it on a form and then press the ____________ key on the keyboard.

(Multiple Choice)
4.9/5
(36)

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

(True/False)
4.8/5
(28)

The appearance and other characteristics of a GUI object are determined by the object's properties.

(True/False)
4.9/5
(34)

C# source code files always end with the .cs extension.

(True/False)
4.9/5
(42)

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

(True/False)
5.0/5
(42)

____________ are used by professional programmers to embed extensive documentation in a program' source code.

(Multiple Choice)
4.8/5
(35)

A ____________ is a declared block in a program between braces {…} that holds classes.

(Multiple Choice)
4.8/5
(40)

A Label control's ____________ property can be used to change the alignment of text within the Label.

(Multiple Choice)
4.8/5
(37)

A Label control's BorderStyle property is set to FixedSingle by default.

(True/False)
4.7/5
(41)

A(n) ____________ is a logical container in a program that holds methods (as well as other program elements).

(Multiple Choice)
4.8/5
(32)
Showing 61 - 80 of 131
close modal

Filters

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