
Mid Model Viva

Quiz
•
Computers
•
University
•
Medium

Devaki P
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
SE A-OS-Deadlock

Quiz
•
University
10 questions
DBMS - Concurrency Control

Quiz
•
University
10 questions
CEA201 - Quiz 3

Quiz
•
University
10 questions
K22YG 2

Quiz
•
University
10 questions
UTS Sistem Operasi

Quiz
•
University
10 questions
C-21 CS-405 OS Quiz-2

Quiz
•
University
10 questions
Operating System

Quiz
•
University
15 questions
DEADLOCK

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade