Control | MCQs

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

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

    Q13: In C programming, the loop that is executed at least once (even if the condition is false) is called ______ loop.

    سی پروگرامنگ میں ، لوپ جو کم از کم ایک بار انجام دیا جاتا ہے (یہاں تک کہ اگر حالت غلط ہے) کو ______ لوپ کہا جاتا ہے۔
    • A. do-while
    • B. while
    • C. for
    • D. None of these

    Q14: Which statement is the opposite of the break statement and is also known as the bypass statement?

    وقفے کے بیان کے برعکس کون سا بیان ہے اور اسے بائی پاس بیان کے نام سے بھی جانا جاتا ہے؟
    • A. Return
    • B. None of these
    • C. Continue
    • D. Exit

    Q15: In Scratch control blocks, the _____ command is used when a block of code needs to run for a fixed number of times.

    سکریچ کنٹرول بلاکس میں ، _____ کمانڈ استعمال کیا جاتا ہے جب کوڈ کے ایک بلاک کو مقررہ تعداد میں چلانے کی ضرورت ہوتی ہے۔
    • A. Wait
    • B. None of these
    • C. Repeat
    • D. Stop
    • A. with
    • B. by
    • C. in
    • D. to
    • A. none
    • B. onto
    • C. into
    • D. in
    • A. To
    • B. On
    • C. Under
    • D. None of these
    • A. None of these
    • B. Clasp
    • C. Drop
    • D. Release
    • A. To take a leisurely horseback ride.
    • B. To have a bumpy ride.
    • C. To treat someone with kindness and respect.
    • D. To dominate or treat someone harshly without consideration.
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0