Gujarat Technological UniversityWinter 2023 examination

GTU 3140702 Operating System (OS) Winter 2023 Question Paper & PDF

B.E. · Computer Engineering · Semester 4 · Subject code 3140702
Download official PDFView PDF here
Share with your class
Total
70 marks
To pass
23 marks (33%)
Duration
2.5 Hours 10:30 AM – 1:00 PM
Questions
5 with internal choice
No solutions on this paper yetNeed them for your exam? Ask once. Papers that students ask for are solved first, and we aim to add them within 24 hours.

8 of 25 questions on this paper were also asked in other years. Each is marked below with the years it appeared.See all 27 repeated 3140702 questions, most asked first

Q.1

14 Marks
(a)
3 marks
Define true virtualization with example.
(b)
4 marksAsked in 2 of 6 papers
Write a shell script to find factorial of an user-defined natural number.

Also asked in Summer 2025 Q4a OR

(c)
7 marks
Draw and explain seven state process state transition diagram in detail.

Q.2

14 Marks
(a)
3 marks
Explain the main function of a dispatcher in brief.
(b)
4 marks
List and briefly define four classes of real-time scheduling algorithms.
(c)
7 marks

Five batch jobs A, B, C, D and E arrive at same time. They have estimated running times 10, 6, 3, 4 and 8 ms. For each of the following algorithm determine mean process turnaround time. Consider process swapping overhead is 1 ms.

1)FCFS
2)Round-Robin (Time quantum = 2 ms)
(c)
7 marks

Five batch jobs P1, P2, P3, P4 and P5 arrive at 0, 1, 2, 3 and 4 ms. They have estimated running times 14, 12, 8, 3 and 6 ms. Their priorities are 3, 5, 2, 1 and 4 respectively with 5 being highest priority. For each of the following algorithm determine mean process turnaround time. Consider process swapping overhead is 0.5 ms.

1)SJF (Non-preemptive)
2)Priority Scheduling (Preemptive)

Q.3

14 Marks
(a)
3 marks
Give the difference between weak semaphore and strong semaphore.
(b)
4 marks
Briefly explain critical section.
(c)
7 marksAsked in 3 of 6 papers
Explain producer-consumer problem and solve it using semaphore.

Write pseudo code for the same.

Also asked in Summer 2026 Q1c, Winter 2024 Q3c

(a)
3 marks
Give the key difference between a mutex and a binary semaphore.
(b)
4 marks
List the requirements for mutual exclusion.
(c)
7 marksAsked in 4 of 6 papers
Explain Dining philosopher problem and its solution using semaphore.

Also asked in Winter 2025 Q2c, Winter 2024 Q3c OR, Summer 2023 Q3c OR

Q.4

14 Marks
(a)
3 marksAsked in 2 of 6 papers
Explain I/O buffering in brief.

Also asked in Winter 2024 Q5a OR

(b)
4 marksAsked in 2 of 6 papers
Write a short note on Access Control List.

Also asked in Summer 2025 Q5a OR

(c)
7 marksAsked in 5 of 6 papers

Write and explain Banker’s Algorithm for deadlock avoidance with suitable example.

Also asked in Winter 2025 Q4c, Summer 2025 Q3c, Winter 2024 Q5c OR, Summer 2023 Q4c

(a)
3 marks
Compare RAID level 3 with RAID level 4.
(b)
4 marks
Write a short note on design principles of OS security.
(c)
7 marks
Write and explain deadlock detection algorithm with suitable example.

Q.5

14 Marks
(a)
3 marks
Explain concept of thrashing.
(b)
4 marks

Given the following track requests in the disk queue, compute for the Total Head Movement (THM) of the read/write head and seek time needed for SSTF Disk Scheduling approach: 86, 147, 91, 230, 94, 168, 270, 30 Consider that the read/write head is positioned at location 150. A seek takes 3 ms per cylinder move. Consider a disk drive with 300 cylinders.

(c)
7 marksAsked in 2 of 6 papers
Explain any three memory placement algorithms with suitable example.

Also asked in Summer 2023 Q4a OR

(a)
3 marks
Compare and contrast paging with fragmentation.
(b)
4 marks

Given the following track requests in the disk queue, compute for the Total Head Movement (THM) of the read/write head and seek time needed for C-SCAN Disk Scheduling approach: 95, 180, 34, 119, 11, 123, 62, 64 Consider that the read/write head is positioned at location 50. A seek takes 5 ms per cylinder move. Consider a disk drive with 200 cylinders.

(c)
7 marksAsked in 3 of 6 papers
Explain any three page replacement algorithms with suitable example.

Also asked in Summer 2025 Q4c, Winter 2024 Q5c

More Operating System papers

Questions repeat across sessions. Working through two or three papers shows you which topics GTU asks most.

Preparing with friends?

Send this paper to your class group. Every question has its own link.

About this paper

Official Gujarat Technological University (GTU) examination paper for Operating System (OS) (Winter 2023, B.E. · Computer Engineering, Sem 4). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.

Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.

ViewDownload PDF