What is the function of a compiler?

Language processors MCQs for PPSC, FPSC, NTS, and Pakistan government job tests. Select an option below, then read the explanation.

PPSCFPSCNTSPakistan govt jobs
Subject
Language processorssoftware-engineering-mcqs › language-processors
Published
5 Apr 2019
Last updated
28 May 2026

Browse all Language processors MCQs

Choose the correct answer

Explanation

Option A describes a loader, B refers to an assembler, and C defines an interpreter. A compiler is a program that translates source code written in a high-level language into an object program or machine code.

PakQuizHub — free MCQs and past papers for Pakistan government job tests. Content is for educational practice only.