13
QuizMultiple Choice

Readable Code — Unit test

Question 13 • VA-Information Technology Fundamentals B

An error in the execution of commands results in which type of error?

Answer
A
syntax
B
run-time
C
logic
D
crash

Explanation

A run-time error occurs while a program is executing, such as when a command tries to divide by zero or use a missing file. A syntax error breaks the language’s rules before execution, while a logic error produces an incorrect result without necessarily stopping the program; a crash is a possible outcome, not the error type asked for.

AI-written and checked against the verified answer.

Previous
Next