GTU BE04000221 Operating System Summer 2026 Question Paper & PDF
- Total
- 70 marks
- To pass
- 23 marks (33%)
- Duration
- 2.5 Hours 10:30 AM – 1:00 PM
- Questions
- 5 with internal choice
Noted. This paper is in our queue now. Check back tomorrow.
We could not record that here. Email the paper name to hirenjsca@gmail.com and we will add it.
Q.2
14 MarksMethods to be performed are FCFS and SRTF. Do the following:
- Draw Gantt chart
- Find Average Waiting Time
- Find Average Turnaround Time
| Process | Arrival Time | Burst Time |
|---|---|---|
| P1 | 0 | 8 |
| P2 | 1 | 4 |
| P3 | 2 | 9 |
| P4 | 3 | 5 |
What is PCB?Explain the complete life cycle of a process in an operating systm with suitable diagram.
Q.3
14 MarksA system has four processes (P0, P1, P2,) and (P3) and three resource types (A, B and C).The total number of instances of resources (A, B,) and (C) are 12, 8, and 10 respectively. The current Allocation and Maximum matrices are given below: Process Allocation (A B C) Max (A B C) P0 2 3 3 7 6 5 P1 4 2 2 6 5 4 P2 3 1 4 8 4 6 P3 1 2 1 5 3 3 Available Resources:(2, 0, 0) Answer the following:
The following two functions P1 and P2 that share a variable B with initial value of 4 execute concurrently. P1() { C=B-1; B=2*C; } P2() { D= 2*B; B=D-1; } Provide the number of distinct values that B can possibly take after the executions of two functions.
Explain Dinning Philosopher problem and provide possible deadlock situations.
Q.4
14 MarksWhat is thrashing? Explain its effect on CPU Utilization. What should be the solution of it?
3,2,1,0,3,2,4,3,2,1,0,4 provide details on page faults for FIFO,LRU and OPTIMAL algorithms.
What is Translation Lookaside Buffer? Provide its advantages and disadvantages.
A logical address space of 8 MB is mapped to a physical memory of 256 KB using paging. The page size is 4 KB.
Q.5
14 MarksConsider a disk with tracks numbered from 0 to 199. The request queue is: 23, 89, 132, 42, 187, 65, 14, 170 Initial head position = 100 Head movement direction = towards lower track numbers. Solve using FCFS, SSTF, SCAN, and C-SCAN disk scheduling algorithms.
Write a shell script to create a file containing student details such as Full Name, Enrollment Number, Branch, and Semester. The script should also:
- Display the total number of lines in the file
- Display the total number of characters in the file
- Search and display the full student record based on a given string input.
Other Semester 4 subjects
BE Common
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 (Summer 2026, B.E. · Common 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.