Input | MCQs

    Q11: Which machine performs both input and output functions?

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

    Q13: What does the getche() function do in C/C++?

    سی آر سی پلس پلس میں گیٹ سی ایچ () فنکشن کیا کرتا ہے؟
    • A. It reads a string from the user
    • B. It will display the character on the screen that user has entered
    • C. None of these
    • D. It reads a character from the keyboard without displaying it on the screen

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

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

    Q15: A joystick is a(n) _____ device.

    جوائی اسٹک _____ ڈیوائس ہے۔
    • A. Storage
    • B. Input
    • C. Output
    • D. None of these

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

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

    Q17: In order to detect movement of the mouse, a mechanical mouse uses a ______ ball.

    ماؤس کی نقل و حرکت کا پتہ لگانے کے لئے ، ایک مکینیکل ماؤس ______ بال کا استعمال کرتا ہے۔
    • A. None of these
    • B. Silver
    • C. Plastic
    • D. Rubber

    Q18: Mouse is used for _____?

    ماؤس _____ کے لئے استعمال ہوتا ہے؟
    • A. None of these
    • B. Selecting and pointing
    • C. Printing
    • D. Typing
    • A. Hides
    • B. Echoing
    • C. None of these
    • D. Erasers

    Q20: Touch Screen is _____?

    ٹچ اسکرین کیا ہے؟
    • A. Both A & B above
    • B. Input device
    • C. Output device
    • D. None of these