Exam 2: Introduction to Visual C#

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

Ending a programming statement with a semicolon is not required in C#.

(True/False)
4.9/5
(75)

If you want your code to execute a method, write a statement known as a(n) ____________.

(Multiple Choice)
4.8/5
(83)

To change the BorderStyle property of a Label control in the Designer, select it in the Properties window and then click the down-arrow button that appears next to the value.

(True/False)
4.8/5
(76)

When a string is written into a program's code, it is called a(n) ____________.

(Multiple Choice)
4.9/5
(85)

Each form and control in an application's GUI is assigned a default name.

(True/False)
4.9/5
(75)

To close an application's form in code, you use the statement ____________.

(Multiple Choice)
4.8/5
(87)

You can use a(n) ____________ control to display a graphic image on a form.

(Multiple Choice)
4.9/5
(70)

Buttons are the only controls that respond to Click events.

(True/False)
4.8/5
(71)

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

(True/False)
4.9/5
(85)

A control's name should never be changed to something other than the default name that Visual Studio gives it.

(True/False)
4.8/5
(81)

C# identifiers can contain spaces after the first character.

(True/False)
5.0/5
(73)

The ____________ directives appearing at the top of a C# source code file indicate which namespaces the program will use. Usually, these namespaces belong to the .NET Framework.

(Multiple Choice)
4.7/5
(86)

Control names are also known as ____________, the same term used for variables in programs.

(Multiple Choice)
4.8/5
(97)

Programmers commonly use ____________ in their code to create a sense of visual organization.

(Multiple Choice)
4.8/5
(86)

____________ allow you to resize a selected object in the Visual Studio Designer by clicking and dragging the mouse when the mouse cursor becomes a two-headed arrow.

(Multiple Choice)
4.8/5
(89)

Which of the following statements would clear the text displayed in a Label control named cityLabel?

(Multiple Choice)
4.9/5
(87)

____________ is the default value of the PictureBox control's SizeMode property.

(Multiple Choice)
4.9/5
(78)

Once you have created a PictureBox control, you use its ____________ property to specify the image it will display.

(Multiple Choice)
4.7/5
(84)

In the Designer, the PictureBox tool is located in the Common Controls group in the Toolbox window.

(True/False)
4.8/5
(82)

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

(True/False)
4.9/5
(87)
Showing 21 - 40 of 131
close modal

Filters

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