uiz Space

January 2025 term · Operating Systems · BSCS4022

Operating Systems End Term: 13 April 2025, Set 1 (January 2025 term)

The IIT Madras BS Operating Systems (Operating Systems) End Term paper sat on 13 Apr 2025, in the January 2025 term, set 1: 15 questions for 39 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
15
Marks
39
Duration
180 min
MCQ
10
Numerical
3
MSQ
2

Updated

Official paper: IIT M DEGREE AN EXAM QDB4 13 Apr 2025 · No negative marking.

Question 1

+2 marksOne correct option
  1. A

    Heap overflow

  2. B

    Integer overflow

  3. C

    Buffer overflow

  4. D

    Segmentation fault is guaranteed

Show answer

Correct answer

  • C

    Buffer overflow

Question 2

+2 marksOne correct option
  1. A

    P0, P4, P2, P1, P3

  2. B

    P2, P1, P3, P4, P0

  3. C

    P1, P3, P2, P0, P4

  4. D

    P1, P3, P4, P2, P0

Show answer

Correct answer

  • C

    P1, P3, P2, P0, P4

Question 3

+2 marksOne correct option
  1. A

    a-1, b-2, c-3

  2. B

    a-2, b-1, c-3

  3. C

    a-3, b-1, c-2

  4. D

    a-2, b-3, c-1

Show answer

Correct answer

  • C

    a-3, b-1, c-2

Question 4

+2 marksOne correct option
  1. A

    Process A

  2. B

    Process B

  3. C

    Process C

  4. D

    Process init

Show answer

Correct answer

  • C

    Process C

Question 5

+2 marksOne correct option

If the memory map of the SPI controller starts from the offset 0x40003000 and has an address range of 1024 bytes in a 32-bit addressing scheme, what will be the final address in the memory map of the SPI controller?

  1. A

    0x40003400

  2. B

    0x40003FFF

  3. C

    0x400033FF

  4. D

    0x40003500

Show answer

Correct answer

  • C

    0x400033FF

Question 6

+2 marksOne correct option
  1. A

    The base address is 0xD200400C, and the end address is 0xD2004010.

  2. B

    The base address is 0xD200400C, and the end address is 0xD2004011.

  3. C

    The base address is 0xD200400C, and the end address is 0xD200400F.

  4. D

    The base address is 0xD2004000, and the end address is 0xD2004004.

Show answer

Correct answer

  • C

    The base address is 0xD200400C, and the end address is 0xD200400F.

Question 7

+3 marksOne correct option

What is the correct chain of trust as part of securing data in storage using secure boot?
(i) Boot loader starts execution after validation using signature. (ii) Inherently secure component is taken as root of trust. (iii) Signature of rich OS is validated and loaded. (iv) Check the validity of OS image using signature. (v) Signature of trustlet is validated to detect tampering.

  1. A

    (i) → (ii) → (iii) → (iv) → (v)

  2. B

    (i) → (iii) → (ii) → (v) → (iv)

  3. C

    (ii) → (i) → (iv) → (iii)→ (v)

  4. D

    (ii) → (i) → (iv) → (v) → (iii)

Show answer

Correct answer

  • D

    (ii) → (i) → (iv) → (v) → (iii)

Question 8

+3 marksOne correct option
  1. A

    P1, P2, P3

  2. B

    P2, P3, P1

  3. C

    P3, P2, P1

  4. D

    P1, P3, P2

  5. E

    None of these

Show answer

Correct answer

  • C

    P3, P2, P1

Question 9

+3 marksOne correct option

Consider the following code snippet.

Consider the following code snippet.
What does the above code do?

  1. A

    The code creates three threads, each printing ”OS End term exam” 60 times,resulting in a total of 180 prints.

  2. B

    The code creates four threads, each printing ”OS End term exam” indefinitelyuntil the program is forcibly terminated.

  3. C

    The code creates four threads, each printing ”OS End term exam” 59 times,resulting in a total of 236 prints.

  4. D

    The code creates four threads, each printing ”OS End term exam” 60 times,resulting in a total of 280 prints.

Show answer

Correct answer

  • D

    The code creates four threads, each printing ”OS End term exam” 60 times,resulting in a total of 280 prints.

Question 10

+3 marksOne correct option
  1. A

    8 KB

  2. B

    32 KB

  3. C

    4 KB

  4. D

    1 MB

Show answer

Correct answer

  • C

    4 KB

Question 11

+3 marksNumerical answer
Show answer

Correct answer: 0.8

Question 12

+3 marksNumerical answer

Consider a disk scheduling scenario where the requests are serviced using the SSTF (Shortest Seek Time First) algorithm. The disk head starts at track 50, and the following track requests arrive:
[45, 70, 35, 55, 48, 85, 60, 40, 30]
What is the total number of head movements required to service all the requests using the SSTF algorithm?

Show answer

Correct answer: 75

Question 13

+3 marksNumerical answer
Show answer

Correct answer: 26

Question 14

+3 marksOne or more correct options

Which of the following statements are true regarding CAV (Constant Angular Velocity) and CLV (Constant Linear Velocity)?

Select all that apply.

  1. A

    CAV is commonly used in hard disk drives (HDDs).

  2. B

    CLV keeps the spindle speed constant throughout the operation.

  3. C

    CAV results in varying data transfer rates across different tracks.

  4. D

    CLV is primarily used in optical discs like audio CDs.

Show answer

Correct answers

  • A

    CAV is commonly used in hard disk drives (HDDs).

  • C

    CAV results in varying data transfer rates across different tracks.

  • D

    CLV is primarily used in optical discs like audio CDs.

Question 15

+3 marksOne or more correct options

Which of the following statements correctly describe the different implementations of the Access Control Matrix (ACM) model?

Select all that apply.

  1. A

    In the Capabilities implementation, each subject maintains a list of objects itcan access along with associated permissions.

  2. B

    The Access Control List (ACL) implementation stores permissions for eachobject rather than for each subject.

  3. C

    Delegation of access rights is easier in the ACL implementation compared tothe Capabilities implementation.

  4. D

    Revocation of access rights is easier in the ACL implementation compared tothe Capabilities implementation.

Show answer

Correct answers

  • A

    In the Capabilities implementation, each subject maintains a list of objects itcan access along with associated permissions.

  • B

    The Access Control List (ACL) implementation stores permissions for eachobject rather than for each subject.

  • D

    Revocation of access rights is easier in the ACL implementation compared tothe Capabilities implementation.