• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

Cmsc 421: Exam 5(with complete solutions)

Document preview thumbnail
Preview 2 out of 8 pages

Device controller correct answers Electronic circuit capable of operating a specific I/O device using binary signals. Its interface is a set of hardware registers and flags, which may be set by and/or examined by device drivers. Device driver correct answers Device-specific program that implements I/O operations, requested by user applications or the OS, by interacting with the device controller. I/O system API instructions correct answers 1) Block-oriented devices (magnetic disks, CD ROMs, FLASH disks) 2) Character-oriented devices (keyboards, pointing devices, cameras, media players, printers) 3) Network devices (modems, Ethernet adapters) A generic interface to a device controller consists of... correct answers A set of registers Device controller registers correct answers Opcode, operands, busy, status, data buffer Opcode Register correct answers The register specifies the type of operation requested. Ex: read or write. Storing a new value into the register starts the I/O operation. Operands Register correct answers One or more operand registers are used to describe the parameters of the requested operation. The values are written by the CPU prior to starting the operation. Busy Register correct answers The register (a 1-bit flag) is set by the controller to indicate whether the device is busy or idle. Status Register correct answers The register is set by the controller to indicate the success or failure of the last I/O operation. Data Buffer Register correct answers The data buffer holds the data to be transferred between the device and main memory. Depending on the device type, the buffer may hold a single character or a block of data. Programmed I/O correct answers Style of I/O programming where the CPU, running the device driver, performs the copying of all data between the I/O device controller and main memory. Polling correct answers Technique to determine whether a device is busy or idle by reading a flag set and reset by the device controller. Direct Memory Access (DMA) correct answers Hardware component that allows devices to access main memory directly, without the involvement of the CPU.


Document information

Uploaded on
May 23, 2024
Number of pages
8
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$11.79

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
23
Followers
6
Items
4026
Last sold
1 month ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.