What is the primary function of a ‘Compiler’?
AConvert high-level code to machine code
BExecute programs
CDisplay graphics
DManage files
Explanation
• A compiler translates the entire source code into machine-executable code before execution.
• This results in faster execution compared to interpreters.
• Compilers also optimize code for performance.
Exam Relevance
- Topic: Competitive Exams
- Subtopic: FPSC/PPSC/NTS Past Papers

No Comments