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 slower; interpreter is faster
B. Compiler translates entire code; interpreter translates line by line
C. No difference
D. Compiler is used for assembly; interpreter for high-level
Answer: Option B
Solution (By JKExamLibrary)
Compilers translate the entire program at once, while interpreters translate and execute line by line.

This question belongs to: Computer Computer Software

Discuss this Question (0)

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

Practice More Computer Software Questions

Question #1 Report Error
A utility program that completely erases temporary browser histories, cookies, and local tracking cached assets to ensure web browsing privacy is a/an:
A. Privacy Utility / Cache Cleaner
B. Encryption Engine
C. Disk Formatter
D. Uninstaller Wizard

Correct Answer: Option A


Explanation:
Privacy/cache utilities target and purge trace data files from local storage arrays to protect a user's digital footprint.

This question belongs to: Computer Computer Software
Question #2 Report Error
Which software component acts as a translator between an operating system and a specific physical peripheral device, such as a printer or graphics card?
A. Utility Toolkit
B. Application Interface
C. System Loader
D. Device Driver

Correct Answer: Option D


Explanation:
Device drivers are specialized system software programs that allow the operating system to communicate effectively with external hardware components.

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

Correct Answer: Option D


Explanation:
Keynote is Apple's presentation application software.

This question belongs to: Computer Computer Software