Operating System UOG — University of Gujrat 2023
Discussion
Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.
No questions yet — be the first to ask.
Need a paper or stuck on a question? Ask here — students reply and you get an email.
Ask about a paper-
ICT 1st sister paper
0 replies Reply → -
BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…
0 replies Reply → -
Civics course code GCCE101
1 reply Reply → -
BS 4the semester2025 civics and community engagement past paper According UOs
0 replies Reply → -
Bs public administration 1st semester mid term past papers
0 replies Reply →
Paper text
UNIVERSITY OF GUJRAT
FINAL TERM EXAMINATIONS
SPRING-2023
Course Code: IT-224
Course Title: Operating System
Section A
Q. 1 :- Solve the following short questions: 5x4 = 20 Marks
a. Apply LRU and FIFO page replacement techniques/algorithms on the given reference string with fame
size=3:
1,2,3,4,2,1,5,6,2,1,3,7
b. Write some important services of operating system.
c. Show the process state diagram. Enlist and explain the operations of a process.
d. Using Amdhal's law, calculate the speedup gain for the following applications:
• 40% parallel with 4 processing cores
• 67% parallel with 8 processing cores
Section B
Attempt any two out of three: 2x15 = 30 Marks
Q. 2 :- Consider the following set of process with the length of CPU burst give in mili seconds
Process
Burst Time
Arrival Time
Priority (Max No Has High Priority)
P1
4
0
2
P2
6
2
2
P3
3
4
1
P4
3
10
4
Draw Gantt charts that illustrate the execution of these processes using the following scheduling
algorithms;
SJF (Preemptive), Priority (Pre-emptive), RR with Quantum of
2.
Calculate average Turnaround time, and Average waiting time for each Algorithm.
(Continue overleaf)