Self Review Exercises 3 Flashcards

1
Q

SRE 3

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
2
Q

SRE 3

The Form’s _____ property specifies the text that’s displayed in the Form’s title bar.

A

Text

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

SRE 3

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

A

TextAlign

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

SRE 3

An output label should _____

a) be distinguishable from other labels
b) initially have an empty Text property or a default value
c) use Fixed3D for the BorderStyle property
d) All of the above

A

d) all of the above

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

SRE 3

A button’s ____ property sets the text on the face of the button

A

Text

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

SRE 3

If there are errors in an app, they appear in a window known as the _______

A

error list

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

SRE 3

When a value is placed in 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
8
Q

SRE 3

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
9
Q

SRE 3

Arithmetic expressions must be written _____ to facilitate entering apps into the computer.

a) using parentheses
b) on multiple lines
c) in straight-line form
d) none of the above

A

in straight line form

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

SRE 3

The expression to the right of an assignment operator (=) is evaluated _______ the assignment occurs

a) before
b) after
c) at the same time
d) none of the above

A

before

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

SRE 3

True or False: Comments cause the computer to print the text after the ‘ on the screen when the program executes.

A

False. comments do not cause any action to be performed when the program executes. They’re used to document programs and improve their readability.

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

SRE 3

True or False: All variables must be declared before they can be used in a visual basic program

A

True

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

SRE 3

True or False: Visual Basic considers the variable names number and NuMbEr to be different.

A

False. Identifiers are not case sensitive, so these variable names are identical.

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

SRE 3

True or False: The arithmetic operators *, /, + and - all have the same level of precedence

A

False. The operators * and / have the same level of precedence, and the operators + and - are on a lower level of precedence

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

SRE 3

True or False: A string of characters contained between double quotation marks is called a phrase or phrase literal

A

False. A string of characters is called a string or string literal.

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

SRE 3

Integer division yields an Integer Result

A

True