?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Easy

Error Classification: Identifying Types of Errors

APCSA-TUYGTP

Classify the following types of errors as compile-time errors (caught when compiling code) or run-time errors (code compiles but there is a problem when running it).

I. Syntax error
II. Logic error
III. Lexical error
IV. Execution error

A

I. compile-time error
II. run-time error
III. compile-time error
IV. compile-time error

B

I. compile-time error
II. run-time error
III. compile-time error
IV. run-time error

C

I. run-time error
II. compile-time error
III. run-time error
IV. compile-time error

D

I. compile-time error
II. run-time error
III. run-time error
IV. run-time error

E

I. run-time error
II. run-time error
III. compile-time error
IV. compile-time error