Search Header Logo

Mid Model Viva

Authored by Devaki P

Computers

University

Used 1+ times

Mid Model Viva
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Job pool is available in ---

Main memory

cache memory

Secondary memory

CPU

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which scheduler is choosing process from ready queue and put it in CPU

Long term scheduler

short term scheduler

mid term scheduler

task scheduler

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid deadlock prevention scheme?

Number the resources uniquely and never request a lower numbered resource than the last one requested

Request and all required resources be allocated before execution.

Release all resources before requesting a new resource

Never request a resource after releasing any resource

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Let m[0]…m[4] be mutexes (binary semaphores) and P[0] …. P[4] be processes. Suppose each process P[i] executes the following:

wait (m[i]);

wait(m[(i+1) mod 4]);

------

release (m[i]);

release (m[(i+1)mod 4]);

This could cause ---

Thrashing

Starvation, but not deadlock

Deadlock

None of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Given that at a particular time of computation, the value of a counting semaphore is 7, then if 20 P operations and 15 V operations were completed on this semaphore, what is the resulting value of the semaphore?

(a) 12

(b) 2

(c) 7

(d) 42

12

7

2

42

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is dirty bit used to show?

Page with corrupted data

Wrong page

Page that is modified after being loaded into cache memory

Page with low frequency occurrence

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a process executes the code

fork();

fork();

fork();

What are the total number of child processes created?

4

3

8

7

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?