Sample Quiz Flashcards

1
Q

Visual Basic keywords are ___________

A

reserve words

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

Property __________ maintains all the values in a ListBox.

A

Items

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

A __________ is a control in which the user can enter data from a keyboard.

A

TextBox

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

Entering a value in a TextBox causes a ____________ event

A

TextChanged

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

When a value is read from memory, that value is _____________

A

Not overwritten

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

The three types of control structures are sequence, selection, and __________.

A

repetition

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

The ___________ operator returns False if the left operand is larger than the right operand

A

<=

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

Item’s method __________ deletes all the values in a ListBox

A

clear

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

The Form’s ________ property specifies the text that is displayed in the Form’s title bar

A

Text

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

The ______ control allos users to add and view items in a list

A

ListBox

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

Programs that translate high-level programs into machine language are called

A

compiler

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

The symbol ________ is not a Visual Basic operator.

A

%

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

In an activity diagram, a rectangle with curved sides represents ___________

A

an action

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

A Button’s text should use _________ capitalization

A

book-title

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

The expression to the right of an assignment operator is evaluated ________________ the assignment occurs

A

before

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

A ________ occurs when an executed statement does not directly follow the previously executed statement in the written application

A

transfer of control

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

The body of a Do While….Loop statement executes _____________

A

while its condition is true

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

Item’s method __________ adds an item to a listBox

A

Add

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

If number is initialized with the value 15, What value will number contain after the expression number += 7 executes?

A

22

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

When a value is placed into a memory location, the value _________ the previous value in that location

A

replaces

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

Property _________ specifies how text is aligned within a Label’s boundaries

22
Q

A __________ is a variable that helps control the number of times that a set of statements executes

23
Q

An application enters break mode when __________

A

a breakpoint is reached

24
Q

A(n) ________ contains code that performa specific task

25
Variables that store floating Point values should be declared as an _____________
Double
26
The _______ operator assigns the result of adding the left and right operands to the left operand
+=
27
there are errors in an application, they appear in a window known as the ___________
Error List
28
A label's boderStyle property can be set to _________
Fixed3D
29
The if...Then...Else selection statement ends with the key words __________
End If
30
A(n) __________ loop occurs when a condition in a Do While...Loop never becomes False
infinite
31
An example of a white space character is a ________ character.
Tab Space newline
32
A Button's text should use _________ capitalization
book-title
33
Method String.Format is used to _____________
control how text is formatted
34
The ____________ window allows you to browse solution files
Solution Explorer
35
The __________ statement executes until its loop-termination condition becomes True.
Do Until....Loop
36
The If ...Then statement is called a ________ statement because it selects or ignore one action (or group of actions)
single-selection
37
If .... Then.....Else is a ____________ selection statement
double
38
__________ is a programming language for sharing information via hyperlinked text documents on the World Wide Web
HTML
39
A(n) ________ help the user understand a control's purpose.
descriptive Label
40
Variable declarations in event handlers begin with the keyword __________
Dim
41
Which of the following If...Then statements correctly displays that a student received an A on an exam if the score was 90 or above?
If studentgrade >= 90 Then displayLabel.Text = "Student received an A"
42
The ^= operator _____________
squares the value of the left operand by the value of the right operand and stores the result in the left operand
43
The data type in a variable declaration is immediately preceded by keyword ___________
As
44
A(n) ___________ represents a user action, such as clicking a Button
event
45
Variable declarations in event handlers begin with the keyword __________
Dim
46
The ____________ window allows you to browse solution files
Solution Explorer
47
An output label should ___________
be distingueshed with other labels initially have an empty Text property or a default value use Fixed3D for the borderStyle property
48
A(n) ______________ is a group of one or more projects that collectively form a Visual Basic program
Solution
49
Method String.Format is used to _____________
control how text is formatted
50
Parentheses added to an expression simply to make it easier to read are known as _______ parentheses.
redundent