Quiz Space

Operating Systems Quiz 2: 23 November 2025 (September 2025 term)

Question 1

+4 marksOne correct option

Consider the following scenario where two processes are sharing a common variable.

Global setup

c
int turn = 1;

Process 1

c
while(1) {
while(turn == 2); // lock
// critical section
turn = 2; // unlock
// remainder section
}

Process 2

c
while(1) {
while(turn == 1); // lock
// critical section
turn = 1; // unlock
// remainder section
}

Which of the following statements about the given processes is correct?

  1. A

    Process 1 and Process 2 will enter their critical sections simultaneously, leading to race conditions.

  2. B

    Process 1 will always enter its critical section before Process 2.

  3. C

    Process 2 will always enter its critical section before Process 1.

  4. D

    Deadlock can occur if both processes try to enter their critical sections simultaneously.

Also asked in Quiz 2 4 Aug 2024, Quiz 2 16 Mar 2025

Question 2

+3 marksOne correct option
  1. A

    Mutual exclusion

  2. B

    Progress

  3. C

    Bounded waiting

  4. D

    None of these

Question 3

+3 marksOne correct option
  1. A

    7F 42 43 44 02 01 01 00

  2. B

    7F 45 4D 50 02 01 01 00

  3. C

    7F 45 4C 46 02 01 01 00

  4. D

    7F 50 51 52 02 01 01 00

14 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Operating Systems Quiz 2 23 Nov 2025 paper

The IIT Madras BS Operating Systems (Operating Systems) Quiz 2 paper sat on 23 Nov 2025, in the September 2025 term: 17 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureOperating Systems Quiz 2 23 Nov 2025 at a glance
TermSeptember 2025 term
SubjectOperating Systems
Course codeBSCS4022
Questions17
Marks50
Duration120 min
MCQ10
MSQ3
Numerical4
Official paperIIT M DEGREE AN EXAM QDB2 23 Nov 2025 NEW
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More Operating Systems