Reference no: EM131299758
Suppose that the keyboard device stored keystrokes in a buffer until it was full then sent the entire buffer for processing. What would be some adverse consequences? (Two or three sentences should be adequate to answer this question)
Consider the steps required to write a block of data from a disk to memory. Outline the major sequence of I/O events that must occur to make this possible. (There are three major steps)
How is an arithmetic overflow error or divide by zero error interrupt different than an interrupt from the hard disk controller signaling that a data transfer has completed? (Three or four sentences are sufficient)
Suppose that all programs in a particular CPU are given 50 clock cycles to process before getting swapped out for another program. Suppose also, that it takes 5 CPU clock cycles to swap out the process control block (PCB) for a particular program and restore the next program's PCB. What percent of the CPU clock cycles are used for processing 100 programs? (Hint: calculate: Program clock cycles / (Swap clock cycles + Program clock cycles)). Show your work and how you arrived at the solution.
For a display of 1920 pixels by 1080 pixels at 16 bits per pixel how much memory, in megabytes, is needed to store the image?
What is the average rotational latency of a hard drive rotating at 7,200 RPM or 120 revolutions per second? (Give your answer in milliseconds)
Answer both part a and b.
What is the responsibility of the dispatcher during a context-switch?
There are two levels of scheduling. One level of scheduling determines which jobs will be admitted to the system and in what order. What does the other level of scheduling do?
There are many obvious advantages of a Graphical User Interface (GUI). But what are some disadvantages of a GUI?
How many 512 byte blocks are required to store a 1.6MB file?
Perform the Round-Robin dispatch algorithm, with time quantum equal to 300 milliseconds, on the job queue and calculate:
Job 1 arrives at time 0 and needs 500 milliseconds to complete.
Job 2 arrives at time 300 milliseconds and needs 400 milliseconds to complete.
Job 3 arrives at time 400 milliseconds and needs 200 milliseconds to complete.
Job 4 arrives at time 400 milliseconds and needs 500 milliseconds to complete.
The average wait time. (Hint: average the number milliseconds each job was in a wait state)
Average turn-around-time. (Hint: for each job, count the number of milliseconds from arrival to completion and average)