Practice Questions – Chapter 7: I/O Systems and Data Compression
Items: 20- Multiple choice, 20- True/False, 10 - Identification
Multiple Choice(20 items)
Question 1: How is the I/O subsystem treated in the computer?
A) As a dependent unit
B) As an independent unit
C) As an extension of the CPU
D) As a peripheral device
Answer: B) As an independent unit
Question 2: Which of the following are generic I/O commands initiated by the CPU?
A) Execute, process, transfer
B) Read, write, scan
C) Load, store, execute
D) Input, output, execute
Answer: B) Read, write, scan
Question 3: What is the role of I/O modules in the computer system?
A) To connect the CPU and memory
B) To act as intermediaries between the CPU and I/O devices
C) To handle interrupt requests from I/O devices
D) To execute I/O commands on behalf of the CPU
Answer: B) To act as intermediaries between the CPU and I/O devices
Question 4: What is the advantage of treating the I/O subsystem as an independent unit?
A) It simplifies the CPU
B) It reduces the cost of I/O devices
C) It improves the speed of I/O operations
D) It allows for customization of I/O devices without affecting the CPU's handling capabilities
Answer: D) It allows for customization of I/O devices without affecting the CPU's handling capabilities
, Question 5: Which form of I/O is considered inefficient because the CPU waits for completion?
A) Programmed I/O
B) Interrupt-driven I/O
C) DMA (Direct Memory Access)
D) Channel I/O
Answer: A) Programmed I/O
Question 6: Which I/O method allows the CPU to continue with other tasks while waiting for I/O
completion?
A) Programmed I/O
B) Interrupt-driven I/O
C) DMA (Direct Memory Access)
D) Channel I/O
Answer: B) Interrupt-driven I/O
Question 7: What is the purpose of DMA (Direct Memory Access)?
A) To handle I/O problems without interrupting the CPU
B) To enable direct communication between I/O module and memory
C) To determine which device handles a CPU command
D) To provide redundancy and improve reliability of disks
Answer: B) To enable direct communication between an I/O module and memory
Question 8: Which I/O method handles I/O problems without interrupting the CPU?
A) Programmed I/O
B) Interrupt-driven I/O
C) DMA (Direct Memory Access)
D) Channel I/O
Answer: D) Channel I/O
Question 9: Which addressing methods are used to determine which device handles a CPU command?
A) Sequential and direct addressing
B) Isolated I/O and memory-mapped I/O
Items: 20- Multiple choice, 20- True/False, 10 - Identification
Multiple Choice(20 items)
Question 1: How is the I/O subsystem treated in the computer?
A) As a dependent unit
B) As an independent unit
C) As an extension of the CPU
D) As a peripheral device
Answer: B) As an independent unit
Question 2: Which of the following are generic I/O commands initiated by the CPU?
A) Execute, process, transfer
B) Read, write, scan
C) Load, store, execute
D) Input, output, execute
Answer: B) Read, write, scan
Question 3: What is the role of I/O modules in the computer system?
A) To connect the CPU and memory
B) To act as intermediaries between the CPU and I/O devices
C) To handle interrupt requests from I/O devices
D) To execute I/O commands on behalf of the CPU
Answer: B) To act as intermediaries between the CPU and I/O devices
Question 4: What is the advantage of treating the I/O subsystem as an independent unit?
A) It simplifies the CPU
B) It reduces the cost of I/O devices
C) It improves the speed of I/O operations
D) It allows for customization of I/O devices without affecting the CPU's handling capabilities
Answer: D) It allows for customization of I/O devices without affecting the CPU's handling capabilities
, Question 5: Which form of I/O is considered inefficient because the CPU waits for completion?
A) Programmed I/O
B) Interrupt-driven I/O
C) DMA (Direct Memory Access)
D) Channel I/O
Answer: A) Programmed I/O
Question 6: Which I/O method allows the CPU to continue with other tasks while waiting for I/O
completion?
A) Programmed I/O
B) Interrupt-driven I/O
C) DMA (Direct Memory Access)
D) Channel I/O
Answer: B) Interrupt-driven I/O
Question 7: What is the purpose of DMA (Direct Memory Access)?
A) To handle I/O problems without interrupting the CPU
B) To enable direct communication between I/O module and memory
C) To determine which device handles a CPU command
D) To provide redundancy and improve reliability of disks
Answer: B) To enable direct communication between an I/O module and memory
Question 8: Which I/O method handles I/O problems without interrupting the CPU?
A) Programmed I/O
B) Interrupt-driven I/O
C) DMA (Direct Memory Access)
D) Channel I/O
Answer: D) Channel I/O
Question 9: Which addressing methods are used to determine which device handles a CPU command?
A) Sequential and direct addressing
B) Isolated I/O and memory-mapped I/O