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 selection sort can be viewed as a divide and conquer algorithm. Compare selection sort...
Explain why selection sort can be viewed as a divide and conquer algorithm. Compare selection sort with insertion sort with respect to performance (consider worst case and best case running times).
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.
An enterprise resource planning system (ERP) can be a valuable resource to a company to implement...
An enterprise resource planning system (ERP) can be a valuable resource to a company to implement and evaluate a set of corporate strategies. Comment on advantages and reasons why such a system might fail in some industries.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT