1
GATE CSE 2025 Set 2
Numerical
+2
-0

The unit interval $(0,1)$ is divided at a point chosen uniformly distributed over $(0,1)$ in $R$ into two disjoint subintervals.

The expected length of the subinterval that contains 0.4 is _________ . (rounded off to two decimal places)

Your input ____
2
GATE CSE 2025 Set 2
MCQ (Single Correct Answer)
+1
-0.33

Processes $P 1, P 2, P 3, P 4$ arrive in that order at times $0,1,2$, and 8 milliseconds respectively, and have execution times of $10,13,6$, and 9 milliseconds respectively. Shortest Remaining Time First (SRTF) algorithm is used as the CPU scheduling policy. Ignore context switching times.
Which ONE of the following correctly gives the average turnaround time of the four processes in milliseconds?

A
22
B
15
C
37
D
19
3
GATE CSE 2025 Set 2
MCQ (More than One Correct Answer)
+2
-0.67

Consider a demand paging system with three frames, and the following page reference string: 1 2 3 4 5 4 1 6 4 5 1 3 2 . The contents of the frames are as follows initially and after each reference (from left to right):

GATE CSE 2025 Set 2 Operating Systems - Memory Management Question 2 English

The *-marked references cause page replacements.

Which one or more of the following could be the page replacement policy/policies in use?

A
Least Recently Used page replacement policy
B
Least Frequently Used page replacement policy
C
Most Frequently Used page replacement policy
D
Optimal page replacement policy
4
GATE CSE 2025 Set 2
MCQ (More than One Correct Answer)
+2
-0

$P=\left\{P_1, P_2, P_3, P_4\right\}$ consists of all active processes in an operating system.

$R=\left\{R_1, R_2, R_3, R_4\right\}$ consists of single instances of distinct types of resources in the system.

The resource allocation graph has the following assignment and claim edges.

Assignment edges: $R_1 \rightarrow P_1, R_2 \rightarrow P_2, R_3 \rightarrow P_3, R_4 \rightarrow P_4$ (the assignment edge $R_1 \rightarrow P_1$ means resource $R_1$ is assigned to process $P_1$, and so on for others) Claim edges: $P_1 \rightarrow R_2, P_2 \rightarrow R_3, P_3 \rightarrow R_1, P_2 \rightarrow R_4, P_4 \rightarrow R_2$ (the claim edge $P_1 \rightarrow R_2$ means process $P_1$ is waiting for resource $R_2$, and so on for others) Which of the following statement(s) is/are CORRECT?

A
Aborting $P_1$ makes the system deadlock free.
B
Aborting $P_3$ makes the system deadlock free.
C
Aborting $P_2$ makes the system deadlock free.
D
Aborting $P_1$ and $P_4$ makes the system deadlock free.
EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12