Recent questions tagged process

0 votes
0 answers
32
1 votes
1 answer
33
0 votes
0 answers
37
test and set is used to implement Lock / Unlock to avoid BUSSY WAITING.above statement is true or false?
0 votes
1 answer
38
is this preemptive or non-preemptive?
0 votes
0 answers
42
when a process is in wait/blocked state it is in MM/disk/buffer?
0 votes
1 answer
43
A printf or malloc takes the process to what state?RunningReadySuspendedTerminated
0 votes
1 answer
44
Explain how..Context Switch overhead is less in thread based systems compared to process based systems.
0 votes
2 answers
45
If an Interrupt occurs during process executing in CPU then the process will move RUN to READY or RUN to WAIT/BLOCK ?
0 votes
1 answer
46
What is the difference between a job,a process and a thread?
0 votes
2 answers
47
How to decide which job is I/O bound or CPU bound?
0 votes
2 answers
48
Which data structure is used to implement the Process Control Block?
0 votes
2 answers
49
Why shortest job first is not practically implementable. There are two possible answers1. Starvation2. Burst time of processes cannot be known ahead.So i am not getting t...
1 votes
1 answer
51
1 votes
0 answers
54
#include <stdio.h>#include <unistd.h>int main(){fork();fork() && fork() || fork();fork();printf("forked\n");return 0;} //How this works specially the level 2 fork() // wi...
1 votes
4 answers
56
1 votes
2 answers
57
1 votes
1 answer
59
If inefficiency of scheduling algorithm is $\frac{Burst Time wasted}{Total Burst Time} X 100$Why do we have to multiply with 100?
2 votes
1 answer
60
On a system with N CPU, what is the maximum number of processes that can be in running state ?A) N processB)Depend on the processes in ready stateC) Can't say