Filters
Question type

Study Flashcards

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


A) Line comments
B) Block comments
C) Documentation comments
D) Embedded comments

E) A) and D)
F) B) and D)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) Delete
B) Z
C) Tab
D) X

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

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


A) FixedSingle
B) None
C) Fixed3D
D) FixedDouble

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) TextPosition
B) DisplayFont
C) TextAlign
D) HorizontalAlign

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

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


A) method
B) program
C) namespace
D) list

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

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


A) event
B) namespace
C) queue
D) class

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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) .


A) line comment
B) block comment
C) short comment
D) documentation comment

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

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


A) Simple
B) Hello World
C) Pseudocode
D) K&R Style

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) Text
B) Name
C) Description
D) Face

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) Designer
B) Editing
C) Object
D) Properties

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

Showing 61 - 80 of 131

Related Exams

Show Answer