Code Structure | MCQs

    Q1: Scope of variable refers to

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

    Q3: Conditional operator is an alternative of ______?

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

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

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