Programming Concepts | MCQs

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

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

    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. Conditional
    • B. Control
    • C. Structure
    • D. None of these

    Q4: The _____ is also known as selection statement.

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

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

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

    Q7: Flowchart is a _________ representation of algorithm_?

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

    Q8: Scope of variable refers to

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

    Q9: Conditional operator is an alternative of ______?

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

    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