Input Output | MCQs

    Q1: PRINT INPUT is?

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

    Q2: Which machine performs both input and output functions?

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

    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 with echo
    • B. Requires pressing the "Enter" key after entering the character
    • C. Reads a string until the user presses the "Enter" key
    • D. Reads a character from the keyboard without echo

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

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

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

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

    Q9: Input-Output processor has direct access to ?

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