Quiz 18.3

DIRECTIONS: Read each question carefully. Then click on the dot next to the answer that most closely fits the question. Try to answer all questions on this quiz and when you are done, click on the grade me button at the bottom.


Coverage: Sections 18.3 to 18.5

  1. What do we call the grouping of bytes in magnetic tapes?
blocking
chunking
polling

  1. Which is faster, peripherals or the CPU?
peripherals
CPU

  1. Which of the following are not part of an I/O protocol?
the signals that appear on I/O port
the format of the data
which transistor family is used for the logic circuits
the timing of the signals

  1. What is SCSI?
a transistor family
a type of CD-ROM
a networking protocol
a peripheral bus protocol

  1. Which UNIX system call is used for almost all transfers into the CPU from a peripheral?
read()
write()
ioctl()
input()

  1. How are device drivers different from a lot of other program code?
it has to be ultra fast
it must be reliable and efficient
it must be very easy to understand and modify

  1. Where does the device driver code reside?
in the operating system
in the peripheral's electronics
in the controller's microprocessor

  1. Why can't the CPU control the peripheral directly? Why must there be an intermediate controller?
the level of detail is too much
different OS's can connect to different peripherals
the OS could directly control the peripheral if programmed to do so
all of the above -