Recent questions tagged process

2 2 votes
1 1 answer
88
88 views
Which of the following actions by a running process will always result in a context switch of the running process, even in a non-preemptive kernel design?(a) Servicing a ...
0 0 votes
2 2 answers
557
557 views
Once the process is allocated CPU and executing which of the following events could not occur?The process could issue an I/O request and then be placed in the Ready Queue...
0 0 votes
0 0 answers
281
281 views
Consider the following set of processes with the arrival time and length of CPU Burst time given in milli-seconds ($\mathrm{ms}$):$\begin{array}{|c|c|c|} \hline \textbf{P...
0 0 votes
1 1 answer
258
258 views
Which of the following statements are TRUE about Process Control Block (PCB)?The PCB contains information about the process state, such as whether it is running, waiting ...
0 0 votes
0 0 answers
208
208 views
Given as $4 \mathrm{~GB}\left(\approx 4.3 \times 10^{9}\right.$ bytes $)$ of virtual space and typical page size of $4$ KB and each page table entry is $5$ bytes. How man...
1 1 vote
2 2 answers
682
682 views
How to draw the tree diagram for these types of questions fork() calls ?1.main() { if( fork() ) { if(!fork()) { fork(); printf(" 1 "); } else { fork(); printf(" 2 "); } }...
8 8 votes
1 1 answer
980
980 views
Consider the context switch of a CPU from the context of process P1 to that of process P2.Consider the following two events in the chronological order of the events durin...
0 0 votes
0 0 answers
349
349 views
A process can receive two kinds of signals classified based on the source and reason.Synchronous are the one that are generated by illegal memory access or division by ze...
0 0 votes
1 1 answer
679
679 views
Consider the following statements:S1: LRU page replacement algorithm suffers from the belady's anomalyS2: Shortest remaining time first scheduling may cause starvationsS3...
0 0 votes
2 2 answers
699
699 views
Given below are two statements: one is labelled as Assertion $\text{A}$ and the other is labelled as Reason $\text{R}$.Assertion $\text{A}$: A process involves a library ...
1 1 vote
2 2 answers
1.0k
1.0k views
In Linux Operating System, when ___________is invoked, it is passed a set of flags that determine how much sharing is to take place between the parent and child tasks.for...
0 0 votes
1 1 answer
656
656 views
The main function of the microkernel is to provide a communication facility between the program and the various that are also running in user space.Virtual, ProcessesSyst...