Component(s) of interpreter is/are :
2024
Component(s) of interpreter is/are :
- A.
Symbol table
- B.
Data store
- C.
Data manipulation
- D.
All options are right
Attempted by 100 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.