Reference no: EM131113164
Operating Systems Assignment-
Question 1 - There are four processes P1, P2, P3 and P4 that enter the ready queue of a uni-processor system in the order above at the same time. Their service time requirements are listed below, in CPU time units:
a. Show how the processes are scheduled if FCFS scheduling is employed, using the timing diagram format found in our in class examples). What are the waiting times of the four processes in the ready queue? What is the average waiting time?
b. Show how the processes are scheduled if Round Robin scheduling is employed (use a time slice length of 2 time units). What are the waiting times of the four processes in the ready queue (i.e. how long does each process spend in total waiting to run)? What is the average waiting time?
Question 2 - Consider a paged virtual memory system with 32-bit virtual addresses and 1K byte pages. A hierarchical page table structure is to be employed. It is desired to limit the size of each part of the page table to one page. Each page table entry requires 32 bits.
a. How many levels of page tables are required? Explain.
b. What is the size of the page table at each level? Hint: One page table size is smaller.
c. The smaller page size could be used at the top level or the bottom level of the page table hierarchy. Which strategy consumes the least number of pages?
Question 3 - Consider the organization of a UNIX file as represented by the inode. Assume that there are 12 direct block pointers and a singly, doubly, and triply indirect pointer in each inode. Further, assume that the system block size and the disk sector size are both 512 bytes. If the disk block pointer is 4 bytes, then:
a. What is the maximum file size supported by this system? Give your answer as four separate values; the number of bytes that can be accessed directly, the number of bytes accessed using a single indirect reference, double indirect reference, and triple indirect reference.
b. Assuming no information other than that the file inode is already in main memory, how many disk accesses are required to access the byte in position 13,423,956?
Question 4 - A process contains seven virtual pages on disk and is assigned a fixed allocation of three page frames in memory. The following page trace occurs:
3, 2, 4, 3, 4, 2, 2, 3, 4, 5, 6, 7, 7, 6, 5, 4, 5, 6, 7, 2, 1
a. Show the successive pages residing in the three frames using the LRU replacement policy. Compute the hit ratio in main memory (i.e. the number of page references found in main memory divided by the total number of references). Assume that the frames are initially empty.
b. Repeat part (a) for the FIFO replacement policy.
Visible analyst diagramming tool
: Draw a level 0 data flow diagram for the real estate system using Visible Analyst diagramming tool.
|
Bad debt reporting issues clark pierce conducts
: Bad-Debt Reporting Issues Clark Pierce conducts a wholesale merchandising business that sells approximately 5,000 items per month with a total monthly average sales value of $250,000.
|
Find the rotor copper loss at full load
: Find the rotor copper loss at full load and the speed at maximum torque. Compute the value of the per-phase rotor resistance (referred to the stator) that must be added in series to produce a starting torque equal to the maximum torque.
|
Assumption that the signal travels
: How long does it take on the average to send the message from the source to the destination? Make an assumption that the signal travels at a speed of 2 x 105 km/second.
|
What is the size of the page table at each level
: COMP 3430 Operating Systems Assignment. Consider a paged virtual memory system with 32-bit virtual addresses and 1K byte pages. A hierarchical page table structure is to be employed, What is the size of the page table at each level
|
Determining the metropolitan medical group
: The Metropolitan Medical Group (MMG) merged with the Oak Grove Medical Group (OGMG). The Oak Grove Medical Group has four offices and owns the medical office building where their imaging and radiology lab and physical therapy and diagnostic labora..
|
Show that the rotor current torque power of a poly phase
: show that the rotor current, torque, and electromagnetic power of a poly phase induction motor vary almost directly as the slip, for small values of slip.
|
Discuss the advantages and disadvantage of the gold standard
: Discuss the advantages and disadvantages of the gold standard.
|
What would be the effect of shipping costs
: Suppose that the pound is pegged to gold at 6 pounds per ounce, whereas the franc is pegged to gold at 12 francs per ounce. This, of course, implies that the equilibrium exchange rate should be two francs per pound. If the current market exchange rat..
|