Review Game Zone
Games
Test
Preview
Back
Match it!
Match it! Select the correct answer from the pull down...Good luck!
What is a purpose of the Watch window?
Add break-points and step through the code while watching the variable output
Logic error
To examine values during the execution of a program
MessageBox will not display due to a runtime error.
Syntax error
False
Program will not compile due to a syntax error.
Run-time error
Evaluate the code below. If intX is 1 and intY is 0, what is displayed in theMessageBox? Private Sub btn1_Click(ByVal sender as System.Object, ByVal e As System.EventArgs) Handles btn1.Click Dim gen as New Random Dim intX, intY As Integer in
Add break-points and step through the code while watching the variable output
Logic error
To examine values during the execution of a program
MessageBox will not display due to a runtime error.
Syntax error
False
Program will not compile due to a syntax error.
Run-time error
Sara thought her program would calculate grade point averages, but the program listed the highest grade instead. What type of error is this?
Add break-points and step through the code while watching the variable output
Logic error
To examine values during the execution of a program
MessageBox will not display due to a runtime error.
Syntax error
False
Program will not compile due to a syntax error.
Run-time error
Jamie keyed “Interger” instead of “Integer”. What type of error resulted?
Add break-points and step through the code while watching the variable output
Logic error
To examine values during the execution of a program
MessageBox will not display due to a runtime error.
Syntax error
False
Program will not compile due to a syntax error.
Run-time error
Using the code below, determine the value of intJ displayed in the MessageBox. Dim intJ As Integer = 0 Dim intK As Integer = 0 Do While intJ 10 Do While intK 5 intK -= 1 Loop intJ += 1 Loop MessageBox.Show = intJ.ToString()
Add break-points and step through the code while watching the variable output
Logic error
To examine values during the execution of a program
MessageBox will not display due to a runtime error.
Syntax error
False
Program will not compile due to a syntax error.
Run-time error
John’s computer program stopped executing and displayed an error message. What type of error is this?
Add break-points and step through the code while watching the variable output
Logic error
To examine values during the execution of a program
MessageBox will not display due to a runtime error.
Syntax error
False
Program will not compile due to a syntax error.
Run-time error
Alice wrote a program that executed but did not produce the expected output. What is the best method for Alice to use to find the error?
Add break-points and step through the code while watching the variable output
Logic error
To examine values during the execution of a program
MessageBox will not display due to a runtime error.
Syntax error
False
Program will not compile due to a syntax error.
Run-time error
In the code below, determine the value of intJ displayed in the MessageBox. Dim intJ As Integer = 0 Dim intK As Integer = 0 Do while intJ 10 Do while intK 5 intK -= 1 Loop intJ += 1 Loop MessageBox.Show(intJ.ToString())
Add break-points and step through the code while watching the variable output
Logic error
To examine values during the execution of a program
MessageBox will not display due to a runtime error.
Syntax error
False
Program will not compile due to a syntax error.
Run-time error
Check it!