qb- OS
qb- OS
Short Questions :
1. Define operating systems.
2. What are the different objectives of operating system?
3. What are the two real time systems?
4. Define multiprocessor systems.
5. What is the role of kernel?
6. What is distributed systems?
7. Explain different types of operating system services.
8. Define system calls.
9. Write some examples for Operating Services.
10. Define the types of operating systems.
Long Questions :
1. List out the various objectives & functions of operating system.
7 Explain
(i)Batch System
(ii)Time Sharing System
(iii)Multiprogramming System
(iv)Distributed System
8 Write about functions of Process control and File management System calls.
Unit 2 :
Short Questions :
1. Define process.
2. What are the different types of process concepts?
3. Name the process states with neat diagram.
4. What are the steps involved in process control block.
5. What are the different types of schedulers?
6. Define process scheduling.
7. Define threads. What are the common types of thread?
8. What are the different types of multithreading models?
9. Define scheduling.
10. Name different types of scheduling?
Long Questions :
1. List the attributes of the process. Describe the typical elements of process control block.
3. What is preemptive and non-preemptive scheduling? Evaluate an algorithm for each Scheduling
type.
5. Consider the following four processes, with the length of the CPU burst given in milliseconds.
P1 0 8
P2 1 4
P3 2 9
P4 3 5
Calculate the average waiting time for (i) Preemptive SJF schedule (ii) non-preemptive SJF scheduling.
6. For the following example, calculate average waiting time and turnaround time for SJF and priority
scheduling algorithms.
P1 10 2
P2 29 3
P3 3 1
P4 7 4
P5 12 2
Unit 3 :
Short Questions :
1. Define deadlock.
2. What are conditions under which a deadlock situation may arise?
3. What is a resource-allocation graph?
4. What are the methods for handling deadlocks?
5. Define deadlock prevention.
6. Define deadlock avoidance.
7. What is a safe state and unsafe state?
8. What are the characteristics of deadlock?
9. Define Banker’s algorithm.
10. Define protection.
Long Questions :
1. Explain Deadlock Prevention technique.
3. Explain the resource-allocation graph algorithm for deadlock detection with relevant diagram.
9. How the deadlocks can be avoided? Explain it with the help of necessary algorithms.
10.
a) Explain the steps involved in banker’s algorithm.
b) Explain about resource request algorithm.
Unit 4 :
Short Questions :
1. Define memory management.
2. What are the functions of memory management?
3. Define swapping & fragmentation.
4. What is demand paging and thrashing?
5. Define a) Virtual memory b) Segmentation
6. What are the advantages of segmentation?
7. What are the different types of page replacement algorithms?
8. Define the concept of paging?
9. Draw the diagram of structure of page table.
10. What is the purpose of paging the page tables?
Long Questions :
1. Briefly explain about segmentation?
2. Explain LRU page replacement algorithm with this example. Consider the following reference
string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1
5. Elaborate
a) Contiguous memory allocation
b) Fragmentation.
7. Explain FIFO page replacement algorithm necessary reference string? Consider the following
reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1.
Unit 5 :
Short Questions :
1. What is a file?
2. List the various file attributes.
3. What are the various file operations?
4. What is the information associated with an open file?
5. What is Directory?
6. Write short notes on a) sequential access b) direct access.
7. Explain about indexed sequential access.
8. Define file system mounting.
9. Define file sharing.
10. Draw the diagram for tree structured directories.
Long Questions :
1. Explain about sequential and indexed file access methods.
2. Illustrate layered-file system implementation? Mention the various file-directory structures.
3. Explain the three allocation methods in file system implementation? Illustrate with proper
diagram.
4. Explain
i) File sharing
ii) Protection.
10. Consider the following disk queen with requests for I/O to blocks on cylinders
98,183,37,122,14,124,65,67 in that order, using FCFS algorithm of the disk head is initially at cylinder
53,find the total head movement in cylinders. Also provide the necessary diagram to show the head
movement for the above queue