1
AssignmentMultiple Choice

Types of Errors

Question 1 • VA-Information Technology Fundamentals B

Which of the following can cause a run-time error?

Answer
A
A programmer anticipated a positive whole number, and the user input a negative decimal value.
B
A programmer anticipated text data, and the user input text data.
C
A programmer anticipated numeric data, and the user input numeric data.
D
A variable was not defined because of a typographical error in the definition of that variable.
Next