Which program translates one line at a time
Correct answer: A. interpreter
- A. interpreter
- B. Translator
- C. Simulator
- D. Language converter
Explanation
An interpreter is a program that translates code written in a high-level language (e.g., Python, JavaScript, Ruby) line by line and executes it immediately. This means it reads a line of code, translates it into machine code that the computer can understand, and then executes that code. It then moves on to the next line of code and repeats the process.
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
About Hardware and Software
Hardware includes the physical components of a computer, such as the CPU, motherboard, registers, memory, storage devices and peripheral equipment. Software covers system software, application software, utilities, drivers and firmware, with attention to how the operating system manages hardware and how software differs from the physical equipment it controls.
Practise Hardware and Software
290 free Hardware and Software MCQs from Computer Science and IT, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Computer Science and IT questions like this
Computer Science and IT is on 85 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.
More Hardware and Software questions
A memory buffer used to accommodate a speed differential is called
How many bits does an EAX register contain?
Which type of instruction order specifies the sequence of execution for the processor?
A group of commands for a CPU in machine language to perform all its operations is called
Which is not a kind of register?
What is the unit that directs the address bus?