0% found this document useful (0 votes)
12 views

Chapter 4 IO no an pr

The document consists of a series of multiple-choice questions related to I/O modules, interrupt handling, and data transfer methods in computer systems. It covers topics such as the advantages of interrupt-driven I/O, the role of direct memory access (DMA), and the differences between human-readable and machine-readable devices. Additionally, it addresses the complexities of managing multiple I/O devices and the functions of various I/O techniques.

Uploaded by

kimoanh065
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Chapter 4 IO no an pr

The document consists of a series of multiple-choice questions related to I/O modules, interrupt handling, and data transfer methods in computer systems. It covers topics such as the advantages of interrupt-driven I/O, the role of direct memory access (DMA), and the differences between human-readable and machine-readable devices. Additionally, it addresses the complexities of managing multiple I/O devices and the functions of various I/O techniques.

Uploaded by

kimoanh065
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

1 . Why are peripherals not connected directly to the system bus?

A) They are too large.


B) They are slower than the processor.
C) They have different power requirements.
D) They are faster than the system memory.

2. Which of the following is NOT a function of an I/O module?


A) Error detection
B) Control and timing
C) Direct communication with memory
D) Data buffering

3. What is the primary advantage of interrupt-driven I/O over programmed I/O?


A) The processor does not need to wait for the I/O operation to complete.
B) I/O operations are faster.
C) It allows the use of multiple I/O devices simultaneously.
D) It reduces system cost.

4. What is the primary purpose of direct memory access (DMA)?


A) To allow the processor to control all data transfers.
B) To enable data transfer between I/O devices without involving the CPU.
C) To speed up memory access.
D) To reduce memory fragmentation.

5. Which of the following I/O command types is used to activate a peripheral device?
A) Read
B) Write
C) Control
D) Test
6. Which I/O technique is the most efficient for large data transfers?
A) Programmed I/O
B) Interrupt driven I/O
C) Direct memory access (DMA)
D) Isolated I/O

7. What happens when an I/O device issues an interrupt?


A) The processor continues executing the current instruction.
B) The processor stops and waits for the interrupt to be processed.
C) The processor branches to an interrupt service routine.
D) The I/O device resets.

8. What technique is used in memory mapped I/O?


A) A separate address space for I/O devices.
B) I/O devices and memory share the same address space.
C) Each I/O device has its own unique address.
D) A single control line is used for all devices.

9. Which of the following is a human-readable external device?


A) Printer
B) Magnetic disk
C) Sensor

D) Actuator

10. What is the main drawback of interrupt driven I/O?


A) It is more complex to implement than programmed I/O.
B) It is slower than programmed I/O.
C) It requires more memory.
D) It limits the number of I/O devices that can be used.

1 1 . Which category of external devices includes sensors and actuators?


A) Human-readable
B) Communication
C) Machine readable
D) Memory mapped

12. What kind of data is typically transferred between a keyboard and the computer?
A) Control signals
B) Data packets
C) Characters represented by binary codes
D) Memory addresses

13. What is the International Reference Alphabet (IRA) primarily used for in I/O devices?
A) Encrypting data
B) Displaying control characters
C) Standardizing character representation
D) Coding I/O instructions
Correct Answer: C
Explanation: The IRA standardizes how characters are represented in binary code for
communication between devices.

14. Which of the following describes the function of data buffering in an I/O module?
A) Detecting errors during transmission
B) Matching the speed between memory and I/O devices
C) Storing large data blocks temporarily
D) Decoding commands from the CPU

15. In which scenario would programmed I/O be considered inefficient?


A) When dealing with large data transfers
B) When only small data packets are transferred
C) When memory access speed is high
D) When only one I/O device is involved

16. Which method is used to detect which I/O device issued an interrupt in a system with
multiple devices?
A) Software poll
B) Direct memory access
C) Programmed I/O
D) Memorymapped I/O

17. What advantage does a vectored interrupt have over a nonvectored interrupt?
A) It eliminates the need for polling.
B) It allows multiple interrupts to be processed simultaneously.
C) It prioritizes interrupts based on device type.
D) It enables I/O devices to bypass the processor.

18. Which I/O module function involves transmitting error status to the processor?
A) Control and timing
B) Error detection
C) Data buffering
D) Processor communication

19. Which I/O method allows the CPU to execute other tasks while waiting for an I/O
operation to complete?
A) Programmed I/O
B) Interruptdriven I/O
C) Direct memory access (DMA)
D) Memorymapped I/O

20. Which external device category is suitable for remote communication?


A) Human-readable
B) Machine-readable
C) Communication
D) Processor communication

21. What does the term 'isolation' in isolated I/O refer to?
A) Using separate address spaces for I/O devices and memory
B) Using a shared address space for I/O devices and memory
C) Using a separate control unit for each I/O device
D) Using direct connections between I/O devices and the CPU

22. What is a potential drawback of using DMA?


A) The CPU is completely bypassed during data transfer.
B) It may cause the CPU to execute more slowly during transfers.
C) It increases the overall system cost.
D) It limits the number of devices that can be attached.

23. What problem arises when multiple I/O modules use the same interrupt line?
A) The processor cannot identify which module caused the interrupt.
B) The processor has to poll each device separately.
C) Data transmission errors increase.
D) It requires more processing power.

24. In direct memory access, which of the following is true?


A) The CPU is heavily involved in data transfer.
B) Data passes through the DMA chip during transfer.
C) The DMA controller manages the data transfer between memory and the I/O device.
D) Only one I/O device can use DMA at a time.

25. Which of the following best describes the difference between human-readable and
machinereadable devices?
A) Humanreadable devices are slower than machinereadable devices.
B) Humanreadable devices communicate with the user, while machinereadable devices
communicate with other machines.
C) Humanreadable devices are larger in size than machinereadable devices.
D) Humanreadable devices use a different power source than machinereadable devices.

26. Which I/O technique requires the CPU to continuously check the status of the I/O device?
A) Programmed I/O
B) Interruptdriven I/O
C) Direct memory access (DMA)
D) Isolated I/O

27. Which design issue is related to multiple I/O devices generating interrupts
simultaneously?
A) Processor communication
B) Data buffering
C) Device identification
D) Timing control

28. What is the main function of the Intel 82C59A interrupt controller?
A) To transfer data between memory and I/O devices
B) To handle multiple interrupts from different devices
C) To increase data transfer rates
D) To store I/O commands in a buffer

29. What is the purpose of vectored interrupts?


A) To prioritize interrupt requests
B) To speed up memory access
C) To direct the CPU to the correct interrupt service routine
D) To reduce data transmission errors
30. What is the purpose of using a daisy chain in interrupt handling?
A) To identify which device caused the interrupt
B) To increase the data transfer rate
C) To buffer data between the CPU and the I/O device
D) To control the priority of multiple devices on a single interrupt line

You might also like