Filters
Question type

Study Flashcards

Which one of the following statements would correctly display the text "Hello" in a message box?


A) Messagebox("Hello")
B) MessageBox.Show("Hello") ;
C) msgbox(Hello) ;
D) msgbox.show(Hello)

E) None of the above
F) All of the above

Correct Answer

verifed

verified

When you enter a statement into the code editor, Visual Studio analyzes it, and if a syntax error is found, it is ____________.


A) automatically corrected
B) underlined with a jagged line
C) crossed out
D) highlighted

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

Correct Answer

verifed

verified

Most controls have a(n) ____________ property that determines whether the control is visible on the form at run time.


A) Enabled
B) Invisible
C) Show
D) Visible

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

Correct Answer

verifed

verified

A ____________ property can be set to one of two possible values:.


A) Boolean
B) Binary
C) Singular
D) Toggle

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

Correct Answer

verifed

verified

The assignment operator assigns the value that appears on its left side to the item that appears on its right side.

A) True
B) False

Correct Answer

verifed

verified

A Label control's ____________ property can be used to align the text differently within the label.


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

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

Correct Answer

verifed

verified

The properties in the Properties window are displayed alphabetically by default.

A) True
B) False

Correct Answer

verifed

verified

Deleting a control is simple: you select it and then press the F4 key on the keyboard.

A) True
B) False

Correct Answer

verifed

verified

To run an application in Visual Studio, press the ____________ button on the keyboard or click the Start Debugging button on the toolbar.


A) Enter
B) F5
C) Tab
D) Shift

E) None of the above
F) All of the above

Correct Answer

verifed

verified

The ____________ shows a scrollable list of controls that you can add to a form.


A) Collection
B) Bank
C) Toolbox
D) Shelf

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

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

When you select an object in the Designer, that object's properties are displayed in the ____________ window.


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

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

Correct Answer

verifed

verified

The ____________ can be accessed in the Properties window by clicking the ellipses that appears next to the Font property's value.


A) Text designer
B) Font dialog box
C) Text editor
D) Font selector

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

Correct Answer

verifed

verified

Just as a period marks the end of a sentence, a ____________ marks the end of a programming statement in C#.


A) space
B) underscore
C) semicolon
D) period

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

Correct Answer

verifed

verified

A(n) ____________ is a container that holds methods (among other things) .


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

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

Correct Answer

verifed

verified

When the PictureBox control's SizeMode property is set to AutoSize, the PictureBox control is automatically resized to fit the image that will be displayed.

A) True
B) False

Correct Answer

verifed

verified

When selected, the ____________ button causes the properties in the Properties window to be displayed in alphabetical order.


A) Arrange
B) Ascending
C) Descending
D) Alphabetical

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

Correct Answer

verifed

verified

The terms run time, runtime, and run-time all typically mean the same thing.

A) True
B) False

Correct Answer

verifed

verified

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


A) braces ({})
B) asterisks (**)
C) parentheses (() )
D) brackets ([])

E) None of the above
F) All of the above

Correct Answer

verifed

verified

A Label control's Text property is initially set to the same value as the Label control's name.

A) True
B) False

Correct Answer

verifed

verified

Showing 61 - 80 of 131

Related Exams

Show Answer