Q29
With respect to deadlocks in an operating system, which of the following statements is/are FALSE?
More than one option can be correct.
Show answer without attempting
Answer: A, C
GATE CS · 11 questions
11 Operating Systems questions from GATE CS papers (2026), each with the official answer key. Answer any question right here and it is marked straight away, or practise them one at a time.
Answer: A, C
Answer: 6
Answer: B, C
Answer: 77.3
int main () {
int i;
for (i = 0; i < 3; i++){
if (fork() == 0){
continue;
}
break;
}
printf("Hello!");
return 0;
}Answer: 4
Answer: 9.5
Answer: B
Wait(A);
Print(*);
X = X+1;
If (X == 2)
{
Print($);
Signal(B);
}
Signal(A);
Wait(B);
Print(#);
Signal(B);Answer: A, B, C
Answer: 16417
Answer: 1536
Answer: 3
0/110 correct0 marks