What is the function of an interpreter? MCQ with Answer and Explanation

What is the function of an interpreter?
A. Manages memory
B. Converts binary to decimal
C. Compiles entire code
D. Translates high-level code to machine code line by line
Answer: Option D
Solution (By JKSSB Mock Tests)
An interpreter translates and executes source code line by line, without producing a separate machine code file.

Discuss this Question (0)

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

Practice More Computer Fundamentals Questions

Question #1
What structural component was predominantly used for internal primary data storage during the first generation of computers?
A. Magnetic Core Memory
B. Integrated Silicon Chips
C. Magnetic Drums
D. Floppy Disks

Correct Answer: Option C


Explanation:
First-generation computers used large, rotating magnetic drums as their primary internal mechanism for holding electronic data states.

This question belongs to: Computer Computer Fundamentals
Question #2
An old-school mechanical device consisting of sliding rules and scale markers used by engineers to calculate multiplication and trigonometry via logarithmic scales is a:
A. Slide Rule
B. Abacus Unit
C. Digital Calculator
D. Difference Engine

Correct Answer: Option A


Explanation:
The Slide Rule is an early analog mechanical calculating device that uses physical alignment lengths on logarithmic scales to perform math.

This question belongs to: Computer Computer Fundamentals
Question #3
What is the decimal equivalent of hexadecimal FF?
A. 253
B. 255
C. 254
D. 256

Correct Answer: Option B


Explanation:
FF = 15*16 + 15 = 255.

This question belongs to: Computer Computer Fundamentals