OS - Preparatory QB
OS - Preparatory QB
OS QUESTION BANK-17CS64
MODULE 1
1.What is dual mode operation of an OS.
2.Explain with a neat diagram, the simple structure and layered approach for operating system.
3.Explain the different computing environments:
i) Client-server computing
ii)Peer to peer computing
iii) Web based computing.
4. What are the goals of an operating system?
5. Describe the different activities of OS and its responsibility to carry out process management and
memory management.
6.Define the following:
i) Microkernel
ii) Virtual machine.
7.Explain virtual machines and its implementation. What are its advantages?
8.Explain how a system call is invoked by operating system for handling user application.
9.What are the goals of an operating system?
10.Write the sequence of system calls for copying a file to another new file.
11.Write the pictorial representation of CPU switching from process to process.
12.Define the following:
i) Operating system
ii) Process control block.
13.Explain the various computing techniques.
14.Write the neat diagram of process states and explain the different schedulers available in the
operating systems with diagram.
15.What is the difference between trap and an interrupt?
16.Explain the following:
i) Real time embedded systems
ii) Multimedia devices
iii) Hand held devices.
CAMBRIDGE INSTITUTE OF TECHNOLOGY
K.R. PURAM, BENGALURU-560036.
OS QUESTION BANK-17CS64
17. Explain virtual machines and its implementation. Write its advantages?
18. What is a PCB? Draw the various fields in PCB.
19. Describe the implementation of IPC using shared memory and message passing.
20. Describe the implementation of IPC using message passing and shared memory.
OS QUESTION BANK-17CS64
OS QUESTION BANK-17CS64
Find the need matrix and calculate safe sequence using Banker’s algorithm. Mention
the above system is safe or not safe.
2. What are the necessary conditions for deadlock? Explain different methods to recover
from deadlock.
3. What is paging? Explain paging hardware with translation look-aside buffer.
4. Explain the structure of page table with respect to hierarchical paging.
5. Given the 5 memory partitions 100 KB, 500 KB, 200 KB,300 KB and 600 KB, how
each of the first fit, best fit and worst fir algorithms place processes of 212 KB, 417
KB, 112 KB and 426 KB size. Which algorithm makes efficient use of memory?
6. Assume that there are 5 Processes P0 through P4 and 4 types of resources. At time To
we have the following state:
Process Allocation Maximum Available
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
OS QUESTION BANK-17CS64
P2 3 0 2 9 0 2
P3 2 1 1 2 2 2
P4 0 0 0 4 3 3
If a request for P1 arrives for (1 0 2), can the request be granted immediately?
12. Illustrate with example, the internal and external fragmentation problem encountered
in continuous memory allocation.
13. Explain the structure of page table.
14. What is deadlock? What are necessary conditions an operating system must satisfy for
a dead lock to occur?
15. What is a Resource Allocation Graph (RAG)? Explain how RAG is very useful in
describing deadly embrace by considering own example.
16. What are Translation Look aside buffer? Explain TLB in detail with a simple paging
system with a neat diagram.
17. Discuss the various approaches used for deadlock recovery.