Programming | MCQs

    Q111: What is the function of a constructor in Java?

    جاوا میں کنسٹرکٹر کا کیا کام ہے؟
    • A. It is used to call other methods.
    • B. None of these.
    • C. It initializes an object when it is created.
    • D. It is used to delete objects.
    • A. None of these
    • B. 0(N²)
    • C. O(log N)
    • D. O(N)

    Q113: Computer use the ________ language to process data.

    کمپیوٹر ڈیٹا پر کارروائی کرنے کے لیے ________ زبان کا استعمال کرتا ہے۔
    • A. Binary
    • B. Processing
    • C. Kilobyte
    • D. None of these

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

    جو اعلیٰ سطح کی زبان کو مشینی زبان میں تبدیل کرتا ہے؟
    • A. Utility programs
    • B. None of these
    • C. Language translators
    • D. Operating system
    • A. [2, 6]
    • B. [4, 8]
    • C. [2, 4, 6]
    • D. None of these
    • A. Error
    • B. [5, 7]
    • C. None of these
    • D. [1, 2, 3, 4, 5] [1, 2, 3], [4, 5]

    Q117: What is the process of converting simple language to machine language called?

    سادہ زبان کو مشینی زبان میں تبدیل کرنے کے عمل کو کیا کہتے ہیں؟
    • A. Translator
    • B. Compiler
    • C. Interpreter
    • D. Modem
    • A. Designer
    • B. Programmer
    • C. Physician
    • D. Engineer

    Q119: Which function is used to get values into variables from the keyboard during the execution of a program?

    پروگرام کے عمل کے دوران کی بورڈ سے متغیرات میں ویلیو حاصل کرنے کے لیے کون سا فنکشن استعمال ہوتا ہے؟
    • A. Getch()
    • B. Scanf()
    • C. Main()
    • D. Printf()

    Q120: Which symbol represents decision in a flow chart?

    فلو چارٹ میں کون سی علامت فیصلے کی نمائندگی کرتی ہے؟
    • A. Parallelogram
    • B. Rectangle
    • C. Circle
    • D. Diamond
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0

Want to go directly? Enter a page number and hit Jump: