Beginner Compilers & Programming Language Theory
Q24 / 100

What is the difference between compiled and interpreted languages?

Correct! Well done.

Incorrect.

The correct answer is B) Compiled languages translate to machine code ahead of time; interpreted languages are translated+executed at runtime — but modern JITs blur this distinction

B

Correct Answer

Compiled languages translate to machine code ahead of time; interpreted languages are translated+executed at runtime — but modern JITs blur this distinction

Explanation

C/Rust: AOT compiled → fast native code. Python: interpreted at runtime → flexible but slower. Java/JS: bytecode/IR + JIT compilation at runtime → combines portability with near-native speed after warmup.

Progress
24/100