Question: When the process is in the I O waiting queue, waiting for the I O to complete. When the I O completes the status of

When the process is in the IO waiting queue, waiting for the IO to complete. When the IO completes the status of the process will be changed to running
Select one:
True
False
There are four concurrent processes W,x,Y and Z. All have a shared variable 'c'.W and x work as follow reads c from memory, increment by one, store c in memory. Y and Z work as follow reads c from memory, decrement by two, stores into memory. Each process of the four call wait on semaphore s before reading, and calls signal after storing. If semaphore s=2, what is the maximum value of c after all four processes complete execution?
Select one:
a.2
b.-1
c.-2
d.1
Assume a computer system has a TLB hit ratio of 90%. It requires 20 nanoseconds to access the TLB, and 80 nanoseconds to access main memory. What is the effective memory access time for this system
Select one:
a.108
b.100
c.180
d.108.5
What is the output of the following code:
int main()
{
int x=5;
if (fork()==0)
else
x++;
xcdots;
printf("%d ??t",x); //print value of x
return ;
]
Select one:
a.5
b.6
c.4
d.64 or 46n
 When the process is in the IO waiting queue, waiting for

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!