What is the main advantage of using an interpreter over a compiler? MCQ with Answer and Explanation

What is the main advantage of using an interpreter over a compiler?
A. Optimizes code better
B. Produces standalone executables
C. Faster execution
D. Easier debugging and portability
Answer: Option D
Solution (By JKSSB Mock Tests)
Interpreters execute line by line, making debugging easier and allowing cross-platform portability.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Computer Software Questions

Question #1
Which of the following is a type of application software?
A. BIOS
B. Word processor
C. Utility program
D. Device driver

Correct Answer: Option B


Explanation:
Word processors are application software used for text editing.

This question belongs to: Computer Computer Software
Question #2
Which of the following is not a utility software?
A. Disk compression tool
B. Backup software
C. Database management system
D. Antivirus

Correct Answer: Option C


Explanation:
DBMS is application software, while backup, antivirus, and disk tools are utilities.

This question belongs to: Computer Computer Software
Question #3
What is the difference between a batch OS and a time-sharing OS?
A. No difference
B. Batch is interactive; time-sharing is not
C. Batch processes jobs sequentially; time-sharing allows interactive multi-user
D. Batch processes multiple users; time-sharing processes one at a time

Correct Answer: Option C


Explanation:
Batch OS processes jobs without user interaction; time-sharing allows multiple users to interact simultaneously.

This question belongs to: Computer Computer Software