Programming Concepts | MCQs

    Q1: The language that the computer can understand and execute is called ____?

    وہ زبان جسے کمپیوٹر سمجھ اور چلا سکتا ہے ____ کہلاتی ہے؟
    • A. System program
    • B. Application software
    • C. All of the above
    • D. Machine language

    Q2: Array is an example of ______?

    ایرے ______ کی ایک مثال ہے؟
    • A. Linear Data Structure
    • B. Single Data Structure
    • C. Compound Data Structure
    • D. None of these

    Q3: 'If, If-Else, Switch' statements come in which statements?

    اف، اف ایلس، سوئیچ اف بیانات کس بیان میں آتے ہیں؟
    • A. Control
    • B. Conditional
    • C. Structure
    • D. None of these

    Q4: The _____ is also known as selection statement.

    کس کو انتخاب کے بیان کے نام سے بھی جانا جاتا ہے؟
    • A. Goto
    • B. Loop
    • C. None of these
    • D. Switch

    Q5: The comparison between two values is performed by _____ operator.

    دو اقدار کے مابین موازنہ _____ آپریٹر کے ذریعہ کیا جاتا ہے۔
    • A. Relational
    • B. None of these
    • C. Arithmetic
    • D. Compound
    • A. see the answer

    Q7: Flowchart is a _________ representation of algorithm_?

    فلو چارٹ الگورتھم کی کون نمائندگی ہے؟
    • A. Symbolic
    • B. Both A & B
    • C. Linked
    • D. Diagrammatic

    Q8: Scope of variable refers to

    متغیر کے دائرہ کار سے کیا مراد ہے۔
    • A. none
    • B. name of variable
    • C. accessibility of variable
    • D. length of variable

    Q9: Conditional operator is an alternative of ______?

    مشروط آپریٹر ______ کا متبادل ہے؟
    • A. None of these
    • B. Nested-if
    • C. If
    • D. If-else

    Q10: Which escape sequence moves the cursor at the beginning of current line?

    کون سا فرار کی ترتیب موجودہ لائن کے آغاز میں کرسر کو منتقل کرتی ہے؟
    • A. \r
    • B. \b
    • C. \n
    • D. None of these
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0