Input Output | MCQs

    Q1: PRINT INPUT is?

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

    Q2: Which machine performs both input and output functions?

    کونسی مشین ان پٹ اور آئوٹ پٹ دونوں کام کرتی ہے؟
    • A. MICR
    • B. LED
    • C. None of these
    • D. Fax Machine
    • 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 writing only
    • B. Opening a file for both reading and writing
    • C. None of these
    • 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. Requires pressing the "Enter" key after entering the character
    • D. Reads a character from the keyboard with echo

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

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

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

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

    Q9: Input-Output processor has direct access to ?

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