Name CMIS 310 Spring 2013 Homework 3

Name Cmis 310 Spring 2013homework 3 W

Identify the essential assignment task: Calculate system transfer rates, analyze interrupt handling timing, create a page translation table, convert addresses between logical and physical memory, answer multiple-choice questions on I/O efficiency and interrupt triggers, determine true/false statements about DMA, match memory management schemes to descriptions, and define terminology for paged systems.

Answer the following questions:

Paper For Above instruction

Question 1: A 32-bit computer has two selector channels and one multiplexor channel. Each selector channel supports two magnetic disk and two magnetic tape units. The multiplexor channel has two line printers, two card readers, and five VDT terminals connected to it. Assume the following transfer rates: Disk drive 700 KB/s, Magnetic tape drive 200 KB/s, Line printer 6.6 KB/s, Card Reader 1.2 KB/s, VDT 1 KB/s. Estimate the maximum aggregate I/O transfer rate in this system.

Question 2: Given a set of events with times and interrupt priorities, show which routines the CPU is executing from 0 to 100 ns, considering each handler routine (with its interrupt request) takes 20 ns to complete. Interrupt priorities range from IRQ6 (highest) to IRQ0 (lowest). Events: 0 ns start main program; 10 ns IRQ1; subsequent IRQs occur at specified times.

Question 3: Create a page translation table to meet a specified virtual memory system with page/frame sizes of 20, pages 0-3, frames 0-7, and logical/physical memory arrangements.

Question 4: A system with 16K memory, page size 2000, and a page translation table (in hexadecimal):

  • a) Indicate the physical address corresponding to logical address 2210.
  • b) Indicate the logical address corresponding to physical address 41B55.

Question 5: Which I/O method is least efficient? Options: a) DMA b) Programmed I/O c) Programmed I/O with Interrupts.

Question 6: Which I/O method is most efficient? Options: a) DMA b) Programmed I/O c) Programmed I/O with Interrupts.

Question 7: The trigger for "Printer ready for more data" is a(n) ___________ event: a) External event interrupt b) Event completion interrupt c) Time allocation interrupt d) Abnormal event interrupt.

Question 8: End of allocated execution time triggers a(n) ___________ interrupt: a) External event interrupt b) Event completion interrupt c) Time allocation interrupt d) Abnormal event interrupt.

Question 9: True or False statements:

  • a) _______ DMA allows the CPU to perform other tasks during I/O transfer.
  • b) _______ DMA provides for high-speed data transfer.
  • c) _______ DMA can transfer only in one direction.

Question 10: Match memory management schemes (A-D) to descriptions:

  • a) allows program to exist in non-contiguous locations
  • b) contiguous allocation of memory with holes created by moving programs
  • c) not capable of multitasking
  • d) size limited by addressing scheme and auxiliary storage, rather than main memory size

Question 11: In a paged system, each logical block is called a ___________, and the corresponding physical block is called a ___________.

End of Questions

Answer the above questions with detailed explanations and calculations where required, providing comprehensive insights into each topic.

References

  • Silberschatz, A., Galvin, P. B., & Gagne, G. (2018). Operating System Concepts (10th ed.). Wiley.
  • Stallings, W. (2018). Operating Systems: Internals and Design Principles (9th ed.). Pearson.
  • Tanenbaum, A. S., & Bos, H. (2015). Modern Operating Systems (4th ed.). Pearson.
  • Silberschatz, A., & Galvin, P. (2019). Operating System Concepts Essentials. Wiley.
  • Stallings, W. (2020). Computer Organization and Architecture (11th ed.). Pearson.
  • Kennedy, D., & Nicholls, P. (2016). Principles of Operating Systems. McGraw-Hill.
  • Kurose, J. F., & Ross, K. W. (2017). Computer Networking: A Top-Down Approach. Pearson.
  • Hennessy, J. L., & Patterson, D. A. (2019). Computer Organization and Design, ARM Edition. Morgan Kaufmann.
  • LaMarca, A., & Kerrisk, M. (2017). The Art of Operating Systems. No Starch Press.
  • Levant, A. (2019). Operating Systems: A Concept-Based Approach. CRC Press.