Recent questions tagged operating-system

2 votes
3 answers
61
Int main (){fork();printf("a");fork();printf("b");return 0;}How many distinct outputs are possible of above code? And also give outputs
0 votes
1 answer
64
Find seek time using FCFS,SSTF, SCAN.C-SCAN, LOOK for the following string98, 183, 37, 122, 14, 124, 65, 67Assume that request queue (0-199).and Head pointer 53
0 votes
1 answer
67
Does PCB stores size of page table?
0 votes
1 answer
68
if there is a deadlock then mutual exclusion or progress or bound wait or circular wait can be there.but if there is no mutual exclusion or any one of the other propertie...
0 votes
1 answer
71
Consider the following C programs P1 and P2.Which of the following is CORRECT?1.Both P1 and P2 will print 5.2.Both P1 and P2 will print 6.3.P1 will print 5 and P2 loops i...
0 votes
0 answers
74
3 votes
1 answer
76
Consider the following code segment :int main (void) { for (int i=2; i<=5; i++) { fork( ); }printf (“GOCLASSES”);How many times “GOCLASSES” is printed by the ab...