Dronacharya College of Engg Gr. Noida Operating System Subject Code: TCS-601 Cse/It Vi
Dronacharya College of Engg Gr. Noida Operating System Subject Code: TCS-601 Cse/It Vi
Dronacharya College of Engg Gr. Noida Operating System Subject Code: TCS-601 Cse/It Vi
GR. NOIDA
Operating System
Subject Code : TCS-601 CSE/IT VIth
Q.1) Write down the essential difference between the following types of operating
systems.
1. Batch System
2. Real Time System
3. Time Sharing System.
4. Interactive
5. Distributed
6. Network
Q.2) What are the major activities or functions or properties of an operating system.
Or
Why is an operating system needed and how does an O.S work?
Q.3) What is the difference between User mode and kernel mode? List the various
services provided by an O.S. Explain System calls and system program in brief.
1) Multiprogramming
2) Multitasking
3) Shell
4) Kernel
5) Thread
6) Process
Q.6) Explain semaphores. How can semaphore be used to enforce mutual exclusion?
Give a suitable example to explain.
Q.7) Explain Critical Section Problem with suitable example. Explain Inter Process
Communication.
Q.9) What do you understand by Process? Explain various state of a process with suitable
datagram. Explain PCB?
Q.10) Draw and Explain the “Process Transition Diagram”.
Q.13) Consider the system with five process and three resources types at time to, the
following snap shots of the system has been taken
Q.18) Latency Optimization usually has little effect as system performance except under
heavy loads .Why?
Q.20) Suppose that a disk has 5000 Cylinders .The drive is currently servicing a request
.pending request in FIFO order is 80,1470,913,1774,948,1509,1022,1750,130.
What is the total distance that the drive arms moves for the following algo.
1. FCFS
2. SSTF
3. LOOK
4. C-SCAN
Q.21) What is the causes of thrashing? how to eliminate this problem. How many page
fault would occurs for the following reference string, for four page frames using FIFO,
LRU, Optimal algorithm
1,2,3,4,5,5,3,4,1,6,7,8,7,8,9,7,8,9,5,4,5,4,2.
Q.22) Given memory partition of 100K, 500K, 200K, and 300K. how would each of the
First fit, Best Fit and worse Fit algorithm places process of 212K,417K,122K and 426K
(in order) which algorithm makes the most efficient use of memory. Calculate the size of
memory wasted due to external and internal fragmentation.
Q.23) Describe the segmented paging scheme of memory management and the hardware
required to support the system. Explain the page replacement algorithms.
Q.24) Sets of processes are going to execute on sigle cpu they are
Determine the sequence of execution for round robin quantum size =4 and also calculate
Avg. Waiting time for FIFO,SJF (Non Preemptive, Preemptive) Both.
Q.25) Consider a paging system with the page table stored in memory.
i) If a memory tags 200ns. How long does a paged memory reference takes.
ii) If we need TLB and 75% of all page table reference are found in the TLBs.
What is the effective reference time (Assume that Finding a page table entry in TLBs
takes 0 times, if the entry is there)