0
0
Operating Systemsknowledge~20 mins

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

Choose your learning style9 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.