Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
7 views
6 pages
CSE2008
Exam paper
Uploaded by
vareddy73382
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save CSE2008 (9) For Later
Download
Save
Save CSE2008 (9) For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
7 views
6 pages
CSE2008
Exam paper
Uploaded by
vareddy73382
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save CSE2008 (9) For Later
Carousel Previous
Carousel Next
Download
Save
Save CSE2008 (9) For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 6
Search
Fullscreen
VIT-AP upvc: UNIVERSITY Apply Knowledge. Improve Life! QUESTION PAPER INTER 2022-2023-CAT 1 Name of the Examination: Course Code: ¢5E2008 Course Title: Operating Systems Setnumber: 1 Date of Exam: 5-0) 2023 (Firv\C 1) Duration: 90 Minutes Total Marks: 50 Instruction: Answer ALL the questions. QL. Write short notes on following: a Virtualization b, Time sharing operating system [10 Marks] Q2. Assuming that the system call fork() never falls, consider the following C programs P1 and P2 executed on 2 Unix/Linux system: [10 Marks] ssPa*/ reat] int main(){ int main(){ fork(); fork(); fork); printf(*VIT-AP\n"); fork(); fork(); printi(*VIT-AP\n"}; printf(*"VIT-AP\n") fork(); printf("VIT-AP\n”) What is the output for the above-mentioned code and justify your answer with the process tree. Q3. Draw Gantt charts for the following set of processes using the following scheduling algorithms: (a) FCFS (b) SIF (Preemptive and Non-preemptive). Compute the walting time and turnaround time for each process assuming the context switch time as 0. What are the average values for waiting time and Turnaround time? How many context switching decisions are made in each case (not counting initial decision to give the CPU to PI)? [10 Marks] Page 1 of 2Process | Burst Time | Arrival Time Pt 8 ° °2 5 1 P3 3 2 Pa 1 3 Ps 7 4 Q4. Assume the following processes that arrive for execution at the time indicated and also the length of the CPU burst time is given in ms, [10 Marks} Process | BurstTime | Priority | Arrival Time PL 0 | s 0 P2 6 2 o [ps 7 4 1 Pa ah let 1 Ps, 5 3 2 a) Give a Gantt chart illustrating the execution of these processes using Round robin (Quantum=5), and Priority (Preemptive and Non preemptive) 'b) Calculate the average TAT and WT for the above scheduling algorithm, QS. What are the two models of inter process communication? What are the strengths and weaknesses of the two approaches? [10 Marks] ‘QP MAPPING | Modute PO PEO No. | Number |COM=PPEd| yameq | meprea | PSOMapped | Marks Qi 1 1 42 1 i i0 a 1 T 12 1 7 10 a3 2 a 25 a 1234 40 a4 2 4 25 4 12,34 io | a5 2 2 i2A 23 12 10 Page 2 of2VIT-A UNIVERSITY ‘Apply Knowledge. Improve Life!” QUESTION PAPER Name of the Examination: WINTER 2022-2023-CAT-1 Course Code: CSE-2008 Course Title: Operating System: setrumber: 3 pate ot exam: 14--02--2223 (PY) Duration: SoMtns rotelmarts:50 CE}) Instructions: 1, Answer all the Questions (Qi. 8) Explain in detail tho role of Operating system as a resource Manager. {SMI +) Discuss the essential properties of Time sharing and distributed systems. IM] (Q2. Consider the following code segment. fom] include
#inolude
int int main t printi('Hello\n"; fork(: for(i=0si
#include
int mainQ, { fork(); fork); forks printf("hello\n"); return 0; 3 What is the output of the program, and how many child processes are created during the execution of this program? Justify your answer. (5M) ) What is a System call? Explain the various types of system calls provided by an operating system, (5M) 2, Direct memory access is used for high-speed I/O devices in order to avoid increasing the CPU’s execution load. a, How does the CPU interface with the device to coordinate the transfer? b, How does the CPU know wien the memory operations are complete? ©. The CPU Is allowed to execute other programs while the DMA controllers transferring data, Does this process interfere with the execution of the user programs? If'so, describe ‘what forms of interference are caused. (om) 3, How cooperating processes can communicate in a shared-memory environment? Explain it with a solution to the producer-consumer problem of having a bounded buffer area, (10M) 4, Consider the set of $ processes whose arrival time and burst time are given below- Process Id [Arriva time Burst time | Priority 2 PL P2 3 Page 1 of 2Process Id Arrival time Burst time | Priority P3 2 i | Hl 4 | P4 3 s | 8s PS 4 2 | 58 Calculate the average waiting time and average turnaround time for Priority scheduling preemptive mode and non-preemptive mode. (The higher number represents higher priority) (om) 5. Consider the following set of processes, with the length of the CPU burst given in milliseconds: Process Burst Time Arrival Time Pi 5 0 P2 3 1 P3, 1 2 Pa Zi 3 PS 3 4 ‘The processes are assumed to have arrived in the order PI, P2, P3, P4 and PS all at time 0. a) Draw Three Gantt charts that illustrate the execution of these processes using the following scheduling algorithms: FCFS, SJF(Non-Preemptive), RR (time quantum = 2), ) What is the turnaround time of each process for each of the scheduling algorithms in part a? c) What is the waiting time of each process for each of these scheduling algorithms? 4) Which of the algorithms results in the minimum average waiting time (over all processes)? (10M) marl ‘Module PO PEO Q.No. | Number |COM*PPEE | Mapped Mapped | PSOMapped | Marks a 1 12 12 12 12 10 a 2 T 12 1 1 10 a 2 4 25 4 10 aa 2 a 25 4 i0 Os 2 4 25 4 10 Page 2 of 2
You might also like
Cmpe242 2008 MT-1
PDF
No ratings yet
Cmpe242 2008 MT-1
6 pages
Cse2008 1
PDF
No ratings yet
Cse2008 1
4 pages
Set B
PDF
No ratings yet
Set B
4 pages
PYQs
PDF
No ratings yet
PYQs
265 pages
OS Itbl 3_2024_Sec01Answers
PDF
No ratings yet
OS Itbl 3_2024_Sec01Answers
2 pages
CPU Scheduling Numericals-1
PDF
No ratings yet
CPU Scheduling Numericals-1
24 pages
Sample Exam Questions: Licence
PDF
No ratings yet
Sample Exam Questions: Licence
18 pages
Assignment-2 on CPU Scheduling
PDF
No ratings yet
Assignment-2 on CPU Scheduling
3 pages
os_assignment_1
PDF
No ratings yet
os_assignment_1
5 pages
Gate Forum 09 CSE Operating System Practice Set PDF
PDF
100% (1)
Gate Forum 09 CSE Operating System Practice Set PDF
120 pages
Os 1 Integrated
PDF
No ratings yet
Os 1 Integrated
2 pages
Practice Set Questions (1) OS
PDF
No ratings yet
Practice Set Questions (1) OS
6 pages
Solution_Unit2_Assignment
PDF
No ratings yet
Solution_Unit2_Assignment
26 pages
VL2018191005671 Da PDF
PDF
No ratings yet
VL2018191005671 Da PDF
2 pages
Final Exam - OS Dec18-19 PDF
PDF
No ratings yet
Final Exam - OS Dec18-19 PDF
6 pages
OS DA1 Question
PDF
No ratings yet
OS DA1 Question
2 pages
Arid Agriculture University, Rawalpindi: Office of The Controller of Examinations
PDF
No ratings yet
Arid Agriculture University, Rawalpindi: Office of The Controller of Examinations
8 pages
DOS Theory Assignment 1
PDF
No ratings yet
DOS Theory Assignment 1
5 pages
Practice Questions Set 3
PDF
No ratings yet
Practice Questions Set 3
5 pages
Os Cia1
PDF
No ratings yet
Os Cia1
7 pages
2231942CS_CPQ_WB-2025_Operating_System
PDF
No ratings yet
2231942CS_CPQ_WB-2025_Operating_System
15 pages
CS303 Operating System - M (Mid - Mo22)
PDF
No ratings yet
CS303 Operating System - M (Mid - Mo22)
1 page
Que Stio N No Type (MC Q/SAT) CO Mapp Ing Answer Key
PDF
No ratings yet
Que Stio N No Type (MC Q/SAT) CO Mapp Ing Answer Key
24 pages
EEE 3132 Assignment 5
PDF
No ratings yet
EEE 3132 Assignment 5
5 pages
It4023 Operating System Concepts (Mid - SP19)
PDF
No ratings yet
It4023 Operating System Concepts (Mid - SP19)
1 page
NovemberDecember 2020
PDF
No ratings yet
NovemberDecember 2020
1 page
quiz os
PDF
No ratings yet
quiz os
7 pages
112 Midterm
PDF
No ratings yet
112 Midterm
4 pages
OSQ1
PDF
No ratings yet
OSQ1
4 pages
GATE Questions - OS - CPU Scheduling
PDF
No ratings yet
GATE Questions - OS - CPU Scheduling
8 pages
Revised Assignment
PDF
No ratings yet
Revised Assignment
8 pages
Operating System Question Bank For Unit 1&2
PDF
No ratings yet
Operating System Question Bank For Unit 1&2
9 pages
Operating System and Assignment
PDF
No ratings yet
Operating System and Assignment
2 pages
CST206 OPERATING SYSTEMS, JANUARY 2024
PDF
No ratings yet
CST206 OPERATING SYSTEMS, JANUARY 2024
3 pages
Midterm OS HUST Spring2021 2
PDF
0% (1)
Midterm OS HUST Spring2021 2
3 pages
Midterm Exam Version 2 With MCQ Correction
PDF
No ratings yet
Midterm Exam Version 2 With MCQ Correction
4 pages
Quiz 1 Questions
PDF
No ratings yet
Quiz 1 Questions
3 pages
Os ND06
PDF
No ratings yet
Os ND06
3 pages
Unit-2
PDF
No ratings yet
Unit-2
13 pages
Pg Trb Os Class3
PDF
No ratings yet
Pg Trb Os Class3
89 pages
Solutions To Set 3
PDF
No ratings yet
Solutions To Set 3
6 pages
QP23EP2 - 290: Time: 3 Hours Total Marks: 100
PDF
No ratings yet
QP23EP2 - 290: Time: 3 Hours Total Marks: 100
1 page
Carlos Gomez HW4
PDF
No ratings yet
Carlos Gomez HW4
9 pages
Os Merged End Sem Pyq
PDF
No ratings yet
Os Merged End Sem Pyq
12 pages
Al3452 Os Qb
PDF
No ratings yet
Al3452 Os Qb
16 pages
ms
PDF
No ratings yet
ms
12 pages
Scheduling Questions
PDF
No ratings yet
Scheduling Questions
19 pages
CSE 4600 Operating Systems Homework Assignment 4: CPU Scheduling
PDF
No ratings yet
CSE 4600 Operating Systems Homework Assignment 4: CPU Scheduling
9 pages
Os Ass1
PDF
No ratings yet
Os Ass1
2 pages
HW3_SolutionsSMU
PDF
No ratings yet
HW3_SolutionsSMU
7 pages
2023 Mid
PDF
No ratings yet
2023 Mid
1 page
Theory Assignment 1
PDF
No ratings yet
Theory Assignment 1
5 pages
OS MOD 2 PYQ
PDF
No ratings yet
OS MOD 2 PYQ
8 pages
OS Solved Finals
PDF
No ratings yet
OS Solved Finals
20 pages
1910b-Schcomputer-Sc-Opreating-Systemcsht-408-Sem-Iv 2016
PDF
No ratings yet
1910b-Schcomputer-Sc-Opreating-Systemcsht-408-Sem-Iv 2016
4 pages
ITPC20 ES 2021 Question Paper
PDF
No ratings yet
ITPC20 ES 2021 Question Paper
3 pages
Operating Systems Test 3: Number of Questions: 25 Section Marks: 30
PDF
No ratings yet
Operating Systems Test 3: Number of Questions: 25 Section Marks: 30
4 pages
Os2022 Midterm Ans
PDF
No ratings yet
Os2022 Midterm Ans
4 pages