The correct answer is: A. the former offers faster transfer of data
I/O mapped devices are accessed through special I/O ports, while memory mapped devices are accessed through the same memory addresses as regular data. This means that I/O mapped devices have to go through an extra level of indirection, which can slow down data transfers.
In addition, I/O mapped devices are often limited to a smaller range of memory addresses than memory mapped devices. This can also limit the amount of data that can be transferred at once.
Finally, I/O mapped devices can be more difficult to program than memory mapped devices. This is because I/O mapped devices often require special drivers and software to be installed and configured.
Overall, memory mapped devices offer a number of advantages over I/O mapped devices. They are faster, they have a larger range of memory addresses, and they are easier to program.
Here is a brief explanation of each option:
- A. the former offers faster transfer of data
This is the correct answer. As explained above, I/O mapped devices have to go through an extra level of indirection, which can slow down data transfers. Memory mapped devices, on the other hand, can access data directly from memory, which is much faster.
- B. the devices connected using i/o mapping have a bigger buffer space
This is not necessarily true. The amount of buffer space available for a device depends on the device itself, not on whether it is I/O mapped or memory mapped.
- C. the devices have to deal with fewer address lines
This is also not necessarily true. The number of address lines required for a device depends on the device itself, not on whether it is I/O mapped or memory mapped.
- D. no advantage as such
This is not true. As explained above, memory mapped devices offer a number of advantages over I/O mapped devices.