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)
42 views
6 pages
OS Pyq
Pyqs college of os
Uploaded by
bohararaj498
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
Save
Save OS pyq For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
42 views
6 pages
OS Pyq
Pyqs college of os
Uploaded by
bohararaj498
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
Carousel Previous
Carousel Next
Download
Save
Save OS pyq 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
Roll No.: _——— Total Pages: 2 Course No.: cs%-325 B.E. (Third Year) Third Year B. Tech. of the Four — Year Integrated Degree Course Examination, 2020-21 (Computer Science Engineering) SEMESTER: Il OPERATING SYSTEMS Time: Two Hours Maximum Marks: 50 ae act “Do not write anything on question paper except Roll Number otherwise it shall be deemed as an of indulging in use of Unfair-means and action taken as per rules”. (@) Attempt any FOUR questions. 5 (i) The question paper has four units. Each unit has two questions. (ii) Attempt one question from each unit. (iv) Answer should be to the point. (iv) All questions carry equal marks. () Assume suitable data, if necessary and indicate the same clearly. Unit 1. (a)_ Explain the following terms with respect to Operating System: i. Threads ii. Semaphores (b) Explain SUF Algorithm with an appropriate example. (6.25 + 6.25) 2 (a) Consider the set of S processes whose arrival time and burst time are given below | process ta Arrival time Burst time | PL 3 4 Pe 5 2 . 3 oO 2 I Pa 5 L 1 -—____* | | PS. 4 [eee ee ee |r 3 Ifthe CPU scheduling policy is FCFS, calculate turnaround time, ‘he average waiting tine and average (b) Defi= voit us Deadlock prevention techniques. (a) What is Deadlock? Also explain vario ; porate characteristics of Segmentation. (6.25 + 6.25) a a (b) Whatis Segmentation? Also el (a) _ Difference between Starvation and Deadlock he same type. These resources are sharey i in esources Of tl n (b) eee ne have peak demands of 3, 4 a & respecte a vy \ ‘ what value of m, deadlock will not occur? A system uses 3 page frames for storing process pages in main memory. It uses the First in First out (FIFO) page replacement policy. Assume that all the Page frames are initially empty. What is the total number of page faults that will occur while processing the page reference string given below- 4,7,6,1,7,6,1,2,7,2 Also calculate the hit ratio and miss ratio. (12.5) (2) Whatis Virtual Memory? Explain with a suitable example. (©) Consider a reference string: 4,7, 6, 1, 7, 6, 1, 2, 7, 2. the number of frames in the memory is 3. Find out the number of page faults respective to Optimal Page Replacement Algorithm, (6.25 + 6.25) (}) Write a brief note n Authentication for implementing security. (6.25 + 6.25) Consider a disk with 250 tracks and the queue has rai indom requests from different processes a 38, 30, 90, 180, 170, 18, 224 initia i "! 2m is at 100. Find the Average Seek length using FIFO, SSTF, SCAN and C-SCANn,n) (CS) COMM NO, C95 EOE) Third Year B. Tech of the Four ~ Year Inter Course Examination (Computer Science Semester - I grated Degree 2021-2022 gineering) Time: Three Hours Maximum Marks: 50 “Do not write anything on question Paper except Roll Number otherwise it shall be doorrad of indulging in use of Unfair-means and action taken as por rulos" () Attempt any FIVE questions. (i) The question paper has four units. Each unit has two quastions, (ii) Attempt at least one question from each unit. (iv) Answer should be to the point. (iv) All. questions carry equal marks. () Assume suitable data, if necessary and indicate the sama claariy. (v) Parl of question must be attempted together. UNITI Q1 (2) _ Whatare the main functions of the operating system. Explain the types of onerating system in brief. (b) What is Process? What is the difference between program and process? using suitable example. a2 (a) Consi ler the following set of process with the arrival time and CPU burst tim milliseconds. Process AT Burst Time Pa o a P2 a 4 P3 2 2 Pa 3 5 What is an average waiting time for these process with pre: {b) What is the difference between user level threads and kernal level thre: what circumstances is one type is better than other.UNIT IL ‘ (a) What is dining philosophers problem? Explain the solution of thi, suitable algorithms 7 eal (bo) Whatare the different deadlock prevention schemes? Exptain (a) Write and explain Banker's algorithm for deadlock avoidance? (b) Write short notes on following: i) Critical Section ii) Race Condition UNIT IIL 2) Explain the difference between logical and physical address. What is swap Explain Swap in and Swap out operation. ' ® b) Write short notes on: i) Demand Paging ii) Internal and external fragmentation (2) Explain the difference between paging and segmentation with example. (b) Explain the First-In-First-Out (FIFO) page replacement algorithm using an example, UNIT Av (2) Explain the various file system features of windows operating system. (b) Suppose a disk drive has has 200 cylinders, numbers from 0 to 199. The dives initially at 53. The queue with request from I/O to blocks in cylinders: 98 183 37 122 14 124 64.67 Count the total head movements of cylinders in SCAN & C-SCAN scheduling. (2) Write short notes on: i) Attributes of File ii) Directory Structure (0) Explain the concept of spooling with allits types and its advantage and disadvan XxXTotal Pagon: 2 Roll No: . Tech. (MY) Course to.: €5 -361 (Pee) THIRD YEAR B.TECH, OF Fi DEGREE COURSE EX, (COMPUTER SCIEN OUR-YEAR INTEGRATED ‘AMINATION, 2022-23 ICE ENGINEERING) SEMESTER. WW Operating Sys Time ~ 3 Hours Max. Marks - 50 UNIT-1 I. (a) What do you mean by Operating system? Explain all functionality of operating system, (5) (6) Discuss in detail about the operating system structure with suitable diagram, 65] 2. (@) Explain the basic of process control block and utility of threads, [3] (b) How do we select a CPU scheduling algorithm for a Particular system? Consider the FCFS, SJF, and RR (quantum = 10 milliseconds) scheduling algorithins for following set of processes. Which algorithm would give the minimum average waiting time? Process] Burst Time Pi 10 Pe DB Ps 3 Pa 7 12 Ps : UNIT-II . ieee 3. (@) Why dining-philosophers problem is considered as a classic synchronization problem? mon .@) Why dining, ‘ (b) How the system recovers from the deadlock automatically. 15} (@) Explain Bankers algorithm for deadlock avoidance. i (©) Describe the terms Critical Section and Race Conditions.~ UNIT-HII (2)What is the purpose of paging in memory management? Explain with suitable example, jy (b) Explain the importance of segmentation in memory management. . ion, the page reference string isencount (a) Suppose that for a particular process under execution, t intered as; 13, 34,5, 3, 4 1, 6, 7,85 7,859 7 859,504 5,452, . How many page faults occur for “FIFO Page Replacement Algorithm” for the above given page reference string for four frames? 5 (b) What is the cause of thrashing? How does the system detect thrashing? Once it detects thrashing, yy. can the system do to eliminate this problem? fl UNIT-IV (@)How the data stored in the files can be organized using the directory structure. Explain. 9 (&) How care must be taken to ensure that system failure does not result in loss of data or in data inconsistency. Explain. { Discuss and compare FCFS and SSTF disk scheduling algorithm with example and suitable diagram of each. (10)
You might also like
Operating System Last 5 Year Question Paper
PDF
100% (1)
Operating System Last 5 Year Question Paper
9 pages
OS Past Papers
PDF
No ratings yet
OS Past Papers
14 pages
OS Question Bank Unit 1-5
PDF
No ratings yet
OS Question Bank Unit 1-5
9 pages
Question Bank - Operating System
PDF
100% (1)
Question Bank - Operating System
4 pages
OS Previous Year
PDF
No ratings yet
OS Previous Year
6 pages
OS Question Bank
PDF
No ratings yet
OS Question Bank
4 pages
CST206 Operating Systems, June 2022
PDF
100% (1)
CST206 Operating Systems, June 2022
3 pages
Operating System
PDF
No ratings yet
Operating System
11 pages
Operating System Questions For Semester Exam
PDF
No ratings yet
Operating System Questions For Semester Exam
40 pages
OS Imps
PDF
No ratings yet
OS Imps
4 pages
Operating System IV Sem PYQS (3year)
PDF
No ratings yet
Operating System IV Sem PYQS (3year)
5 pages
Operating Systems Jan 2023
PDF
No ratings yet
Operating Systems Jan 2023
8 pages
Os Akash
PDF
No ratings yet
Os Akash
131 pages
somyaOS File
PDF
No ratings yet
somyaOS File
44 pages
Govind OS
PDF
No ratings yet
Govind OS
44 pages
Operating Systems
PDF
No ratings yet
Operating Systems
23 pages
OSp R15 Prev Q.papers JNTUH
PDF
No ratings yet
OSp R15 Prev Q.papers JNTUH
15 pages
Os BCT3.2
PDF
No ratings yet
Os BCT3.2
29 pages
Principles of Operating Systems
PDF
No ratings yet
Principles of Operating Systems
19 pages
2023 Pyq
PDF
No ratings yet
2023 Pyq
35 pages
Os Quetion Bank
PDF
No ratings yet
Os Quetion Bank
8 pages
Sybca Os Question Bank
PDF
No ratings yet
Sybca Os Question Bank
17 pages
Os Previous Year Question
PDF
No ratings yet
Os Previous Year Question
16 pages
Unit 1 Compiler
PDF
No ratings yet
Unit 1 Compiler
25 pages
Os Important Questions
PDF
No ratings yet
Os Important Questions
15 pages
Os Pyq
PDF
No ratings yet
Os Pyq
12 pages
Cs Paper - 3 Unsolved 2019,20
PDF
No ratings yet
Cs Paper - 3 Unsolved 2019,20
7 pages
Question Bank OS
PDF
No ratings yet
Question Bank OS
10 pages
Pyq Daa
PDF
No ratings yet
Pyq Daa
11 pages
7.os Question Bank
PDF
No ratings yet
7.os Question Bank
8 pages
Paper 1
PDF
No ratings yet
Paper 1
4 pages
QB Osy W-24
PDF
No ratings yet
QB Osy W-24
5 pages
Operating Systems Jan 2023
PDF
No ratings yet
Operating Systems Jan 2023
8 pages
Gandhinagar Institute of Technology: Computer Engineering Department
PDF
No ratings yet
Gandhinagar Institute of Technology: Computer Engineering Department
6 pages
CamScanner 04-19-2024 12.05
PDF
No ratings yet
CamScanner 04-19-2024 12.05
7 pages
Os Paper All
PDF
No ratings yet
Os Paper All
6 pages
KCS401 - OS - Final Question Bank
PDF
No ratings yet
KCS401 - OS - Final Question Bank
6 pages
OS Question Bank
PDF
No ratings yet
OS Question Bank
4 pages
OS Most Imp Questions PDF
PDF
No ratings yet
OS Most Imp Questions PDF
4 pages
Os QP
PDF
No ratings yet
Os QP
4 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
Operating Systems Exam Paper
PDF
No ratings yet
Operating Systems Exam Paper
4 pages
Cosmos 250127 145935
PDF
No ratings yet
Cosmos 250127 145935
4 pages
Final Exam - OS Dec18-19 PDF
PDF
No ratings yet
Final Exam - OS Dec18-19 PDF
6 pages
ICS 2202 - Operating Systems Concepts - December 2023
PDF
No ratings yet
ICS 2202 - Operating Systems Concepts - December 2023
4 pages
Anna University Question Paper
PDF
No ratings yet
Anna University Question Paper
4 pages
Buah-Buahan Tempatan
PDF
No ratings yet
Buah-Buahan Tempatan
4 pages
SET-02 - SOCS - ESE-DEC23 - B.Tech (CSE-H+NH) - All Spec. - 3 - CSEG2007 - Operating Systems
PDF
No ratings yet
SET-02 - SOCS - ESE-DEC23 - B.Tech (CSE-H+NH) - All Spec. - 3 - CSEG2007 - Operating Systems
3 pages
PP B20L2S1 IN2310 2022-Dec
PDF
No ratings yet
PP B20L2S1 IN2310 2022-Dec
5 pages
Os 2018 Paper
PDF
No ratings yet
Os 2018 Paper
3 pages
CS4107 Operating System - Imsc (End - SP19)
PDF
No ratings yet
CS4107 Operating System - Imsc (End - SP19)
2 pages
OS Concepts
PDF
No ratings yet
OS Concepts
4 pages
2024 July August III II 233 235
PDF
No ratings yet
2024 July August III II 233 235
3 pages
Os 2nd Sessional Solution
PDF
No ratings yet
Os 2nd Sessional Solution
4 pages
Operating System PUT
PDF
No ratings yet
Operating System PUT
2 pages
Operating System
PDF
No ratings yet
Operating System
3 pages
Os 1
PDF
No ratings yet
Os 1
2 pages
Pcit 106 1
PDF
No ratings yet
Pcit 106 1
2 pages
CS2254 QB
PDF
No ratings yet
CS2254 QB
7 pages
Os ND06
PDF
No ratings yet
Os ND06
3 pages
Paper 441
PDF
No ratings yet
Paper 441
2 pages
Bcse1 411
PDF
No ratings yet
Bcse1 411
1 page