Question

In: Computer Science

Explain why an operating system can be viewed as a resource allocator. Direct memory access is...

  1. Explain why an operating system can be viewed as a resource allocator.

  2. Direct memory access is used for high-speed I/O devices in order to avoid increasing the CPU’s execution load.

    1. a) How does the CPU interface with the device to coordinate the transfer?

    2. b) How does the CPU know when the memory operations are complete?

    3. c) The CPU is allowed to execute other programs while the DMA controller is transferring data. Does this process interfere with the execution of the user programs? If so, describe what forms of interference are caused.

  3. Describe the operating system's two modes of operation.

Solutions

Expert Solution


Related Solutions

OS(Operating Systems) [3] (a) Define DMA (Direct Memory Access).       (b) An input device can transmit 100...
OS(Operating Systems) [3] (a) Define DMA (Direct Memory Access).       (b) An input device can transmit 100 characters every 4 mils 10 , if the CPU needs 2 mics to service the             Interrupt. How much time is left for asynchronous I/O. What if it can transmit 1000 characters             every 4 mils and the CPU also needs 2 mics for the service routine.             What do you think? Explain your answer in details. [4]  (a) What is the interrupt types? Give examples.                 (b)...
We see that an operating system can be viewed as an "overall framework," as it were,...
We see that an operating system can be viewed as an "overall framework," as it were, for a piece of computing equipment to understand everything about itself. Without an operating system, a computer is just a collection of physical electronic components, disconnected from its surroundings and unable to operate at all. For the Christian, what would you say our "operating system" is? What sort of analogy can you form regarding your "personal operating system" in life? Try and form a...
In a memory system, when the access time of the cache is 10ns and the access...
In a memory system, when the access time of the cache is 10ns and the access time of the main memory is 50ns, what is the hit ratio of the cache if the effective access time is 10% larger than the access time of the cache? (Up to 4 digits below the decimal point) please detail explanation
Explain how an operating system protects main memory in a computer system. Discuss three responsibilities that...
Explain how an operating system protects main memory in a computer system. Discuss three responsibilities that an operating system has for file management in a computer system. Clearly distinguish between interrupt and trap. Give examples to illustrate your answer. Describe time-sharing systems and give an example to illustrate your answer. Discuss the 4 categories in which work concerning information security and protection relating to Operating Systems are grouped.
What is an “open access resource”? Why do open access resources often exhibit what is known...
What is an “open access resource”? Why do open access resources often exhibit what is known as the problem of the “tragedy of the commons”? What properties of efficient property rights are violated by an “open access resource”?
briefly explain the principle that a cache improves the performance of memory access. For a computer,...
briefly explain the principle that a cache improves the performance of memory access. For a computer, suppose that the access to the cache takes 6 ns, and the access to the memory takes 40 ns, what’s effective access time (EAT) given a hit ratio of 90%?
1. a. Explain why modern Operating Systems don’t allow the user to access the hardware directly....
1. a. Explain why modern Operating Systems don’t allow the user to access the hardware directly. b. System calls pass parameters to the kernel using one of three methods: in registers, in a block or table and the address of the block passed as parameter in a register, on the stack. Discuss the advantages and disadvantages of each.
Explain why futures contracts can be viewed as an over-under investment decision. Explain generally when you...
Explain why futures contracts can be viewed as an over-under investment decision. Explain generally when you may wish to be long as opposed to other times when you may wish to be short futures contracts. Provide an example, using today.
Explain why the MRP schedule of a resource is the firm’s demand schedule for the resource...
Explain why the MRP schedule of a resource is the firm’s demand schedule for the resource in a purely competitive product market.
Providing access to healthcare providers and securing a system from inappropriate access can be a difficult...
Providing access to healthcare providers and securing a system from inappropriate access can be a difficult balancing act. In many cases, the more secure a system is, the more restricted access to that system becomes. Discuss situations where this balancing act has created conflict or might create conflict within the clinical area and how that conflict was (or could be) managed.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT