MCA (Revised) ,-4 N Term-End Examination December, 2011
O
MCS-041 : OPERATING SYSTEMS Time : 3 hours Note :
Maximum Marks : 100
Question No. 1 is compulsory. Attempt any three questions from the rest.
1. (a) For the five given processes arriving at time 0, in the order with the length of CPU time in milliseconds :
10
Process Processing Time P1
10
P2 28 P3 32 P4 7 consider the FCFS, SJF and RR (time slice = 10 milliseconds) scheduling algorithms for the above set of process which algorithm would give the minimum average waiting time and minimum average turn around time ?
MCS 041 -
1
P.T.O.
(b)
Explain demand paging with the help of 5 suitable diagrams.
(c)
What is Belady's Anomaly ? In which page 5 replacement algorithm this anomaly occurs ? Explain with an example.
(d)
Explain file system is UNIX. Elaborate on 5 file and directory permissions in UNIX with examples.
(e)
What do you understand by disk
10
scheduling algorithms ? Explain and also calculate the total head movement for FCFS, SSTF and C-SCAN algorithms for the following block sequence : 90, 150, 21, 50, 68, 72, 151, 138. Initially the head is at the cylinder number 50. Draw a suitable set of diagrams to illustrate the algorithm. (f)
What is understood by the kernel of an 5 OS ? What are the classification of an OS based on the Kernel ?
2. (a) Give a problem statement and a solution on 7 diner philosopher's problem. (b) What is a safe sequence ? Explain Banker's 8 Algorithm for the deadlock avoidance with example. MCS-041
2
(c) What is thrashing ? How it is controlled 5 using working set principle ?
3. (a) Differentiate between the following :- 3x2=6 (i)
Master - slave and symmetric multiprocessor OS systems.
(ii) (b)
Paging and segmentation.
Give a security and protection model for a 6 distributed and network operating system (one model each). Differentiate between the two suggested models.
(c)
Explain the Bakery's Algorithm for critical 8 section problem for n number of processes. Give an example to illustrate the solution.
4. (a) What are race conditions ? How race condition originates in an OS ? (b)
Give a short note on RPC Mechanism
6 6
(with example). Also suggest any two limitations of it. (c)
MCS 041 -
Differentiate between :
4x2=8
(i)
Hypercube system and Crossbar system.
(ii)
Segmented paging and paged segmentation.
3
P.T.O.
5. (a) Give short notes on : (i)
Pipes and filters in UNIX.
(ii)
CPU scheduling in a UNIX OS.
(iii)
Overlays.
(iv)
OPT Algorithm.
4x4=16
(b) Differentiate between process and Threads 4 with share.
using working set principle ? 3. (a) Differentiate between the following :- 3x2=6. (i) Master - slave and symmetric. multiprocessor OS systems. (ii) Paging and ...
Mar 5, 2001 - business to science â customers who did a lot of mathematical calculations as well as those who did .... Some of these ideas included ... Control Protocol/Internet Protocol) started to become widely used especially in military.
Mar 5, 2001 - Throughout the history of computers, the operating system has continually ... charged for all of the resources whether or not the job used these resources. ... application, including the highly detailed machine level input/output .... m
Think os a brief. introduction to operating systems free. ... Browser homepage be,mca notes question papers resus online fm. ... programming course by anthony joseph. ... Types of computer programmers codestart blog. ... dhamdhere pdf free.
May 14, 2015 - (Integer) Number indicating scheduling algorithm. 27 int policy;. 28. // Enum values for policy. 29 const short FCFS=0, SJF=1, PRIOR=2, RR=3;.
User IDs identify users, allowing permissions and protections to be per-user. ⦠Group IDs allow users to be in groups, permitting group access rights. 2. Remote File Systems. Files are shared on network. FTP, world wide web, distributed file system
for computer science, computer engineering, and electrical engineering majors. ... Extensive Support Material to. Instructors and Students: Student and instructor.
reinforces design concepts and ties them to real-world design choices through the use of case studies in Linux,. UNIX, Android, and Windows. 8. Teaching and ...
Device management for hard drives, CDs, DVDs, and Blu-ray drives q. Networking basics ... Key concepts of computer and data security q. Simple enough for a ...