ExamPlay Dark Logo
Logg på

Computer Science for IGCSE & O level - Software (Section 12 - No. 34)

Which statement best describes the difference between an interpreter and a compiler?
Both translate the entire program before running it.
A compiler translates the entire program at once, whereas an interpreter translates and executes the code line by line.
An interpreter is used to generate machine code, while a compiler is used for debugging.
Both translate and execute the source code line by line.

Forklaring

The key difference is that the compiler translates the entire program before execution, whereas an interpreter translates and executes code line by line.

Kommentarer (0)

Logg inn for å kommentere
Annonse
BrainBehindX Inc Logo
©2026; Drevet av BrainBehindX Inc