Component(s) of interpreter is/are :

2024

Component(s) of interpreter is/are :

Answer: D. All options are rightAn interpreter is a type of language processor that executes source code instructions directly, line by line, without compiling the entire program into…

  1. A.

    Symbol table

  2. B.

    Data store

  3. C.

    Data manipulation

  4. D.

    All options are right

Attempted by 368 students.

Show answer & explanation

Correct answer: D

An interpreter is a type of language processor that executes source code instructions directly, line by line, without compiling the entire program into machine code beforehand.

To execute high-level program logic on the fly, a standard interpreter framework integrates several core components:

Symbol Table: Tracks all declared entities (variables, methods, classes) along with their data types, scopes, and memory locations. It is dynamically accessed and updated during runtime.

Data Store: Refers to the runtime memory layout (including call stacks, heaps, and value registers) used to physically hold the application's runtime data.

Data Manipulation Unit: The central execution engine (or virtual machine loop) that decodes the structured representation of a line and performs the actual logical, mathematical, or structural alterations on the data.

Since all three options serve as critical subsystems within an operational interpreter, Option D is the correct answer.

Explore the full course: Hpsc Pgt Computer Science

Loading lesson…