11
AssignmentMultiple Select

Types of Errors

Question 11 • VA-Information Technology Fundamentals B

Which of the following are recommended ways to address run-time errors? Choose all that apply.

Answer
A
Delete the suspect lines of code and issue the program without that function.
B
Add error routines that allow the program to execute fully even when unanticipated data is entered.
C
Create error messages to alert the user to an error in data entry.
D
Create controls in the program that ensure the input of proper data.

Explanation

Run-time errors can be reduced or handled by checking input and responding safely when something unexpected happens. Error routines help the program continue or fail gracefully, while clear error messages tell users when their data entry is invalid. Input controls can prevent improper data from being entered in the first place. Deleting suspect code and releasing a program without a function does not properly address the underlying error.

AI-written and checked against the verified answer.

Previous
Next