Join WhatsApp ChannelDaily MCQs & Exam Updates
Computer Science Medium css fpsc

What is the purpose of a compiler?

  • A Execute programs directly
  • B Translate source code into machine code
  • C Store data permanently
  • D Manage networks
Correct Answer: Option B — Translate source code into machine code
Explanation:
A compiler converts high-level programming language code into machine code that can be executed by a computer. It also checks syntax and rep...
Submitted by: PaperMCQs
Related MCQs