Filters
Question type

Study Flashcards

In UNIX, part of a path name includes a device name.

A) True
B) False

Correct Answer

verifed

verified

A maskable interrupt can never be disabled.

A) True
B) False

Correct Answer

verifed

verified

Which of the following is TRUE about a serial port controller and a fibre channel (FC) bus controller?


A) Both FC bus controller and serial port controller are often implemented as separate circuit boards.
B) A serial-port controller is a simple device controller, while an FC bus controller is complex.
C) Both FC bus controller and serial port controller are used in PCs.
D) All of the above.

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

A control register in an I/O device control


A) is written by the host to send output.
B) is written by the host to choose half-duplex communication.
C) is read by the host to get input.
D) contains status bits that can be read by the host.

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

Give an example of when an application may need a nonblocking I/O system call.

Correct Answer

verifed

verified

If the user is viewing a web browser, th...

View Answer

Which of the following is NOT a technique used for managing power consumption in mobile devices?


A) Power collapse.
B) chilling with natural sources such as lake water, and solar panels.
C) Component level power management.
D) Wakelocks.

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

Interrupt chaining


A) allows CPU to defer processing of low-priority interrupts without masking all interrupts.
B) splits interrupt management between first level and second level interrupt handlers.
C) is used to handle interrupts but not exceptions.
D) is a compromise between the overhead of a huge interrupt table and the inefficiency of dispatching to a single interrupt handler.

E) B) and D)
F) A) and C)

Correct Answer

verifed

verified

Which of the following principles is used to improve the efficiency of I/O?


A) Reduce the number of times that data must be copied in memory while passing between device and application.
B) Move processing primitives into hardware, to allow their operation in device controllers to be concurrent with CPU and bus operation.
C) Increase concurrency by using DMA-knowledgeable controllers or channels to offload simple data copying from the CPU. 

D) All of the above.

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

D

In a blocking system call, the execution of a process is suspended


A) until the process is woken up by some other process.
B) until a fixed amount of time has elapsed.
C) the kernel raises the priority of that process.
D) the I/O has completed.

E) None of the above
F) All of the above

Correct Answer

verifed

verified

In DMA-based I/O,


A) CPU is relieved from data transfer and is interrupted after every word has been transferred to initiate the next word transfer.
B) cycle stealing can slow down the CPU computation, but off-loading the data-transfer work to a DMA controller generally improves the total system performance.
C) interrupt mechanism is not used.
D) data is transferred to/from a single block of memory, but not to/from multiple blocks.

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

B

An expansion bus is used to connect relatively high speed devices to the main bus.

A) True
B) False

Correct Answer

verifed

verified

Buffering in I/O is used to


A) cope with a speed mismatch between the producer and consumer of a data stream.
B) provide adaptations for devices that have different data-transfer sizes.
C) support copy semantics for application I/O.
D) All of the above.

E) A) and C)
F) C) and D)

Correct Answer

verifed

verified

Which of the following is FALSE about streams?


A) A stream is a full-duplex connection between a device driver and a user-level process.
B) Each stream module contains a pair of queues.
C) The number of modules in a stream is fixed by the operating system.
D) Messages may be dropped in a stream even if flow control is implemented.

E) A) and C)
F) A) and D)

Correct Answer

verifed

verified

C

Technique used to improve I/O efficiency by temporarily storing copies of data is called


A) spooling.
B) buffering.
C) caching.
D) memory mapping.

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

Explain the concept of a bus and daisy chain. Indicate how they are related.

Correct Answer

verifed

verified

A bus is merely a set of wires and a rig...

View Answer

Why is DMA used for devices that execute large transfers?

Correct Answer

verifed

verified

Without DMA, programmed I/O must be used...

View Answer

Explain the concept of polling between a host and a controller.

Correct Answer

verifed

verified

When a host tries to access th...

View Answer

What is the purpose of a UNIX mount table?

Correct Answer

verifed

verified

STREAMS enables an application to assemb...

View Answer

Component that measures elapsed time and to trigger operations is called a


A) programmable interval timer.
B) high performance event timer.
C) network time protocol.
D) socket.

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

An I/O system call returns a one-bit information about the status of the call.

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 30

Related Exams

Show Answer