Bird
Raised Fist0
Operating Systemsknowledge~20 mins

I/O hardware basics in Operating Systems - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
I/O Hardware Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding I/O Device Roles

Which of the following best describes the primary role of an input/output (I/O) device in a computer system?

AIt facilitates communication between the computer and the external environment.
BIt stores data permanently for long-term use.
CIt processes data internally without communicating with other components.
DIt manages the computer's power supply and battery life.
Attempts:
2 left
💡 Hint

Think about how a computer interacts with users or other machines.

📋 Factual
intermediate
2:00remaining
Types of I/O Devices

Which of the following is NOT typically considered an input device?

AScanner
BMouse
CMonitor
DKeyboard
Attempts:
2 left
💡 Hint

Input devices send data to the computer; output devices receive data from the computer.

🔍 Analysis
advanced
2:00remaining
Data Transfer Methods in I/O Hardware

Consider these three data transfer methods used by I/O devices: Programmed I/O, Interrupt-driven I/O, and Direct Memory Access (DMA). Which statement correctly compares their efficiency?

AProgrammed I/O is the most efficient because it uses CPU cycles only when needed.
BDMA requires the CPU to manage every byte transferred, making it the least efficient.
CAll three methods use the CPU equally and have the same efficiency.
DInterrupt-driven I/O reduces CPU idle time by allowing the CPU to perform other tasks until interrupted.
Attempts:
2 left
💡 Hint

Think about how the CPU is involved in each method and when it is free to do other work.

❓ Comparison
advanced
2:00remaining
Comparing I/O Device Speeds

Which of the following correctly ranks these I/O devices from fastest to slowest in typical data transfer speed?

ASSD > USB Flash Drive > HDD
BUSB Flash Drive > SSD > HDD
CSolid State Drive (SSD) > Hard Disk Drive (HDD) > USB Flash Drive
DHDD > SSD > USB Flash Drive
Attempts:
2 left
💡 Hint

Consider the technology behind each device and typical speed benchmarks.

❓ Reasoning
expert
2:00remaining
Impact of I/O Bottlenecks on System Performance

A computer system has a very fast CPU and memory but uses a slow I/O device for data input. What is the most likely effect on overall system performance?

AThe CPU will run at full speed without any delays.
BThe slow I/O device will cause the CPU to wait, reducing overall system speed.
CThe system will automatically speed up the I/O device to match the CPU speed.
DThe slow I/O device will only affect storage capacity, not speed.
Attempts:
2 left
💡 Hint

Think about how the CPU depends on data availability from I/O devices.

Practice

(1/5)
1. Which of the following is an example of an input device in a computer system?
easy
A. Keyboard
B. Monitor
C. Printer
D. Speaker

Solution

  1. Step 1: Understand input devices

    Input devices are hardware that send data into the computer, like keyboards or mice.
  2. Step 2: Identify the correct device

    Among the options, only the keyboard sends data into the computer.
  3. Final Answer:

    Keyboard -> Option A
  4. Quick Check:

    Input device = Keyboard [OK]
Hint: Input devices bring data in; keyboard is classic input [OK]
Common Mistakes:
  • Confusing output devices as input
  • Choosing monitor as input
  • Thinking printer inputs data
2. Which of the following correctly describes the function of an output device?
easy
A. Sends data from the computer to the user
B. Sends data from the user to the computer
C. Stores data permanently
D. Processes data inside the CPU

Solution

  1. Step 1: Define output device function

    Output devices display or send data from the computer to the user or other devices.
  2. Step 2: Match the correct description

    Sends data from the computer to the user correctly states this function, while others describe input, storage, or processing.
  3. Final Answer:

    Sends data from the computer to the user -> Option A
  4. Quick Check:

    Output device = Sends data out [OK]
Hint: Output devices send data out, like screens or printers [OK]
Common Mistakes:
  • Mixing input and output roles
  • Thinking output devices store data
  • Confusing CPU processing with output
3. Consider this list of devices: Mouse, Monitor, Hard Drive, Printer. Which of these are only output devices?
medium
A. Mouse and Hard Drive
B. Hard Drive and Monitor
C. Mouse and Printer
D. Monitor and Printer

Solution

  1. Step 1: Identify device types

    Mouse is input, hard drive is storage, monitor and printer are output devices.
  2. Step 2: Select only output devices

    Only monitor and printer are purely output devices from the list.
  3. Final Answer:

    Monitor and Printer -> Option D
  4. Quick Check:

    Output devices = Monitor, Printer [OK]
Hint: Output devices display or print data, like monitor and printer [OK]
Common Mistakes:
  • Including mouse as output
  • Confusing hard drive as output
  • Mixing input and output devices
4. A user complains that their keyboard is not working. Which of the following is the most likely cause related to I/O hardware?
medium
A. The monitor is turned off
B. The keyboard cable is unplugged
C. The printer is out of paper
D. The CPU is overheating

Solution

  1. Step 1: Understand keyboard as input device

    Keyboard sends input data to the computer; if not working, connection issues are common.
  2. Step 2: Identify the likely hardware cause

    An unplugged keyboard cable stops input; other options affect different devices or functions.
  3. Final Answer:

    The keyboard cable is unplugged -> Option B
  4. Quick Check:

    Keyboard issue = Cable unplugged [OK]
Hint: Check cables first for input device problems [OK]
Common Mistakes:
  • Blaming monitor for keyboard issues
  • Confusing printer problems
  • Thinking CPU overheating stops keyboard input
5. A company wants to set up a video conferencing system. Which combination of I/O hardware devices is essential for this setup?
hard
A. Webcam, Keyboard, Hard Drive, Speakers
B. Keyboard, Printer, Scanner, Monitor
C. Microphone, Webcam, Monitor, Speakers
D. Hard Drive, Mouse, Monitor, Printer

Solution

  1. Step 1: Identify devices needed for video conferencing

    Video conferencing requires input devices to capture audio/video and output devices to display and play sound.
  2. Step 2: Match devices to functions

    Microphone and webcam capture input; monitor and speakers output video and sound. This matches Microphone, Webcam, Monitor, Speakers.
  3. Final Answer:

    Microphone, Webcam, Monitor, Speakers -> Option C
  4. Quick Check:

    Video conferencing needs input/output devices [OK]
Hint: Video calls need mic, camera, screen, and speakers [OK]
Common Mistakes:
  • Choosing storage or printing devices
  • Ignoring audio/video input devices
  • Mixing unrelated peripherals
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard