Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i want the answers for all the questions Consider the following system with four processes (P1, P2, P3, P4), when answering the following three questions.

i want the answers for all the questions
image text in transcribed
Consider the following system with four processes (P1, P2, P3, P4), when answering the following three questions. 12. What would be the total waithug ume ror process P2 if SRTF scheduling algorithm were applied? A. 15 C. 20 B. 30 D. 35 A. Oider: 5 A. P1, P2, P3, P4 C. P4, P3, P1, P2 B. P1, P2, P4, P3 D. P1, P4, P3, P2 B. Other: 14. What would be the average waiting time if FCFS scheduling algorithm were applied? A. 17.5 C. 8.75 B. 35 D. 15 E. Onhen 15. A(n) ..... occurs when a process could run but doesn't because other processes keep getting in ahead of it. TurnaroundB.Starvation A. Turnaround C. Slecp D. Convoy effect B. Oher: 16. The short-term scheduler, or CPU scheduler, selects from among the processes that are ...non- to execute and allocates the ........ to ........ of them.? A. Waiting. CPU. all C. Waiting, memory, all B. Ready, memory, all D. Ready, CPU, one 17. One popular variation on the E. Oher: One poputar variation on the ..........model still multiplexes many user-level threads to a smaller or A. One-to-many, user-level, kernel thread C. Many-to-one, user-level, kernel thread B. Many-to-many, kernel thread, user-level D. Many-to-many, user-level, kernel thread B. Oiher: Consider a program that contains the following two threads. The thrends are ranning concurrenty, and x initial value is 0. Answer the following four questions 18. The variables i and j are allocated in A. Heap segment B. Process registers C. Data segment D. Thread registers E. Other: 19. The variable x is allocated in B. Process registers A. Heap segment C. Data segment D. Thread registers E. Other: 20. The followings are possible outputs on the screen when i=3 and J=2 except A. 12357 B. 12243 C. 13467 D. 24567 E. Other

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

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

15.7 Explain the six steps in the termination interview

Answered: 1 week ago

Question

1. What is meant by Latitudes? 2. What is cartography ?

Answered: 1 week ago

Question

What is order of reaction? Explain with example?

Answered: 1 week ago

Question

7. What decisions would you make as the city manager?

Answered: 1 week ago

Question

8. How would you explain your decisions to the city council?

Answered: 1 week ago