Chapter 2 quiz 2 Flashcards

Exam Study

1
Q

The file named __________ contains code associated with a form named Form1

A

Form1.cs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

Properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The Visual Studio __________ window shows a scrollable list of controls that you can add to a form

A

Toolbox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When a piece of data such as 23 or Hello is written into a program’s code, it is called a __________.

A

literal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A(n) __________ is a sequence of one or more programming statements that perform some operation

A

method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

event handler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A(n) __________ event occurs on a control when the user clicks the mouse while an application is running.

A

Click

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When you want to display text on a form but not allow the user to change the text, you use a ___________control

A

Label

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A __________ property can be set to one of two possible values: true or false

A

Boolean

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In code you use a(n) __________ to store a value in a control’s property

A

assignment statemen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly