Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CMPE320 EXAM 2 questions and verified answers with complete solutions verified

Beoordeling
-
Verkocht
-
Pagina's
42
Cijfer
A+
Geüpload op
07-07-2025
Geschreven in
2024/2025

CMPE320 EXAM 2 questions and verified answers with complete solutions verified

Instelling
Vak

Voorbeeld van de inhoud

CMPE320 EXAM 2 questions and verified answers with
complete solutions verified
A CPU scheduling algorithm
determines an order for the
execution of its sched- uled n!
processes. Given n processes to
be scheduled on one processor,
how many different schedules are
possible? Preemptive = Process can be
interrupted Non-preemptive =
Explain the difference between Process cannot be in- terrupted
preemp- tive and non-preemptive Turnaround Time = Finish Time -
scheduling Arrival Time
What is the equation for
Turnaround Time?
Waiting Time = Turnaround
What is the equation for Waiting Time?
Time - Burst Tim
e
Explain First Come First Serve favor of short processes?
(FCFS) Scheduling How much does RR scheduling
Explain Shortest Job First (SJF) algo- rithms discriminate in favor
Sched- uling of short processes?

How does SJF Scheduling change if
you allow preemption?



Explain Round Robin (RR)
Scheduling


What advantage is there in having
differ- ent time-quantum sizes at
different levels of multilevel
queuing system?

How much does FCFS scheduling
al- gorithms discriminate in


,CMPE320 EXAM 2 questions and verified answers with
complete solutions verified
Processes run in the order they
arrive.

The job with the shortest burst
time runs first.
If you allow preemption, then if a
job ar- rives that is shorter than
the current one running, it will
interrupt the current job and run
the new shorter job.
Algorithm has a quantum time and
takes turns running each job in the
order they arrived for the length of
the quantum time.
The advantage is that only allot a
large amount of CPU time to
processes that are taking forever.
So if a job is very short, it doesn't
have any busy

If long processes gets in first, then
later short ones will hang.

Short processes can finish early
depend- ing on the quantum time.






,CMPE320 EXAM 2 questions and verified answers with
complete solutions verified
How much do multilevel feedback A. SJF
queues scheduling algorithms B. FCFS
discrimi- nate in favor of short
processes?

Which of the following is true of
cooper- ative scheduling?
A. It requires a timer
B. A process keeps the CPU until it
re- leases the CPU either by
terminating or by switching to a
waiting state
C. It incurs a cost associated with
access to shared data
D. A process switches from
running state to the ready state
when an interrupt oc- curs.
is the number of processes that
are completed per time unit.

A. CPU Utilization
B. Response Time
C. Turnaround Time
D.Throughput
scheduling is approximated by
pre- dicting the next CPU burst
with an expo- nential average of
the measured lengths of previous
CPU bursts

A. Multilevel Queue
B. RR
C. FCFS
D.SJF

The scheduling algorithm is
de- signed especially for time-
sharing sys- tems.


, CMPE320 EXAM 2 questions and verified answers with
complete solutions verified
Same as Round Robin

Short processes can finish early
depend- ing on the quantum time.




B. A process keeps the CPU until it
re- leases the CPU either by
terminating or by switching to a
waiting state.




D. Throughput




D. SJF




C. RR

Geschreven voor

Vak

Documentinformatie

Geüpload op
7 juli 2025
Aantal pagina's
42
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$12.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
NurseAdvocate chamberlain College of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
497
Lid sinds
2 jaar
Aantal volgers
77
Documenten
12046
Laatst verkocht
3 dagen geleden
NURSE ADVOCATE

I have solutions for following subjects: Nursing, Business, Accounting, statistics, chemistry, Biology and all other subjects. Nursing Being my main profession line, I have essential guides that are Almost A+ graded, I am a very friendly person: If you would not agreed with my solutions I am ready for refund

4.6

239 beoordelingen

5
193
4
14
3
15
2
6
1
11

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen