1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nataliya [291]
3 years ago
14

5.20 Which of the following scheduling algorithms could result in starvation? a. First-come, first-served b. Shortest job first

c. Round robin d. Priority
Computers and Technology
2 answers:
fomenos3 years ago
6 0

Answer:

b. Shortest job first and d. Priority

Explanation:

First let us understand what starvation is. Starvation is basically situation in which a process does not get required resources because other processes are being allocated to these resources and are utilizing those resources. So that process is in starvation as it does not get access to the resource and it is unable to execute.

In the First-come first-served scheduling algorithm the processes are executed in the order or sequence such that the first process is executed first and the second process is executed after the first process finishes its execution. So in this scheduling algorithm no starvation can occur as there is no process which will never get a resource and will never be able to execute.

Shortest job first chooses out of the waiting processes, the process which has the shortest execution time to be executed first. This results in the processes with long execution time to wait for their execution. This wait can go till infinity and the waiting long processes might never get the resources for their execution if the shorter processes keep arriving. So this can result in starvation.

Round robin algorithm gives each process a fixed time slot called quantum time for its execution.  So no process will have to wait for long and wait for a resource to be allocated for long in order to be executed. So this is a starvation free scheduling algorithm.

In priority scheduling the processes are given priorities to execute which means that the process with high priority will be allocated the resource and will be executed first.  This causes the low priority processes to wait for long and this waiting can go to infinity and the low priority process might not be able to get a resource for their execution. So this scheduling algorithm could result in starvation.

NARA [144]3 years ago
5 0

Answer: (b) and (d)

Explanation:

Shortest job first and Priority are scheduling algorithms that could result in starvation.

The others won't result in starvation

You might be interested in
Examples of environmental technology and good and bad impacts
olchik [2.2K]
Enviromental technology can be listed from simple objects to a large company.

1.Enviromental Technology:
Wood farming (its not that of a technology, but the amount technology to do this is large)
2.Coal Mining
3. Water damps (for making electricity)

alright.. good:
1. other objects can be created thanks to this
2. The final product can be used as a source of energy.
3. Electricity!!

the bad.
1. mass-cutting trees... :(
2. Often makes no to some pollution, can have pernament effect on the workers life (respiratory problems etc.)
3. Can cause floods..
6 0
3 years ago
Use the worksheet _____ tools in the lower left-hand corner of the Excel screen to scroll through the sheet tabs.
sveta [45]
I think is D ...............
6 0
3 years ago
Read 2 more answers
How do you ask brainy a question without it not liking the question and saying it hurts their feelings?
murzikaleks [220]
IM SORRY but i dont now your question

7 0
3 years ago
Justine was interested in learning how to play the piano. Before she was allowed to even play the piano, she has had to learn
Setler [38]

Answer:

A

Explanation:

The answer is A because, to be novice at something that means one is new to and is inexperienced at said activity.

3 0
3 years ago
Read 2 more answers
Information such as audio or video files are broken down into
liberstina [14]
...packets. I hope this helps.
5 0
3 years ago
Other questions:
  • Max Weber's concept of ________ implies that, in conducting research, social scientists must try to understand others' view of r
    14·2 answers
  • Which of the following things should you do first when planning your career?
    15·2 answers
  • Some languages are traditional programming languages for developing applications; others, such as markup and scripting languages
    12·1 answer
  • Use the ______ attribute to configure the browser to render default table and table cell borders.
    12·1 answer
  • Monica wants insert a cover page for her report. She needs to be sure her insertion point is at the beginning of the report.
    7·1 answer
  • Before you enter an intersection on a green light make sure
    14·2 answers
  • Is 583 a string or a number?
    13·2 answers
  • A deluxe meal, represented by a DeluxeMeal object, includes a side dish and a drink for an additional cost of $3. The DeluxeMeal
    14·1 answer
  • (e) Give the output of the following:
    15·2 answers
  • What is the output of this program?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!