Exam Stash

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. 1

    Define Operating System with example.

  2. 2

    Write any two examples of system programs.

  3. 3

    Mention two services provided by an Operating System.

    Current Y.

  4. 4

    What is process management?

  5. 5

    What are some benefits of using a multiprocessor system and multitasking system?

  6. 6

    What is the need for an operating system?

    ISE-1

  7. 7

    Explain Evolution of operating system.

5 marks

  1. 8

    Discuss the advantages and disadvantages of microkernel OS design.

  2. 9

    What is the programming interface that provides interaction between user mode and kernel mode? Explain the types with examples.

  3. 10

    What is the need of distributed operating system.

  4. 11

    Relate Multi tasking and Multiprogramming

  5. 12

    Illustrate System call and Types of System call.

    Current Y. Came for 2 marks

  6. 13

    Describe the Structure of a Computer System

  7. 14

    Illustrate the basic functions of Operating systems in short.

10 marks

  1. 15

    Illustrate different types of Operating System.

  2. 16

    Explain various operating system structures with neat diagram(Architecture).

  3. 17

    List & explain various operating System Services & Interfaces.

  4. 18

    Explain the services provided by an Operating System and their importance in program execution.

  5. 19

    Explain the characteristics, advantages, and disadvantages of Batch Processing, Multiprogramming, and Real-Time Operating Systems with suitable examples.

  6. 20

    Analyze the design issues in building an Operating System and suggest suitable solutions.

  7. 21

    Differentiate between Multitasking, multiprogramming, multiprocessing and multithreading.

Module 2

2 marks

  1. 22

    Name any four process states of a process lifecycle.

  2. 23

    List two situations when a process switch occurs.

  3. 24

    Give the meaning of starvation and aging in process scheduling.

    Current Y.

  4. 25

    List any two objectives of process scheduling.

    ESE

  5. 26

    Explain suspend ready and suspend wait state of a process

    Current Y.

  6. 27

    Differentiate between User Thread and Kernal Thread

  7. 28

    Justify that a short quantum will increase the number of context switches in the system in RR scheduling.

    ISE-1

5 marks

  1. 29

    Differentiate between preemptive and non-preemptive scheduling, providing the same example.

  2. 30

    Analyze the components of a PCB and discuss how each component contributes to the execution and management of a process.

  3. 31

    Illustrate Burst time, Turnaround time, arrival time and waiting time, Throughput in CPU Scheduling

  4. 32

    Describe the different process states with a clear diagram and explain.

  5. 33

    Differentiate between process and thread in operating operating systems, and how do they impact performance and resource management?

  6. 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.

    Current Y. ISE-1

  7. 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

  1. 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.

  2. 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.

  3. 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?

  4. 39

    As Per SUM Given in Exam
    Solve the following using Preemptive Priority Scheduling algorithm and find average waiting
    time for the process

  5. 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.

  6. 41

    Define Scheduler. Compare all types of Schedulers with example.

  7. 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

  1. 43

    Define the Critical section Problem

    ISE-1, ESE

  2. 44

    Compare the independent process and co-operative process

  3. 45

    What problem does Peterson’s Solution address?

    Current Y.

  4. 46

    Describe process synchronization in OS.

    ISE-1

  5. 47

    What are the three fundamental requirements that are essential for effectively managing a critical section

    Current Y.

  6. 48

    How would you define the concepts of Mutual Exclusion in the context of concurrent system design?

  7. 49

    How would you articulate the concept of deadlock, and can you provide real-world examples to illustrate this phenomenon?

5 marks

  1. 50

    Illustrate Wait and Signal operations in Semaphore.

    Current Y.

  2. 51

    Discover the importance of Semaphore in process synchronization. Explain with example

  3. 52

    Propose the solution for Dining philosopher problem using semaphore.

    Current Y.

  4. 53

    Identify the conditions that are necessary to achieve deadlock .

    ISE-1

  5. 54

    Discuss about Two process solution using Turn variable and Flag variable algorithm.

  6. 55

    Peterson solution is used as the two processes solution of critical solution, Justify with code explanation. Justify all three requirements of critical section.

  7. 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?

    ESE

10 marks

  1. 57

    Analyze two classic synchronization problems and explain step by step how their solutions ensure process synchronization.

  2. 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.

  3. 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?

  4. 60

    How can operating systems handle or prevent deadlocks? Discuss different strategies.

  5. 61

    Analyze Producer consumer problem solution code using semaphore.

  6. 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

  7. 63

    Explain how a Resource Allocation Graph (RAG) to detect deadlocks within an operating system using following example

    ESE

Send feedback

Ratings, corrections and requests are all welcome, and every message is read. To share a paper, question bank or notes, pick that topic and paste a link.

How useful is Exam Stash for you? (optional)

Sent to Harsh by email through Web3Forms. See Privacy and use.