Unit 1 Questions: 3. What Is Starvation in Operating System?
Unit 1 Questions: 3. What Is Starvation in Operating System?
c. racing
d. context switching
e. system call
2. What are the functions of operating system? Explain various steps involving in routine what are the
different services provided by operating system ?
4. What is operating system? Define the essential properties of the following types of operating sytem:
a. Batch
b. Time sharing
c. Real time operating system
d. Explain the following terms:
e. Spooling
f. Multiprogramming
g. CPU bound & I/O bound
h. System Call
Unit 2 Questions
1. Explain primitive and non primitive scheduling.
2. Discuss multiprogram vs single user system on the basis of throughput and cpu utilization.
3. What is starvation in Operating System?
4. What is aging in Operating System?
5. What is process state and transaction diagram?
Unit 3 Questions
1. What is critical section problem? explain 2 process solution ?
2. Write a semaphore solution for reader writer problem and dinning philosopher's problem.
3. What are the various ways to avoid deadlock.
4. What are the conditions to hold for deadlock occur.
5. Explain the following terms
Race condition
A B C D A B C D A B C D
P0 0 0 1 2 0 0 1 2 1 5 2 0
p1 1 0 0 0 1 7 5 0
p2 1 3 5 4 2 3 5 6
p3 0 6 3 2 0 6 5 2
p4 0 0 1 4 0 6 5 6
granted immediately?
12. What operations can be performed on a semaphore? what is the difference b/w binary and counting
semaphore?
15. Consider a system consisiting of 4 resources of the same type.that are shared by 3 processes,each of
which needs atmost 2 resources. Show that the system is deadlock free.
Unit 4
1. What is the difference between logical address space and physical address
space?
2. Consider the main memory with capacity of 3 frames. Assume that the page of
a process ar referenced in te order as given below:
7,0,1,2,0,3,0,4,2,3,0,3
3. Define Compaction.
4. What is Dirty bit?
5. What is page fault & when does it occur?
6. What are the main types of memory?
7. What is contiguous allocation?
8. What us paging and segmentation?
9. What is fragmentation?
10. How many types of fragmentation occur in Operating System?
11. What is Belady's Anomaly?
12. What is Virtual Memory? How is it implemented?
13. What is demand paging?
14. What is Thrashing?
Unit 5
1. Explain various methods of accessing file with examples.
2. The head of moving head disk with 200 tracks is currently serving a
request for truck 143 and has just finished a request at track 125. The queue
of requests is kept in the FIFO order: 86, 147, 91, 177, 94, 150, 102, 175, 130.
Explain which of the following disk-scheduling algorithms will have the
minimum amount of head movement to satisfy the above requests: (1) FCFS
(2) SSTF (3) SCAN (4) C-SCAN.