unit 5
unit 6
unit 7
unit 8
100

What does program flow follow?

Program flow follows the exact sequence of listed program statements, unless directed otherwise by a Java control structure.



100

Which statement will correctly exit an application?

Application.Exit()

100

Definite loop

performs a task a predetermined number of times, also called a counted loop

100

Where the PictureBox control can be found

Toolbox

200

In what computer language do programs require control structures?

Programs require control structures in any computer language.

200

Which statement will correctly close a form?

Me.Close()

200

Infinite loop

a loop that never ends, can result from a mistake in the while loop, do not write intentionally

200

The SizeMode property used to resize the PictureBox:

AutoSize

300

What are the 3 general types of control structures?



The three general types of control structures are simple sequence, selection, and repetition.

300

What is the result of the following code?

strNumEntered= "15"
Result= Int32.TryParse(strNumEntered, intTest)



300

Empty body

a body with no statements, caused by misplaced semicolons

300

SizeMode property used to fit the PictureBox:

StretchImage

400

How does Simple Sequence work?

Simple sequence is a program statement after a program statement. It's a series of program statements that are executed in the exact sequence that they are written.



400

Given the following block of code, what is the output if the value ".05" is entered?

5.0%

400

Decrementing

subtract 1 from the loop control variable

400

The property of the PictureBox control contains the picture to be displayed:

Image property

500

What are 2 synonyms for Selection?

Selection is also called conditional or decision making.

500

Given the following block of code, what is the output if the value "two" is entered?

Enter numeric values

500

Event-controlled loop

altered by user input, controlled by the user, executed any number of times

500

Will set the variable maxWidth to the label's width to the label's width:

maxWidth = lblSurface.Width