Compiler | MCQs

    • A. Assembler
    • B. interpreter
    • C. None
    • D. compiler

    Q12: What is a Compiler?

    ایک مرتب کیا ہے؟
    • A. A compiler is a language providing very efficient execution
    • B. None of these
    • C. A compiler is a special program that processes statements written in a particular programming language and turns them into machine language
    • D. A compiler does a conversion line by line as the program is run

    Q13: Compiler is the _________?

    مرتب کرنے والا ______ ہے؟
    • A. Translator of source program to object
    • B. None of these
    • C. Translator of high-level program to machine
    • D. Translator of object program to source

    Q14: Which of following is the faster translator software

    مندرجہ ذیل میں سے کون سا تیز تر ٹرانسلیٹر سافٹ ویئر ہے۔
    • A. compiler
    • B. Assembler
    • C. Java
    • D. interpreter

    Q15: Which converts high-level language into machine language?

    جو اعلیٰ سطح کی زبان کو مشینی زبان میں تبدیل کرتا ہے؟
    • A. Operating system
    • B. Utility programs
    • C. None of these
    • D. Language translators

    Q16: What is the purpose of intermediate code generation in a compiler?

    کمپائلر میں انٹرمیڈیٹ کوڈ جنریشن کا مقصد کیا ہے؟
    • A. To perform lexical analysis
    • B. To produce machine code directly
    • C. To provide a platform-independent representation of the source code
    • D. None of these

    Q17: A computer program that converts an entire program into machine language is called _______

    ایک کمپیوٹر پروگرام جو ایک پورے پروگرام کو مشینی زبان میں تبدیل کرتا ہے کیا کہلاتا ہے۔
    • A. Compiler
    • B. Simulator
    • C. Interpreter
    • D. Commander

    Q18: Operating system editors and debuggers come under?

    آپریٹنگ سسٹم ایڈیٹرز اور ڈیبگرز کس کے تحت آتے ہیں؟
    • A. Application software
    • B. Utilities
    • C. System software
    • D. None of these

    Q19: ______ can link object modules from multiple files?

    ایک سے زیادہ فائلوں سے آبجیکٹ ماڈیول کو کیسے جوڑا جا سکتا ہے؟
    • A. Loader
    • B. Linker
    • C. Interpreter
    • D. Compiler
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0