Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login

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
Submitted by: mcqstutor Team More Computer MCQs →

No Comments

Leave a comment

Your email address will not be published. Required fields are marked *