Deck 2: Introduction to Visual C

Full screen (f)
exit full mode
Question
A control's ____________ property identifies the control in the application's code and in the Visual Studio environment.

A) Text
B) Source
C) Tag
D) Name
Use Space or
up arrow
down arrow
to flip the card.
Question
The ____________ shows a scrollable list of controls that you can add to a form.

A) Collection
B) Bank
C) Toolbox
D) Shelf
Question
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
Question
Which one of the following Button control names is not a legal C# identifier?

A) _calculateTotalButton
B) printSalesReportButton
C) clear_customer_names_button
D) 1stPlayerStartButton
Question
When a(n) ____________ appears around an object in the Designer, it indicates that the object is selected and is ready for editing.

A) sizing handle
B) editing icon
C) bounding box
D) frame
Question
Control names are also known as ____________.

A) tags
B) identifiers
C) values
D) labels
Question
To delete a control, select it on the form and then press the ____________ key on the keyboard.

A) Delete
B) Z
C) Tab
D) X
Question
Button controls have a ____________ property, which holds the text that is displayed on the face of the button.

A) Text
B) Name
C) Description
D) Face
Question
When a student is 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
Question
____________ allow you to resize a selected object in the Designer by clicking and dragging the mouse when the mouse cursor becomes a two-headed arrow.

A) Bounding boxes
B) Sizing handles
C) ToolTips
D) Properties
Question
The ____________ file contains the application's start-up code, which executes when the application runs.

A) Main.cs
B) Code.cs
C) Program.cs
D) Source.cs
Question
Which one of the following Button control names is a legal C# identifier?

A) _DisplayOption5Button
B) Exit!Button
C) *Clear*Button*
D) delete Record Button
Question
You can click and drag a control to a new location when the mouse cursor is positioned inside the control and the mouse cursor becomes a ____________.

A) two-headed arrow
B) four-headed arrow
C) hand icon
D) scissor icon
Question
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
Question
Selecting the ____________ button in the Properties window causes the properties to be displayed in groups.

A) Grouped
B) Categorized
C) Ordered
D) Type
Question
The ____________ naming convention gets its name because the uppercase characters that appear in a name are sometimes reminiscent of a camel's humps.

A) camelCase
B) Pascal
C) Hungarian notation
D) CaMeL style
Question
A file that contains program code is called a ____________.

A) source code file
B) program file
C) C# file
D) cs file
Question
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
Question
The ____________ property determines the text that is displayed in the form's title bar.

A) Title
B) Caption
C) Name
D) Text
Question
The ____________ property can be used to change the form's width and height in pixels.

A) Area
B) Resolution
C) Size
D) Rectangle
Question
A(n) ____________ event occurs on a control when the user clicks the control while the program is running.

A) Action
B) Click
C) Live
D) Mouse
Question
If you want to execute a method, you write a statement known as a(n) ____________.

A) event handler
B) executor statement
C) initialization routine
D) method call
Question
The ____________ file contains code that is associated with the Form1 form.

A) Form1.cs
B) MainForm.cs
C) Control.cs
D) Window.cs
Question
A(n) ____________ is a method that executes when a specific event takes place while an application is running.

A) action sequencer
B) feature coordinator
C) event handler
D) incident manager
Question
The time during which an application is executing is referred to as ____________.

A) up time
B) execution
C) run time
D) instancing
Question
A(n) ____________ is a container that holds methods (among other things).

A) event
B) namespace
C) queue
D) class
Question
When you want to display text on a form, you use a ____________.

A) String control
B) Label control
C) Text control
D) Font control
Question
A(n) ____________ is a group of one or more programming statements that performs some operation.

A) algorithm
B) method
C) class
D) namespace
Question
Code containers, such as namespaces, classes, and methods, use ____________ to enclose code.

A) braces ({})
B) asterisks (**)
C) parentheses (())
D) brackets ([])
Question
The series of ____________ directives that appears at the top of a C# source code file indicate which namespaces in the .NET Framework the program will use.

A) include
B) namespace
C) public
D) using
Question
In programming we use the term ____________ to mean string of characters.

A) statement
B) thread
C) word
D) string
Question
A ____________ is a container that holds classes.

A) method
B) program
C) namespace
D) list
Question
To switch between the Designer and the code editor, you simply click the ____________ for the desired window.

A) icon
B) tab
C) button
D) bounding box
Question
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)
Question
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
Question
When you have a project open in Visual Studio, the time during which you build the GUI and write the application's code is referred to as ____________.

A) prototyping
B) design time
C) visual planning
D) application progression
Question
When a string is written into a program's code, it is called a(n) ____________.

A) string literal
B) typed string
C) encoded string
D) string constant
Question
A ____________ is a small window, sometimes referred to as a dialog box that displays a message.

A) standard window
B) pop up
C) banner
D) message box
Question
In C# code, ____________ are required to indicate the beginning and the end of a string.

A) single quotation marks
B) double quotation marks
C) parentheses
D) semicolons
Question
When a piece of data is written into a program's code, it is called a ____________.

A) constant
B) sentinel
C) value
D) literal
Question
____________ is a feature of Visual Studio that provides automatic code completion as you write programming statements.

A) IntelliSense
B) AutoComplete
C) Snippet
D) CodeHelper
Question
Once you have created a PictureBox control, you use its ____________ property to specify the image that it will display.

A) Picture
B) Image
C) Source
D) Display
Question
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
Question
You can use a(n) ____________ control to display a graphic image on a form.

A) Image
B) Graphics
C) Texture2D
D) PictureBox
Question
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.

A) Normal
B) Zoom
C) CenterImage
D) StretchImage
Question
A Label control's ____________ property can be used to align the text differently within the label.

A) TextPosition
B) DisplayFont
C) TextAlign
D) GroupFont
Question
Label controls have a ____________ property that allows you to display a border around the control's text.

A) Border
B) FrameStyle
C) Frame
D) BorderStyle
Question
Which of the following statements would display the number 25 in a Label control named ouputLabel?

A) outputLabel.Text = 25;
B) outputLabel.Text = "25";
C) outputLabel(25);
D) outputLabel = "25";
Question
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
Question
The ____________ property allows you to set the font, font style, and size of the control's text.

A) Appearance
B) Text
C) Font
D) Graphics
Question
In code, you use a(n) ____________ to store a value in a control's property.

A) string literal
B) assignment statement
C) dialog box
D) constant
Question
The PictureBox control's ____________ property specifies how the control's image is to be displayed.

A) DisplayMode
B) Visible
C) SizeMode
D) Render
Question
The standard notation for referring to a control's property in code is:

A) ControlName.PropertyName
B) ControlName->PropertyName
C) ControlName::PropertyName
D) ControlName
Question
The Label control can be found in the ____________ group of the Toolbox.

A) Common Controls
B) Containers
C) Data
D) Components
Question
____________ is a term that refers to an image's width to height ratio.

A) Area
B) Bounding box
C) Aspect ratio
D) UV map
Question
Label controls have a(n) ____________ property that controls the way they can be resized.

A) Resize
B) AutoSize
C) Locked
D) Redraw
Question
A ____________ property can be set to one of two possible values:.

A) Boolean
B) Binary
C) Singular
D) Toggle
Question
In C#, the equal sign (=) is known as the ____________.

A) equality operator
B) parity operator
C) assignment operator
D) transfer operator
Question
Which of the following statements would clear the text that is displayed in a Label control named cityLabel?

A) cityLabel.Text = "empty";
B) cityLabel.Text = "none";
C) cityLabel.Text = "clear";
D) cityLabel.Text = "";
Question
____________ is the default value of the PictureBox control's SizeMode property.

A) AutoSize
B) Normal
C) Zoom
D) StretchImage
Question
____________ are short notes that are placed in different parts of a program, explaining how those parts of the program work.

A) Sketches
B) Tags
C) Comments
D) Labels
Question
You cannot click and drag controls from the Toolbox onto the form.
Question
A(n) ____________ can occupy multiple consecutive lines in a program and 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
Question
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
Question
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
Question
Each form and control in an application's GUI must have a name that identifies it.
Question
Deleting a control is simple: you select it and then press the F4 key on the keyboard.
Question
To close an application's form in code, you use the statement ____________.

A) me.Quit();
B) this.Close();
C) form.Exit();
D) app.Stop();
Question
A(n) ____________ appears on one line in a program and begins with two forward slashes (//).

A) line comment
B) short comment
C) block comment
D) documentation comment
Question
Changing the form's Text property will change the form's name.
Question
The ____________ shows a description of the error, the source code file that contains the error, the line number and column number of the error, and the name of the project.

A) Debug dialog box
B) Crash pop up
C) Error List window
D) Just In Time debugger
Question
Programmers commonly use ____________ in their code to create a sense of visual organization.

A) different font colors
B) documentation comments
C) blank lines and indentations
D) ASCII art
Question
When you create Button controls, they are automatically given default names such as button1, button2, and so forth.
Question
Once a control has been added to a form, it cannot be deleted.
Question
The properties in the Properties window are displayed alphabetically by default.
Question
Assuming an application has a PictureBox control named profilePictureBox, which one of the following assignment statements will hide the PictureBox at run time?

A) profilePictureBox.Visible = False;
B) profilePictureBox.Visible = false;
C) profilePictureBox.Invisible = True;
D) profilePictureBox.Invisible = true;
Question
The appearance and other characteristics of a GUI object are determined by the object's properties.
Question
The Properties window contains a scrollable list of properties, which has two columns: the left column shows each property's name, and the right column shows each property's value.
Question
To add a control to a form, you simply find it in the Toolbox and then double-click it.
Question
____________ 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
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/131
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 2: Introduction to Visual C
1
A control's ____________ property identifies the control in the application's code and in the Visual Studio environment.

A) Text
B) Source
C) Tag
D) Name
D
2
The ____________ shows a scrollable list of controls that you can add to a form.

A) Collection
B) Bank
C) Toolbox
D) Shelf
C
3
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
B
4
Which one of the following Button control names is not a legal C# identifier?

A) _calculateTotalButton
B) printSalesReportButton
C) clear_customer_names_button
D) 1stPlayerStartButton
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
5
When a(n) ____________ appears around an object in the Designer, it indicates that the object is selected and is ready for editing.

A) sizing handle
B) editing icon
C) bounding box
D) frame
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
6
Control names are also known as ____________.

A) tags
B) identifiers
C) values
D) labels
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
7
To delete a control, select it on the form and then press the ____________ key on the keyboard.

A) Delete
B) Z
C) Tab
D) X
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
8
Button controls have a ____________ property, which holds the text that is displayed on the face of the button.

A) Text
B) Name
C) Description
D) Face
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
9
When a student is 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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
10
____________ allow you to resize a selected object in the Designer by clicking and dragging the mouse when the mouse cursor becomes a two-headed arrow.

A) Bounding boxes
B) Sizing handles
C) ToolTips
D) Properties
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
11
The ____________ file contains the application's start-up code, which executes when the application runs.

A) Main.cs
B) Code.cs
C) Program.cs
D) Source.cs
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
12
Which one of the following Button control names is a legal C# identifier?

A) _DisplayOption5Button
B) Exit!Button
C) *Clear*Button*
D) delete Record Button
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
13
You can click and drag a control to a new location when the mouse cursor is positioned inside the control and the mouse cursor becomes a ____________.

A) two-headed arrow
B) four-headed arrow
C) hand icon
D) scissor icon
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
14
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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
15
Selecting the ____________ button in the Properties window causes the properties to be displayed in groups.

A) Grouped
B) Categorized
C) Ordered
D) Type
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
16
The ____________ naming convention gets its name because the uppercase characters that appear in a name are sometimes reminiscent of a camel's humps.

A) camelCase
B) Pascal
C) Hungarian notation
D) CaMeL style
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
17
A file that contains program code is called a ____________.

A) source code file
B) program file
C) C# file
D) cs file
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
18
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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
19
The ____________ property determines the text that is displayed in the form's title bar.

A) Title
B) Caption
C) Name
D) Text
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
20
The ____________ property can be used to change the form's width and height in pixels.

A) Area
B) Resolution
C) Size
D) Rectangle
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
21
A(n) ____________ event occurs on a control when the user clicks the control while the program is running.

A) Action
B) Click
C) Live
D) Mouse
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
22
If you want to execute a method, you write a statement known as a(n) ____________.

A) event handler
B) executor statement
C) initialization routine
D) method call
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
23
The ____________ file contains code that is associated with the Form1 form.

A) Form1.cs
B) MainForm.cs
C) Control.cs
D) Window.cs
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
24
A(n) ____________ is a method that executes when a specific event takes place while an application is running.

A) action sequencer
B) feature coordinator
C) event handler
D) incident manager
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
25
The time during which an application is executing is referred to as ____________.

A) up time
B) execution
C) run time
D) instancing
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
26
A(n) ____________ is a container that holds methods (among other things).

A) event
B) namespace
C) queue
D) class
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
27
When you want to display text on a form, you use a ____________.

A) String control
B) Label control
C) Text control
D) Font control
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
28
A(n) ____________ is a group of one or more programming statements that performs some operation.

A) algorithm
B) method
C) class
D) namespace
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
29
Code containers, such as namespaces, classes, and methods, use ____________ to enclose code.

A) braces ({})
B) asterisks (**)
C) parentheses (())
D) brackets ([])
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
30
The series of ____________ directives that appears at the top of a C# source code file indicate which namespaces in the .NET Framework the program will use.

A) include
B) namespace
C) public
D) using
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
31
In programming we use the term ____________ to mean string of characters.

A) statement
B) thread
C) word
D) string
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
32
A ____________ is a container that holds classes.

A) method
B) program
C) namespace
D) list
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
33
To switch between the Designer and the code editor, you simply click the ____________ for the desired window.

A) icon
B) tab
C) button
D) bounding box
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
34
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)
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
35
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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
36
When you have a project open in Visual Studio, the time during which you build the GUI and write the application's code is referred to as ____________.

A) prototyping
B) design time
C) visual planning
D) application progression
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
37
When a string is written into a program's code, it is called a(n) ____________.

A) string literal
B) typed string
C) encoded string
D) string constant
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
38
A ____________ is a small window, sometimes referred to as a dialog box that displays a message.

A) standard window
B) pop up
C) banner
D) message box
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
39
In C# code, ____________ are required to indicate the beginning and the end of a string.

A) single quotation marks
B) double quotation marks
C) parentheses
D) semicolons
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
40
When a piece of data is written into a program's code, it is called a ____________.

A) constant
B) sentinel
C) value
D) literal
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
41
____________ is a feature of Visual Studio that provides automatic code completion as you write programming statements.

A) IntelliSense
B) AutoComplete
C) Snippet
D) CodeHelper
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
42
Once you have created a PictureBox control, you use its ____________ property to specify the image that it will display.

A) Picture
B) Image
C) Source
D) Display
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
43
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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
44
You can use a(n) ____________ control to display a graphic image on a form.

A) Image
B) Graphics
C) Texture2D
D) PictureBox
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
45
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.

A) Normal
B) Zoom
C) CenterImage
D) StretchImage
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
46
A Label control's ____________ property can be used to align the text differently within the label.

A) TextPosition
B) DisplayFont
C) TextAlign
D) GroupFont
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
47
Label controls have a ____________ property that allows you to display a border around the control's text.

A) Border
B) FrameStyle
C) Frame
D) BorderStyle
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
48
Which of the following statements would display the number 25 in a Label control named ouputLabel?

A) outputLabel.Text = 25;
B) outputLabel.Text = "25";
C) outputLabel(25);
D) outputLabel = "25";
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
49
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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
50
The ____________ property allows you to set the font, font style, and size of the control's text.

A) Appearance
B) Text
C) Font
D) Graphics
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
51
In code, you use a(n) ____________ to store a value in a control's property.

A) string literal
B) assignment statement
C) dialog box
D) constant
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
52
The PictureBox control's ____________ property specifies how the control's image is to be displayed.

A) DisplayMode
B) Visible
C) SizeMode
D) Render
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
53
The standard notation for referring to a control's property in code is:

A) ControlName.PropertyName
B) ControlName->PropertyName
C) ControlName::PropertyName
D) ControlName
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
54
The Label control can be found in the ____________ group of the Toolbox.

A) Common Controls
B) Containers
C) Data
D) Components
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
55
____________ is a term that refers to an image's width to height ratio.

A) Area
B) Bounding box
C) Aspect ratio
D) UV map
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
56
Label controls have a(n) ____________ property that controls the way they can be resized.

A) Resize
B) AutoSize
C) Locked
D) Redraw
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
57
A ____________ property can be set to one of two possible values:.

A) Boolean
B) Binary
C) Singular
D) Toggle
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
58
In C#, the equal sign (=) is known as the ____________.

A) equality operator
B) parity operator
C) assignment operator
D) transfer operator
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
59
Which of the following statements would clear the text that is displayed in a Label control named cityLabel?

A) cityLabel.Text = "empty";
B) cityLabel.Text = "none";
C) cityLabel.Text = "clear";
D) cityLabel.Text = "";
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
60
____________ is the default value of the PictureBox control's SizeMode property.

A) AutoSize
B) Normal
C) Zoom
D) StretchImage
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
61
____________ are short notes that are placed in different parts of a program, explaining how those parts of the program work.

A) Sketches
B) Tags
C) Comments
D) Labels
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
62
You cannot click and drag controls from the Toolbox onto the form.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
63
A(n) ____________ can occupy multiple consecutive lines in a program and 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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
64
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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
65
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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
66
Each form and control in an application's GUI must have a name that identifies it.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
67
Deleting a control is simple: you select it and then press the F4 key on the keyboard.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
68
To close an application's form in code, you use the statement ____________.

A) me.Quit();
B) this.Close();
C) form.Exit();
D) app.Stop();
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
69
A(n) ____________ appears on one line in a program and begins with two forward slashes (//).

A) line comment
B) short comment
C) block comment
D) documentation comment
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
70
Changing the form's Text property will change the form's name.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
71
The ____________ shows a description of the error, the source code file that contains the error, the line number and column number of the error, and the name of the project.

A) Debug dialog box
B) Crash pop up
C) Error List window
D) Just In Time debugger
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
72
Programmers commonly use ____________ in their code to create a sense of visual organization.

A) different font colors
B) documentation comments
C) blank lines and indentations
D) ASCII art
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
73
When you create Button controls, they are automatically given default names such as button1, button2, and so forth.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
74
Once a control has been added to a form, it cannot be deleted.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
75
The properties in the Properties window are displayed alphabetically by default.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
76
Assuming an application has a PictureBox control named profilePictureBox, which one of the following assignment statements will hide the PictureBox at run time?

A) profilePictureBox.Visible = False;
B) profilePictureBox.Visible = false;
C) profilePictureBox.Invisible = True;
D) profilePictureBox.Invisible = true;
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
77
The appearance and other characteristics of a GUI object are determined by the object's properties.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
78
The Properties window contains a scrollable list of properties, which has two columns: the left column shows each property's name, and the right column shows each property's value.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
79
To add a control to a form, you simply find it in the Toolbox and then double-click it.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
80
____________ 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
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 131 flashcards in this deck.