logo

Crowdly

Browser

Add to Chrome

Questions Bank (1571946 total)

Which kind of meteorological information is normally transmitted in an ATIS?

0%
0%
0%
0%
View this question
View this question
View this question

When compared to icing in stratiform clouds, icing in cumuliform clouds is generally...

❌
❌
❌
✅
View this question

Алгоритми вивантаження та

підвантаження сторінок

View this question

Яку назву має частина ОС, що відповідає за керування пам’яттю?

0%
0%
0%
100%
0%
View this question

Який підхід використовують під час реалізації віртуальної пам'яті, щоб

забезпечити захист пам'яті, переміщення процесів у пам'яті та спільне використання

пам'яті кількома процесами?

75%
0%
25%
0%
0%
View this question

Process P1 and P2 use flag which is initialized to 0  in the below code segment to access  critical section

 try-enter_cs()

{ 

  if (flag==0)

   {  

       flag=1;

      <CS>

      flag=0;

   }

}

The above code leads to 

0%
0%
View this question

The enter_CS() and leave_CS() functions to implement critical section of a process are realized using test-and-set instruction as follows:

void enter_CS(X)

{

while(test-and-set(X));

}

void leave_CS(X)

{

X = 0;

}

In the above solution, X is a memory location associated with the C S and is initialized to 0. The above construct used by    process p1 and p2. So above construct ensures ME?

100%
0%
View this question

The

following program consists of 2 concurrent processes and 2 binary

semaphores. The semaphores are initialized as S0=1, S1=0

Process

P0

Process

P1

while (true) {

wait (S0);

print (0);

release (S1);

}

wait (S1);

Release (S0);

How many times will process P0 print '0'?

0%
0%
0%
100%
View this question