Input Output | MCQs

    Q1: PRINT INPUT is?

    پرنٹ ان پٹ کیا ہے؟
    • A. An error
    • B. Syntax
    • C. Execution
    • D. Logical

    Q2: Which machine performs both input and output functions?

    کونسی مشین ان پٹ اور آئوٹ پٹ دونوں کام کرتی ہے؟
    • A. LED
    • B. Fax Machine
    • C. MICR
    • D. None of these
    • A. cin<<age;
    • B. cin(age)
    • C. None of these
    • D. cin>>age;

    Q4: If you open a file in "R+" mode, what does it mean?

    اگر آپ "آر+" وضع میں فائل کھولتے ہیں تو ، اس کا کیا مطلب ہے؟
    • A. Opening a file for both reading and writing
    • B. None of these
    • C. Opening a file for writing only
    • D. Opening a file for reading only

    Q5: In C Language, the function getchar() _____?

    سی زبان میں ، فنکشن گیٹچار () _____؟
    • A. Reads a character from the keyboard without echo
    • B. Reads a string until the user presses the "Enter" key
    • C. Reads a character from the keyboard with echo
    • D. Requires pressing the "Enter" key after entering the character

    Q6: In flow chart, __________ represents input or output:

    فلو چارٹ میں، کون ان پٹ یا آؤٹ پٹ کی نمائندگی کرتا ہے
    • A. All of these
    • B. Parallelogram
    • C. Line
    • D. Oval
    • A. Channels
    • B. Buses
    • C. Cables
    • D. Ports

    Q8: ________ moves data between the computer and its external environment.

    ڈیٹا کو کمپیوٹر اور اس کے بیرونی ماحول کے درمیان کون منتقل کرتا ہے۔
    • A. Main memory
    • B. CPU
    • C. System interconnection
    • D. Input/Output

    Q9: Input-Output processor has direct access to ?

    ان پٹ آؤٹ پٹ پروسیسر کو براہ راست کہاں رسائی حاصل ہے؟
    • A. Secondary Memory
    • B. Main Memory
    • C. ROM
    • D. Flash Memory
    • A. None of these
    • B. The output is reset to 0
    • C. The output is set to 1
    • D. The output toggles
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0