Programming Language | MCQs

    Q21: If you want to perform mathematical calculations whose value is an integer and is greater than 66.000 then which of the following data type you will use for storing numbers?

    اگر آپ ریاضی کے حساب کتاب کو انجام دینا چاہتے ہیں جس کی قیمت ایک عدد ہے اور 66.000 سے زیادہ ہے تو آپ مندرجہ ذیل میں سے کون سا ڈیٹا ٹائپ اسٹور کرنے کے لئے استعمال کریں گے؟
    • A. Integer
    • B. None of these
    • C. Short
    • D. Float
    • A. ( )
    • B. { }
    • C. " "
    • D. [ ]

    Q23: The basic language of computer consist of ____?

    کمپیوٹر کی بنیادی زبان ____ پر مشتمل ہے؟
    • A. Both A and B
    • B. Operand
    • C. Opcode
    • D. None of these

    Q24: Which of the following best describes polymorphism in OOP?

    مندرجہ ذیل میں سے کون سی او او پی میں پولیمورفزم کی بہترین وضاحت کرتا ہے؟
    • A. The ability of an object to take on many forms
    • B. The relationship between clauses and their objects
    • C. None of these
    • D. The process of grouping related objects together

    Q25: The first version of Java (programming language) was released in the year___?

    جاوا کا پہلا ورژن (پروگرامنگ لینگویج) کس سال میں جاری کیا گیا تھا؟
    • A. 1995
    • B. 2004
    • C. 1971
    • D. 2009
    • A. Visual C++
    • B. Visual Java
    • C. Visual Basic
    • D. None of the above

    Q27: In BASIC programming, _____ command is used to clear screen.

    بیسک پروگرامنگ میں ، _____ کمانڈ اسکرین کو صاف کرنے کے لئے استعمال ہوتا ہے۔
    • A. CLR
    • B. CLRS
    • C. CLS
    • D. None of these

    Q28: In C language, compound operator contains _____ operator and assignment operator.

    سی زبان میں ، کمپاؤنڈ آپریٹر میں _____ آپریٹر اور اسائنمنٹ آپریٹر ہوتا ہے۔
    • A. None of these
    • B. Rational
    • C. Arithmetic
    • D. Logical

    Q29: Which statement shifts the control back to the beginning of the loop?

    کون سا بیان کنٹرول کو واپس لوپ کے آغاز پر بدل دیتا ہے؟
    • A. continue
    • B. loop
    • C. switch
    • D. None of these

    Q30: High-level programming languages are classified into ______ categories.

    اعلی سطحی پروگرامنگ زبانوں کو ______ زمرے میں درجہ بندی کیا جاتا ہے۔
    • A. None of these
    • B. 4
    • C. 2
    • D. 3
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0