RTUComputer ScienceYr 2023 · Sem 52023

Q1Compiler Design

Question

2 marks

Define Compiler.

Answer

A compiler translates high-level source code into low-level machine code.

A compiler is a highly complex system software program that acts as a translator. It aggressively reads an entire program written in a high-level programming language (like C, C++, or Java) and mathematically translates it entirely into low-level machine code or assembly language before executing it, ensuring the target processor can physically understand the instructions.

Back to Paper