Conditional Statement | MCQs

    • A. Would have purchased
    • B. Would purchase
    • C. Would have
    • D. Will purchase

    Q2: IF function used in Excel for _____?

    اف فنکشن ایکسل میں کس لیے استعمال ہوتا ہے؟
    • A. Performing logical comparisons
    • B. None of these
    • C. Formatting text
    • D. Creating charts

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

    اف، اف ایلس، سوئیچ اف بیانات کس بیان میں آتے ہیں؟
    • A. None of these
    • B. Structure
    • C. Conditional
    • D. Control
    • A. He said that if he worked hard, he would pass the exam.
    • B. He said that if I worked hard, I would pass the exam.
    • C. He said that if he works hard, he would pass the exam
    • D. He said that if I work hard, I will pass the exam.

    Q5: The keyword _____ is used to specify two different choices with "if" statement.

    مطلوبہ الفاظ _____ "اگر" بیان کے ساتھ دو مختلف انتخاب کی وضاحت کرنے کے لئے استعمال ہوتا ہے۔
    • A. None of these
    • B. Else
    • C. If
    • D. Switch

    Q6: If he had worked hard, he would pass

    محنت کرتا تو پاس ہو جاتا
    • A. If he had worked hard, he would have pass
    • B. None of these
    • C. If he worked hard, he would have passed
    • D. If he had worked hard, he will pass
    • A. started
    • B. starting
    • C. has started
    • D. start
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0