John’s computer program stopped executing and displayed an error message. What type of error is this?
Programming errors are classified into one of three categories. Which one is not a standard category?
Sara thought her program would calculate grade point averages, but the program listed the highest grade instead. What type of error is this?
Jamie keyed “Interger” instead of “Integer”. What type of error resulted?
Which type of error produces undesired or unexpected results?
Misspelling a keyword is an example of a:
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())
Which type of error halts the program when a statement cannot be executed?
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()
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?
If defaults are set to show the Watch window, which data would be shown in the Watch window?
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
The reason to use a breakpoint is to:
In the code below, if the user enters thirty-seven into the TextBox1, the MessageBox will display: Private Sub btn1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click Dim intX As Integer Try intX = Convert.ToI
What is a purpose of the Watch window?
What is a purpose of the Watch window?
When the code is completely written but will not execute, what is the appropriate action?
In the code below, if the user enters zero (0) into the TextBox1, the MessageBox will display: Private Sub btn1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click Dim intX As Integer Dim dblD As Double = 50.0
In the code below, if the user enters 5 into the TextBox1, the MessageBox will display: Private Sub btn1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click Dim intX As Integer Dim dblD As Double = 50.0 Try in
Teachers: Create FREE classroom games with your questions Click for more info!
©2007-2024 Review Game Zone | About | Privacy | Contact | Terms | Site Map
©2007-2024 Review Game Zone | About | Privacy | Contact | Terms | Site Map