What is the difference between a compiler and an interpreter? MCQ with Answer and Explanation

What is the difference between a compiler and an interpreter?
A. Compiler is used for assembly; interpreter for high-level
B. Compiler is slower; interpreter is faster
C. No difference
D. Compiler translates entire code; interpreter translates line by line
Answer: Option D
Solution (By JKSSB Mock Tests)
Compilers translate the entire program at once, while interpreters translate and execute line by line.

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 utility software for process management?
A. Task Manager
B. File Explorer
C. Registry Editor
D. Control Panel

Correct Answer: Option A


Explanation:
Task Manager allows viewing and terminating processes.

This question belongs to: Computer Computer Software
Question #2
A utility program that securely deletes files by overwriting their storage sectors with zeros or random noise multiple times to comply with data sanitization standards is a:
A. File Archiver Engine
B. Data Sanitization / Secure Erase Utility
C. System Registry Sweeper
D. Disk Defragmenter Tool

Correct Answer: Option B


Explanation:
Secure erase utilities use data sanitization algorithms to overwrite drive sectors repeatedly, ensuring deleted information cannot be recovered by forensic tools.

This question belongs to: Computer Computer Software
Question #3
Which of the following is an example of a presentation software?
A. Word
B. Keynote
C. Access
D. Excel

Correct Answer: Option B


Explanation:
Keynote is Apple's presentation application software.

This question belongs to: Computer Computer Software