Operating System: question bank, Modules 1 to 3
XLSX readable page or the Excel file · 10 KB
63 questions, converted from the Excel file so it reads on a phone. Colours and notes are the ones Harsh kept in the sheet.
Colour key, Harsh's usual pattern
- Red: Repeated in this question bank
Module 1
2 marks
- 1
Define Operating System with example.
- 2
Write any two examples of system programs.
- 3
Mention two services provided by an Operating System.
- 4
What is process management?
- 5
What are some benefits of using a multiprocessor system and multitasking system?
- 6
What is the need for an operating system?
- 7
Explain Evolution of operating system.
5 marks
- 8
Discuss the advantages and disadvantages of microkernel OS design.
- 9
What is the programming interface that provides interaction between user mode and kernel mode? Explain the types with examples.
- 10
What is the need of distributed operating system.
- 11
Relate Multi tasking and Multiprogramming
- 12
Illustrate System call and Types of System call.
- 13
Describe the Structure of a Computer System
- 14
Illustrate the basic functions of Operating systems in short.
10 marks
- 15
Illustrate different types of Operating System.
- 16
Explain various operating system structures with neat diagram(Architecture).
- 17
List & explain various operating System Services & Interfaces.
- 18
Explain the services provided by an Operating System and their importance in program execution.
- 19
Explain the characteristics, advantages, and disadvantages of Batch Processing, Multiprogramming, and Real-Time Operating Systems with suitable examples.
- 20
Analyze the design issues in building an Operating System and suggest suitable solutions.
- 21
Differentiate between Multitasking, multiprogramming, multiprocessing and multithreading.
Module 2
2 marks
- 22
Name any four process states of a process lifecycle.
- 23
List two situations when a process switch occurs.
- 24
Give the meaning of starvation and aging in process scheduling.
- 25
List any two objectives of process scheduling.
- 26
Explain suspend ready and suspend wait state of a process
- 27
Differentiate between User Thread and Kernal Thread
- 28
Justify that a short quantum will increase the number of context switches in the system in RR scheduling.
5 marks
- 29
Differentiate between preemptive and non-preemptive scheduling, providing the same example.
- 30
Analyze the components of a PCB and discuss how each component contributes to the execution and management of a process.
- 31
Illustrate Burst time, Turnaround time, arrival time and waiting time, Throughput in CPU Scheduling
- 32
Describe the different process states with a clear diagram and explain.
- 33
Differentiate between process and thread in operating operating systems, and how do they impact performance and resource management?
- 34
As Per SUM Given in Exam
Analyze and Solve the given example using SJF algorithm. Calculate the average waiting time and average turnaround time. - 35
As Per SUM Given in Exam
Analyze how the choice of a scheduling algorithm (e.g., FCFS vs Round Robin) affects system responsiveness in a time-sharing environment.
10 marks
- 36
As Per SUM Given in Exam
Analyze and Solve the following algorithm using Round Robin algorith and calculate the average waiting time and average response time. Use time quantum=5. - 37
As Per SUM Given in Exam
Analyze and Solve the given example using SJF algorithm (Preemptive and non preemptive mode) and calculate the average waiting time and average turnaround time. - 38
As Per SUM Given in Exam
Analyze and Solve the given example using FCFS and Round Robin algorithm (TQ=2). Calculate the average waiting time for both algorithm and justify which algorithm perform better? - 39
As Per SUM Given in Exam
Solve the following using Preemptive Priority Scheduling algorithm and find average waiting
time for the process - 40
Evaluate various process scheduling algorithms (FCFS, SJF, Round Robin) in terms of CPU utilization, throughput, turnaround time, waiting time, advantages and disadvantages. Suggest which is most suitable for real-time systems and justify your answer.
- 41
Define Scheduler. Compare all types of Schedulers with example.
- 42
As Per SUM Given in Exam
Analyze and Solve the following using FCFS,SJF (Preemptive & Non Preemptive Algorithm) and calculate the average waiting time.
Module 3
2 marks
- 43
Define the Critical section Problem
- 44
Compare the independent process and co-operative process
- 45
What problem does Peterson’s Solution address?
- 46
Describe process synchronization in OS.
- 47
What are the three fundamental requirements that are essential for effectively managing a critical section
- 48
How would you define the concepts of Mutual Exclusion in the context of concurrent system design?
- 49
How would you articulate the concept of deadlock, and can you provide real-world examples to illustrate this phenomenon?
5 marks
- 50
Illustrate Wait and Signal operations in Semaphore.
- 51
Discover the importance of Semaphore in process synchronization. Explain with example
- 52
Propose the solution for Dining philosopher problem using semaphore.
- 53
Identify the conditions that are necessary to achieve deadlock .
- 54
Discuss about Two process solution using Turn variable and Flag variable algorithm.
- 55
Peterson solution is used as the two processes solution of critical solution, Justify with code explanation. Justify all three requirements of critical section.
- 56
As Per SUM Given in Exam
Total Resources available: A=10, B=5, C=7. Analyze the safe sequence of processes to be executed?
10 marks
- 57
Analyze two classic synchronization problems and explain step by step how their solutions ensure process synchronization.
- 58
Explain dining philosopher problem. Consider the deadlock situation that could occur in the dining-philosophers problem when the philosophers obtain the chopsticks one at a time. Determine the possible solutions to the dining philosophers problem that ensure freedom from deadlock.
- 59
How would you analyze and design a solution for the Reader-Writer Problem in operating systems, ensuring that your solution effectively addresses the constraints and requirements related to simultaneous access and data integrity?
- 60
How can operating systems handle or prevent deadlocks? Discuss different strategies.
- 61
Analyze Producer consumer problem solution code using semaphore.
- 62
As Per Sum Given in Exam
Using Banker’s algorithm, answer the following questions:-
i) How many resources of type A, B, C, D are there?
ii) What are the contents of the remaining need matrix?
iii) Find if the system is in safe state? If it is, find the safe sequence - 63
Explain how a Resource Allocation Graph (RAG) to detect deadlocks within an operating system using following example