Recent questions tagged operating-system

2 votes
1 answer
2581
1 votes
1 answer
2583
Disk cache have cache access not in heiracrchially manner by default?? I am getting 76 as answer
0 votes
1 answer
2584
Can someone make me clear whether segmentation method of memory allocation is free from internal and external fragmentation.? Also plz give valid explanation in support o...
2 votes
0 answers
2586
int main(void) { if(fork() && fork()) { fork(); } if(fork() || fork()) { fork(); fork(); } printf("\nGate 2017\n"); }How many times "Gate 2017" will be printed?
2 votes
0 answers
2587
for(i=1;i<=3;i++) { fork(); printf("x"); }How many times 'x' is printed ?
0 votes
1 answer
2589
which of the following are private specific to thread?a) pcb) stac pointerc) execution stackd) memory
1 votes
0 answers
2591
does operating system always runs in privileged mode or is there any other way also?
1 votes
1 answer
2593
Which of the following information is not a part of process control block?a) CPU scheduling informationb) CPU-stack pointer valuesc) CPU-timer informationd) CPU- accumula...
0 votes
0 answers
2594
consider the following pseudo codemain(){int t1=0,t2=0,t3=0;t1=fork();t2=fork();if(t1!=0){ t3=fork();printf("0");}}The total number of processes that will be created by t...
1 votes
2 answers
2596
Which of the scheduling alogorithm gives the best throughput for n tasks having r1,r2,...,rn as running time?a) RRb) ShortestJob Firstc) FCFSd) Hiighest-Response Ration N...
0 votes
1 answer
2598
What is system call? Why is it not done in previledge mode?
1 votes
3 answers
2603
Which are invalid process state transition?a. Timer Start: ready->runningb. Timer Out: running->blockedc. I/O: running->readyd. Resume : suspend->running
3 votes
2 answers
2605
Where Does PCB get stored?a) main memoryb) Kernelc) both a & bd) secondary memory
1 votes
2 answers
2607
Q1) _________________ scheduler hold the degree of multi programmingQ2) _________________ scheduler reduces the degree of multi-programming.
2 votes
1 answer
2609
Assume that you have a semaphore associated with each item on a doubly linked list. Using No other synchronization primitive, What is the fewest number of semaphore that ...