Limited access

Upgrade to access all content for this subject

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

Select an assignment template