
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Assignment 2 MS(CS), Spring 2012 Maximum Points: 100 Due Date: June 10, 2012
The purpose of this assignment is to give you hands on practice. It is expected that students will solve the assignments themselves. Following rules will apply during the evaluation of assignment. Cheating from any source will result in zero marks in the assignment. Any student found cheating in any of the two assignments submitted will be awarded "F" grade in the course. No assignment after due date will be accepted
Question No. 1 60 The students are required to write a scheduler in C/C++ for FCFS, SJF, and Round Robin Scheduler. The input will be a text file that contains process id, arrival time, total execution time, and priority. The text file can contain arbitrary number of process. At the end of simulation the scheduler needs to inform about mean response time, turnaround time and waiting time.
Question No. 2 20 After reading the paper - On interrupt scheduling based on process priority for predictable real-time behavior you are able to answer that how the interference of lower priority process with the higher priority processes could be reduced? How this approach could be good or bad than that of used in Linux?
Question No. 3 20 You are required to read the paper – Concurrency control with Lock preemption and Restoration and answer what are the issues in lock restoration? How efficient is the lock processing scheme proposed in this paper? Discuss the pros and cons associated with the lock restoration.
Note: The research papers are attached here with.