5 Questions
What does an interpreter translate?
Source code into machine code
Where does an interpreter store the translated code?
In memory
What does the interpreter do with the translated code?
Hands it to the CPU
Which of the following pairs correctly describes the translation process?
Source, object
What is the main function of an interpreter in programming?
To translate high-level code into low-level code
Study Notes
Interpreter's Role
- An interpreter translates source code into machine code and stores it in memory.
- It does not store the translated code, instead, it executes it immediately.
- The interpreter hands the translated code to the CPU for execution.
Test your knowledge on how an interpreter translates code into machine code and stores it in memory. Choose the correct options for each blank in the statement.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free