Computer devices are categorized based on their function:
Let's examine the options provided:
| Device | Primary Function | Input/Output Capability |
|---|---|---|
| Printer | Output (Prints documents) | Output Only (Standard printer) |
| Speaker | Output (Produces sound) | Output Only |
| Touchscreen | Input (Detects touch) & Output (Displays information) | Input and Output |
| Keyboard | Input (Sends keystrokes) | Input Only |
A Touchscreen is unique among the options because it allows users to interact with the computer by touching the screen (input), while simultaneously displaying visual information (output), similar to a standard monitor.
Therefore, the device that functions as both an input and an output device is the touchscreen.