Operating System - Assignment1

advertisement
OPERATING SYSTEM
ASSIGNMENT-1
Q1 Explain operating system and importance? Explain real time system,
multiprocessing system.
Q2 Discuss process scheduling. Explain all the states of a process?
Q3 Explain threads scheduling. What are the difference between User level
threads and Kernel level threads?
Q4 what is the purpose of System calls .Discuss any five system calls for process
Control?
Q5. Explain page replacement algorithms? Consider three frames and reference
string is :1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6.Calculate page faults using FIFO,
LRU, Optimal.
Q6. Explain memory management without swapping?
Q7 Explain the concept of thrashing.
Q8 Consider the following set of process with CPU burst and arrival time in
milliseconds.
PROCESS
ARRIVAL TIME
BURST TIME
P1
3
10
P2
1
1
P3
4
2
P4
3
1
Draw the Gantt chart and calculate average waiting time and average turnaround
time for FCFS, SJF, Round ROBIN Algorithm(Time quantum=2 ms).
Download