Complete the code to identify the main component responsible for connecting input and output devices to the computer.
The device that manages communication between the CPU and peripheral devices is called the [1].
The I/O controller is the hardware component that manages communication between the CPU and input/output devices.
Complete the code to name the type of device that converts data from one form to another for communication.
A device that converts digital signals to analog signals or vice versa is called a [1].
A modem converts digital data from a computer into analog signals for transmission over phone lines and vice versa.
Fix the error in the statement about data transfer methods.
Data transfer where the CPU waits for each byte to be transferred is called [1] transfer.
Programmed I/O is a method where the CPU actively waits for each data transfer, unlike interrupt-driven or DMA methods.
Fill both blanks to complete the description of a device that temporarily holds data during transfer.
A [1] is a small storage area that holds data temporarily, and it helps to [2] speed differences between devices.
A buffer temporarily stores data and helps reduce speed differences between fast and slow devices during data transfer.
Fill all three blanks to complete the dictionary comprehension that maps device names to their types, filtering only input devices.
input_devices = { [1]: [2] for [1], [2] in [3].items() if [2] == 'input' }This comprehension creates a dictionary of devices where the type is 'input'. 'device' and 'dtype' are variable names for key and value, and 'devices' is the original dictionary.