What is the major difference between an interpreter and a compiler?
University of Ilorin COS101 2026-exam past question
- An interpreter converts the whole program at once, while a compiler does it line by line
- An interpreter translates and executes code line by line, while a compiler translates the entire program before execution
- A compiler is only used for high-level languages, while an interpreter is only for machine code
- There is no difference as they both perform the same task at the same speed
Register free to see the answer and step-by-step explanation
More University of Ilorin COS101 2026-exam past questions
Related questions
- Identify the logic gate shown in the image (a symbol with a straight vertical back, a curved rounded front, two inputs A and B, and one out…
- The diagram above comprises of which gates?
- Based on the hand-drawn circuit diagram, one of these gates is not involved:
- Identify the logic gate represented by the given truth table where output Z is 1 for inputs A=0, B=0 and A=1, B=1, and Z is 0 for inputs A=…
- In the given logic circuit, what is the logic function at D?
- The output of the logic circuit represents ___