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. Translates high-level code to machine code line by line
D. Compiles entire code
Answer: Option C
Solution (By JKExamLibrary)
An interpreter translates and executes source code line by line, without producing a separate machine code file.

This question belongs to: Computer Computer Fundamentals

Discuss this Question (0)

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

Practice More Computer Fundamentals Questions

Question #1 Report Error
Which of the following is a type of computer based on size?
A. Analog
B. Hybrid
C. Mainframe
D. Digital

Correct Answer: Option C


Explanation:
Mainframe is a size-based classification (along with micro, mini, super).

This question belongs to: Computer Computer Fundamentals
Question #2 Report Error
What is the binary equivalent of octal 17?
A. 1111
B. 1110
C. 1101
D. 1011

Correct Answer: Option A


Explanation:
Octal 17 = 1 7 -> 001 111 = 1111 binary.

This question belongs to: Computer Computer Fundamentals
Question #3 Report Error
Which of the following early electronic systems was the first commercial, mass-produced digital computer sold to corporate and government clients?
A. UNIVAC I
B. ENIAC
C. EDSAC
D. EDVAC

Correct Answer: Option A


Explanation:
UNIVAC I (Universal Automatic Computer) was the first commercial computer produced in the US, designed for business data applications.

This question belongs to: Computer Computer Fundamentals