Question 96

Computer Awareness Software Engineering Medium

Which statement is true about compilers?

(A) They execute the code line-by-line.
(B) They generate machine code for the entire program at once.
(C) They are faster than interpreters in error detection.
(D) They are used to execute scripts dynamically.
✓ Correct Answer: Option B Verified Solution

📘 Step-by-Step Solution & Detailed Explanation:

A compiler translates the whole source program into machine code at once, before it runs.

An interpreter translates and executes line by line. Interpreters are the ones that run scripts dynamically, and they report errors sooner (line by line), so (A), (C) and (D) describe interpreters.

Answer: (B)

Practice Similar Software Engineering Questions

Reinforce your conceptual grasp with related questions from MAH MCA CET 2025:

Q81 Which of the following is not a type of computer architecture?
Solve →
Q82 What is the binary equivalent of the decimal number 13?
Solve →
Q83 What is the result of the binary subtraction 1100 - 1010 using 2's...
Solve →
Q84 Which of the following is a correct way to declare a variable in C?
Solve →
Q85 What is the main difference between a process and a thread?
Solve →
Full-Length Test Series

Prepare for MAH MCA CET Under Real Exam Conditions

Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.

Start Free Mock Test Series →