5.00 Programming And Conditional Logic (5.01 And 5.02) Question Preview (ID: 44688)
Read Each Item And Select The Best Answer.
TEACHERS: click here for quick copy question ID numbers.
You wrote a program to calculate the average of a list of grades but the program outputs the highest grade in the list. What kind of error is this?
a) syntax
b) user error
c) logic
d) runtime
How many tools are in the debugging controls?
a) 6
b) 5
c) 4
d) 3
What is the symbol for assignment /assigning a variable a value?
a) ?
b) +
c) -
d) =
Whic symbol denotes integer division?
a) /
b) ?
c) =
d) +
Which object allows users to enter values?
a) TextBox
b) Button
c) Label
d) MenuStrip
A label that is placed near a textbox to denote the textbox's purpose is called a:
a) Label
b) prompt
c) question
d) content label
A runtime error is also called a(n)_____
a) logic error
b) Try Catch
c) breakpoint
d) exception
To deal with runtime errors, a programmer can write a _____ statement to catch the exception.
a) runtime
b) error
c) Try Catch
d) syntax
The watch window is used to observe what kind of items in the programs?
a) variables
b) back slash
c) code
d) error
A ____error is characterized by the inability of Visual Studio to 'compile' or run the program
a) logic
b) syntax
c) runtime
d) Watch Window
What are three types of programming errors that can occur?
a) syntax, logic and runtime
b) syntax and runtime
c) downtime, logic and runtime
d) logic, breakpoint and runtime
To have Visual Studio step through program code, you can set a _____ on a line of code.
a) Try Catch
b) watch window
c) syntax
d) Break point
Play Games with the Questions above at ReviewGameZone.com
To play games using the questions from above, visit ReviewGameZone.com and enter game ID number: 44688 in the upper right hand corner or click here.
To play games using the questions from above, visit ReviewGameZone.com and enter game ID number: 44688 in the upper right hand corner or click here.
TEACHERS / EDUCATORS
Log In | Sign Up / Register
Log In | Sign Up / Register