0
0
Operating Systemsknowledge~10 mins

I/O hardware basics in Operating Systems - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the main component responsible for connecting input and output devices to the computer.

Operating Systems
The device that manages communication between the CPU and peripheral devices is called the [1].
Drag options to blanks, or click blank then click option'
Amotherboard
BI/O controller
CRAM
Dpower supply
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the motherboard with the I/O controller.
Thinking RAM handles device communication.
2fill in blank
medium

Complete the code to name the type of device that converts data from one form to another for communication.

Operating Systems
A device that converts digital signals to analog signals or vice versa is called a [1].
Drag options to blanks, or click blank then click option'
Arouter
Bprinter
Cmodem
Dscanner
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing a modem with a router.
Thinking a printer or scanner converts signals.
3fill in blank
hard

Fix the error in the statement about data transfer methods.

Operating Systems
Data transfer where the CPU waits for each byte to be transferred is called [1] transfer.
Drag options to blanks, or click blank then click option'
Aprogrammed I/O
Bdirect memory access
Cinterrupt-driven
Dbuffered
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing interrupt-driven which uses CPU interrupts.
Confusing with DMA which bypasses CPU waiting.
4fill in blank
hard

Fill both blanks to complete the description of a device that temporarily holds data during transfer.

Operating Systems
A [1] is a small storage area that holds data temporarily, and it helps to [2] speed differences between devices.
Drag options to blanks, or click blank then click option'
Abuffer
Bcache
Cincrease
Dreduce
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing buffer with cache.
Thinking it increases speed differences instead of reducing.
5fill in blank
hard

Fill all three blanks to complete the dictionary comprehension that maps device names to their types, filtering only input devices.

Operating Systems
input_devices = { [1]: [2] for [1], [2] in [3].items() if [2] == 'input' }
Drag options to blanks, or click blank then click option'
Adevice
Bdtype
Cdevices
Ddevice_type
Attempts:
3 left
💡 Hint
Common Mistakes
Using the same variable name for key and value.
Not referencing the original dictionary correctly.