Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Operating Systems
Quiz 1 · 26 Oct 2025 (Afternoon)
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.
- Q1MCQ1 Mark·Choose one option

- ATRUE
- BFALSE
- Q2MCQ2 Marks·Choose one option
In RISC-V, during system calls, which register stores the current mode of operation of the processor?
- A

- B

- C

- D

- A
- Q3MCQ2 Marks·Choose one option

- ATRUE
- BFALSE
- Q4MCQ2 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
- Q5MCQ2 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
- Q6MCQ2 Marks·Choose one option
Which of the following sequences of functions determines the steps for the execution of the first process initcode in the xv6 operating system?
- A

- B

- C

- D

- A
- Q7MCQ3 Marks·Choose one option
If the memory map for a device starts from the offset 0x20001000 and has a size of 2048 bytes in a 32-bit addressing scheme, what will be the last address in the memory map?
- A0x200017FF
- B0x20001800
- C0x200016FF
- D0x20000FFF
- Q8MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q9MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q10MCQ3 Marks·Choose one option

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

- A

- B

- C

- D

- A
- Q12MCQ3 Marks·Choose one option

- AThe base address of the process stack.
- BThe return value of the system call.
- CThe number of arguments passed to the system call.
- DThe number identifying the requested system call.
- Q13MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q14MCQ4 Marks·Choose one option

- A2 KB
- B4 KB
- C8 KB
- D16 KB
- Q15MCQ4 Marks·Choose one option
Consider a system with 64 MB of physical memory and a 32-bit virtual address space. Given a page size of 16 KB, what will be the maximum number of page frames that can be present in RAM?
- A2^(10) frames
- B2^(11) frames
- C2^(13) frames
- D2^(12) frames
- Q16MCQ4 Marks·Choose one option

- A

- B

- C

- D

- A
- Q17MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- E

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