Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer all questions a. [10] Can a single process be blocked for three I/O events at a time? If no, justify in one sentence. If

Answer all questions

a. [10] Can a single process be blocked for three I/O events at a time? If no, justify in one sentence. If yes, give an example.

b. [10] Suppose a process has three user-level threads. One of the threads is blocked for I/O. What is the maximum number of CPUs (assuming we have a multi-CPU system) that this process uses in that case (i.e. while its thread is blocked)? Justify your answer.

c. [10] Can a process cause another blocked process to move from blocked state to running state? If no, justify in one sentence. If yes, given an example. [Assume threestate model]

d. [10] Does a process need to make a system call each time it needs to access any hardware in the system? If yes, state your reasons in 1-2 sentences. If no, given an example.

e. [10] Suppose we use a two-state model for a process (not running, running). State a scenario that shows why this two-state model is bad

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2016 Riva Del Garda Italy September 19 23 2016 Proceedings Part 1 Lnai 9851

Authors: Paolo Frasconi ,Niels Landwehr ,Giuseppe Manco ,Jilles Vreeken

1st Edition

3319461273, 978-3319461274

More Books

Students also viewed these Databases questions