Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Operating Systems
Processes, fork, exit & states
Official Paper
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
- Q1MCQ2 Marks·Choose one option

- ATRUE
- BFALSE
- Q2MCQ2 Marks·Choose one option
In the xv6 operating system, suppose a process is running and a timer interrupt occurs. What will be the transition for the process state?
- ARunning → Sleeping
- BRunning → Runnable
- CRunning → Unused
- DState remain unchanged
- Q3MCQ2 Marks·Choose one option
In the xv6 operating system, when a process calls exit(), what will be the state transition of the process?
- ARunning → Sleeping
- BRunnable → Unused
- CRunning → Zombie
- DSleeping → Runnable
- Q4MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q5MCQ3 Marks·Choose one option

- A(i) → (ii) → (iii) → (iv)
- B(i) → (iii) → (ii) → (iv)
- C(ii) → (i) → (iii) → (iv)
- D(iii) → (i) → (ii) → (iv)
- Q6MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q7MCQ4 Marks·Choose one option

- A

- B

- C

- D

- A
- Q8MSQ3 Marks·Choose all correct options

- AProcess Q1 is in the RUNNABLE state.
- BProcess Q2 is in the RUNNING state.
- CProcess Q3 is in the RUNNABLE state.
- DProcess Q3 is in the SLEEPING state.
- EProcess Q4 is in the ZOMBIE state.
- FProcess Q4 is in the SLEEPING state.