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

A

TextAlign

22
Q

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

A

counter

23
Q

An application enters break mode when __________

A

a breakpoint is reached

24
Q

A(n) ________ contains code that performa specific task

A

method

25
Q

Variables that store floating Point values should be declared as an _____________

A

Double

26
Q

The _______ operator assigns the result of adding the left and right operands to the left operand

A

+=

27
Q

there are errors in an application, they appear in a window known as the ___________

A

Error List

28
Q

A label’s boderStyle property can be set to _________

A

Fixed3D

29
Q

The if…Then…Else selection statement ends with the key words __________

A

End If

30
Q

A(n) __________ loop occurs when a condition in a Do While…Loop never becomes False

A

infinite

31
Q

An example of a white space character is a ________ character.

A

Tab
Space
newline

32
Q

A Button’s text should use _________ capitalization

A

book-title

33
Q

Method String.Format is used to _____________

A

control how text is formatted

34
Q

The ____________ window allows you to browse solution files

A

Solution Explorer

35
Q

The __________ statement executes until its loop-termination condition becomes True.

A

Do Until….Loop

36
Q

The If …Then statement is called a ________ statement because it selects or ignore one action (or group of actions)

A

single-selection

37
Q

If …. Then…..Else is a ____________ selection statement

A

double

38
Q

__________ is a programming language for sharing information via hyperlinked text documents on the World Wide Web

A

HTML

39
Q

A(n) ________ help the user understand a control’s purpose.

A

descriptive Label

40
Q

Variable declarations in event handlers begin with the keyword __________

A

Dim

41
Q

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?

A

If studentgrade >= 90 Then

displayLabel.Text = “Student received an A”

42
Q

The ^= operator _____________

A

squares the value of the left operand by the value of the right operand and stores the result in the left operand

43
Q

The data type in a variable declaration is immediately preceded by keyword ___________

A

As

44
Q

A(n) ___________ represents a user action, such as clicking a Button

A

event

45
Q

Variable declarations in event handlers begin with the keyword __________

A

Dim

46
Q

The ____________ window allows you to browse solution files

A

Solution Explorer

47
Q

An output label should ___________

A

be distingueshed with other labels
initially have an empty Text property or a default value
use Fixed3D for the borderStyle property

48
Q

A(n) ______________ is a group of one or more projects that collectively form a Visual Basic program

A

Solution

49
Q

Method String.Format is used to _____________

A

control how text is formatted

50
Q

Parentheses added to an expression simply to make it easier to read are known as _______ parentheses.

A

redundent