Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 4 MCQs Input-Output Organization

CSE211 — Computer Organization And Design 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Peripheral Devices Easy

    Which of the following is an example of an input peripheral device?

  2. Question 2 of 60 Peripheral Devices Easy

    Peripheral devices are also commonly referred to as:

  3. Question 3 of 60 Peripheral Devices Easy

    Which peripheral is classified as both an input and output device?

  4. Question 4 of 60 Input Output Interface Easy

    The main purpose of an I/O interface is to:

  5. Question 5 of 60 Input Output Interface Easy

    In isolated I/O, the memory and I/O addresses are:

  6. Question 6 of 60 Input Output Interface Easy

    When memory and I/O devices share the same address space, the technique is called:

  7. Question 7 of 60 Priority interrupt Easy

    A priority interrupt system is used to:

  8. Question 8 of 60 Priority interrupt Easy

    In a daisy-chaining priority scheme, devices are connected in:

  9. Question 9 of 60 Priority interrupt Easy

    A software method of establishing interrupt priority is called:

  10. Question 10 of 60 Direct memory access transfer Easy

    DMA allows data transfer between memory and I/O devices:

  11. Question 11 of 60 Direct memory access transfer Easy

    During a DMA transfer, the CPU relinquishes control of the:

  12. Question 12 of 60 Direct memory access transfer Easy

    The signal a DMA controller sends to request bus control from the CPU is the:

  13. Question 13 of 60 Direct memory access transfer Easy

    Transferring a whole block of data at once via DMA is called:

  14. Question 14 of 60 Modes of data transfer Easy

    Which mode of data transfer keeps the CPU continuously checking a status flag?

  15. Question 15 of 60 Modes of data transfer Easy

    In interrupt-initiated I/O, the device informs the CPU by:

  16. Question 16 of 60 Modes of data transfer Easy

    Which data transfer mode is fastest for large amounts of data?

  17. Question 17 of 60 UART Easy

    UART stands for:

  18. Question 18 of 60 UART Easy

    A UART primarily converts data between:

  19. Question 19 of 60 UART Easy

    In asynchronous serial transmission, each character frame typically begins with a:

  20. Question 20 of 60 Input/Output Processor Easy

    An Input/Output Processor (IOP) is best described as a:

  21. Question 21 of 60 Peripheral Devices Medium

    A device transfers data to the CPU at a rate that the CPU cannot control, and data must be read exactly when it arrives. Which category of peripheral behaviour does this best describe?

  22. Question 22 of 60 Peripheral Devices Medium

    Why do most peripheral devices require an interface circuit rather than connecting directly to the CPU bus?

  23. Question 23 of 60 Input Output Interface Medium

    In isolated (I/O-mapped) I/O, how does the CPU distinguish an access to an I/O port from an access to memory?

  24. Question 24 of 60 Input Output Interface Medium

    A system uses memory-mapped I/O. What is a direct consequence of this design choice?

  25. Question 25 of 60 Priority interrupt Medium

    In a daisy-chain priority interrupt scheme, how is priority among devices determined?

  26. Question 26 of 60 Priority interrupt Medium

    A priority encoder for 4 interrupt sources produces which of the following outputs?

  27. Question 27 of 60 Priority interrupt Medium

    In a priority interrupt system, what is the primary purpose of the interrupt mask register?

  28. Question 28 of 60 Direct memory access transfer Medium

    During a DMA transfer in cycle-stealing mode, what happens to the CPU?

  29. Question 29 of 60 Direct memory access transfer Medium

    A DMA controller is configured with a starting address of 2000 and a word count of 512. After transferring 200 words, what values do the address register and count register hold (word-addressed)?

  30. Question 30 of 60 Direct memory access transfer Medium

    Why must the CPU issue a bus grant (BG) signal before a DMA controller can begin a transfer?

  31. Question 31 of 60 Modes of data transfer Medium

    In programmed I/O, what does the CPU spend most of its time doing while waiting for a slow device?

  32. Question 32 of 60 Modes of data transfer Medium

    Which mode of data transfer allows the CPU to continue useful work and be notified only when a device needs service?

  33. Question 33 of 60 Modes of data transfer Medium

    For transferring a large block of data from a high-speed disk to memory with minimal CPU involvement, which mode is most appropriate?

  34. Question 34 of 60 Modes of data transfer Medium

    In the strobe control method of asynchronous data transfer, what is a key limitation compared to handshaking?

  35. Question 35 of 60 UART Medium

    A UART is configured for 8 data bits, 1 start bit, 1 stop bit, and no parity. What fraction of each transmitted frame carries actual data?

  36. Question 36 of 60 UART Medium

    In a UART, what is the primary function of the shift registers used during transmission and reception?

  37. Question 37 of 60 UART Medium

    A UART transmits data asynchronously. How does the receiver know when a new character begins?

  38. Question 38 of 60 Input/Output Processor Medium

    How does an Input/Output Processor (IOP) differ fundamentally from a simple DMA controller?

  39. Question 39 of 60 Input/Output Processor Medium

    In an IOP-based system, how do the CPU and IOP typically coordinate their activities?

  40. Question 40 of 60 Input/Output Processor Medium

    What is the main advantage of using an IOP in a computer system with heavy I/O demands?

  41. Question 41 of 60 Direct memory access transfer Hard

    A DMA controller transfers data in cycle-stealing mode. The CPU has a memory cycle time of , and the I/O device produces data at (one byte per transfer). What fraction of the memory bandwidth is consumed by DMA?

  42. Question 42 of 60 Priority interrupt Hard

    In a daisy-chain priority scheme with 4 devices, the priority-in () of the highest device is tied to 1. If device 2 (second in chain) is requesting an interrupt while device 1 is not, what are the (priority-out) values of devices 1, 2, 3, and 4 respectively?

  43. Question 43 of 60 UART Hard

    A UART is configured for baud, 8 data bits, even parity, and 2 stop bits. What is the effective data throughput in bytes per second (payload only)?

  44. Question 44 of 60 Modes of data transfer Hard

    In programmed I/O, the CPU wastes cycles polling a status flag. If checking the flag takes and a device becomes ready on average every , roughly how many polling checks are wasted per transfer?

  45. Question 45 of 60 Input Output Interface Hard

    An isolated I/O (I/O-mapped) system uses separate control lines for memory and I/O. Which is the primary architectural disadvantage compared to memory-mapped I/O?

  46. Question 46 of 60 Direct memory access transfer Hard

    A DMA controller has a 16-bit address register and a 16-bit word-count register. It starts at address with a count of . After transferring in burst mode, at what address does the last word get written, assuming byte-addressable memory and 1 byte per transfer?

  47. Question 47 of 60 Priority interrupt Hard

    A parallel priority interrupt system uses a mask register and a priority encoder. If the mask register is (bit position 0 is highest priority, MSB) and pending interrupts are , which interrupt (bit position) will be serviced?

  48. Question 48 of 60 Input/Output Processor Hard

    In an IOP-based system, the CPU issues a command to the IOP by placing an instruction in memory and executing a specific operation. What is the term for the CPU-to-IOP communication that initiates channel program execution?

  49. Question 49 of 60 UART Hard

    A UART receiver samples each incoming bit at the baud rate. If the transmitter clock is faster than the receiver clock, after how many bits (from the start bit sampling point) is there risk of sampling the wrong bit, given the sample point drifts by per bit relative to center?

  50. Question 50 of 60 Modes of data transfer Hard

    Consider transferring a block. Interrupt-driven I/O costs overhead per byte (context save/restore), while DMA costs a fixed setup plus per byte. What is the approximate speedup of DMA over interrupt-driven I/O?

  51. Question 51 of 60 Peripheral Devices Hard

    A hard disk rotates at with an average seek time of and a transfer rate of . What is the approximate average access time to read a block?

  52. Question 52 of 60 Direct memory access transfer Hard

    During DMA, the CPU is temporarily disconnected from the buses. Which technique allows the CPU to continue executing from cache/registers while DMA proceeds, minimizing stalling?

  53. Question 53 of 60 Priority interrupt Hard

    In a system with an interrupt priority structure, a low-priority ISR is executing when a higher-priority interrupt arrives. For correct nested handling, what must the low-priority ISR have done immediately upon entry?

  54. Question 54 of 60 Input Output Interface Hard

    An I/O interface uses a status register with a busy flag and a done flag. A subtle race occurs if the CPU reads data before checking done. Which handshaking property prevents this data-corruption edge case?

  55. Question 55 of 60 Input/Output Processor Hard

    A selector channel and a multiplexer channel differ fundamentally. Which statement correctly characterizes a multiplexer (byte-multiplexer) channel?

  56. Question 56 of 60 Modes of data transfer Hard

    A processor runs at . Handling one interrupt costs cycles of overhead. A device interrupts times per second. What percentage of CPU time is spent on interrupt overhead alone?

  57. Question 57 of 60 UART Hard

    A UART's transmit shift register and transmit holding register are separate. Why does this double buffering improve throughput at high baud rates?

  58. Question 58 of 60 Peripheral Devices Hard

    Comparing an SSD and an HDD for random 4 KB reads, the SSD dominates. Which architectural property of the SSD is the primary reason?

  59. Question 59 of 60 Direct memory access transfer Hard

    In a system with cache, DMA writing to main memory can cause a coherence problem. What is the specific hazard if the CPU later reads that memory region?

  60. Question 60 of 60 Priority interrupt Hard

    A vectored interrupt system stores the ISR address in a vector table. Compared to polled interrupts, what is the key latency advantage, and its main cost?

That's unit 4

Answer a few questions and your score shows up here.