Exam 2: Introduction to Visual C#

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

When a method executes, the statements in the method always execute in the order that they appear, from the beginning of the method to the end of the method.

(True/False)
4.8/5
(40)

If you double-click an error message in the Error List window, the code editor will highlight and display the line of code that caused the error.

(True/False)
4.9/5
(40)

When the PictureBox control's SizeMode property is set to AutoSize, the PictureBox control is automatically resized to fit the size of the image being displayed.

(True/False)
4.9/5
(36)

In programming we use the term ____________ to mean a sequence of characters that could be enclosed in quotation marks "…".

(Multiple Choice)
4.7/5
(42)

Each Label control has a ____________ property that allows you to display a rectangle around the control's text.

(Multiple Choice)
4.8/5
(37)

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

(Multiple Choice)
4.7/5
(39)

When a PictureBox control's SizeMode property is set to ____________, the image is uniformly resized to fit the PictureBox without losing its original aspect ratio.

(Multiple Choice)
4.9/5
(34)

When typing a statement in code, press the Tab key on the keyboard to accept suggestions made by the IntelliSense feature of Visual Studio.

(True/False)
4.9/5
(34)

A control's Visible property cannot be modified in code.

(True/False)
4.8/5
(39)

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

(True/False)
4.9/5
(38)

Code containers, such as namespaces, classes, and methods, use ____________ to enclose code.

(Multiple Choice)
4.7/5
(42)

A ____________ is a small pop-up window, also known as a dialog box, that displays a message.

(Multiple Choice)
4.9/5
(32)

In C#, there are three types of comments: line comments, block comments, and compilation comments.

(True/False)
4.7/5
(44)

When you use the Properties window to change a control's Visible property at design time, the control will become invisible in the Designer.

(True/False)
4.8/5
(27)

The PictureBox control's ____________ property determines whether the image stored in the control will cause the control to be shrunk or expanded.

(Multiple Choice)
4.8/5
(37)

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

(True/False)
4.8/5
(46)

To add a control to a form, you find it in the Toolbox and then double-click it.

(True/False)
4.7/5
(39)

A(n) ____________ is a method that executes when a specific event (such as clicking the mouse) takes place while an application is running.

(Multiple Choice)
4.9/5
(35)

To remove a control from a form, you select it and then press the F4 key on the keyboard.

(True/False)
4.8/5
(48)

Which of the following statements would display the number 25 in a Label control named ouputLabel?

(Multiple Choice)
4.9/5
(44)
Showing 101 - 120 of 131
close modal

Filters

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