Multiple choice technology web technology

When compared to the compiled program, scripts run:

  1. Faster

  2. Slower

  3. The execution speed is similar

  4. All of above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Scripts run slower than compiled programs because they are interpreted line-by-line at runtime, while compiled programs are already converted to machine code. The interpreter adds overhead for parsing and translating each instruction before execution.