C++ | MCQs

    • A. Java and C++
    • B. python
    • C. Perl
    • D. Java script
    • A. WhatsApp
    • B. Instagram
    • C. YouTube
    • D. Facebook
    • A. print("Hello");
    • B. display("Hello");
    • C. printf("Hello");
    • D. output("Hello");

    Q5834: What is the main function of the Control Bus in a computer system?

    کمپیوٹر سسٹم میں کنٹرول بس کا بنیادی کام کیا ہے؟
    • A. Transfer data
    • B. Transmit commands and control signals
    • C. Perform arithmetic
    • D. Store memory

    Q5835: Which of the following is a passive topology?

    مندرجہ ذیل میں سے کون سی غیر فعال ٹوپولوجی ہے؟
    • A. Ring
    • B. Star
    • C. Mesh
    • D. Bus

    Q5836: All of the following are examples of input devices except?

    مندرجہ ذیل میں سے سبھی ان پٹ ڈیوائسز کی مثالیں ہیں سوائے اس کے کہ؟
    • A. Printer
    • B. Mouse
    • C. Scanner
    • D. Keyboard

    Q5837: Which loop structure is not available in C programing?

    سی پروگرامنگ میں کون سا لوپ ڈھانچہ دستیاب نہیں ہے؟
    • A. For
    • B. Do-while
    • C. While
    • D. Do-until

    Q5838: Conditional operator is an alternative of ______?

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

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

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

Want to go directly? Enter a page number and hit Jump: