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 answers with complete solutions verified latest update

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

CMPE320 EXAM 2 questions and answers with complete solutions verified latest update

Instelling
Vak

Voorbeeld van de inhoud

7/7/25, 5:32
PM

CMPE320 EXAM 2 questions and answers with complete

solutions verified latest update

Terms in this set (138)




A CPU scheduling n!

algorithm determines an

order for the execution

of its scheduled

processes. Given n

processes to be

scheduled on one

processor, how many

different schedules are

possible?




Explain the difference Preemptive = Process can be interrupted

between preemptive and Non-preemptive = Process cannot be interrupted

non-preemptive

scheduling




1/40

,7/7/25, 5:32
PM
What is the equation for Turnaround Time = Finish Time - Arrival Time

Turnaround Time?

What is the equation for Waiting Time = Turnaround Time - Burst Time

Waiting Time?

Explain First Come First Processes run in the order they arrive.

Serve (FCFS) Scheduling

Explain Shortest Job First The job with the shortest burst time runs first.

(SJF) Scheduling

How does SJF If you allow preemption, then if a job arrives

Scheduling change if that is shorter than the current one running,

you allow it will interrupt the current job and run the

preemption? new shorter job.

Explain Round Robin (RR) Algorithm has a quantum time and takes

Scheduling turns running each job in the order they

arrived for the length of the quantum

time.

What advantage is there The advantage is that only allot a large amount

in having different time- of CPU time to processes that are taking forever.

quantum sizes at So if a job is very short, it doesn't have any busy

different levels of

multilevel queuing

system?

2/40

,7/7/25, 5:32
PM




How much does FCFS If long processes gets in first, then later short ones will

scheduling hang.

algorithms discriminate in

favor of short processes?

How much does RR Short processes can finish early depending on the

scheduling algorithms quantum time.

discriminate in favor of

short processes?

How much do multilevel Same as Round Robin

feedback queues

scheduling algorithms Short processes can finish early depending on the
discriminate in favor quantum time.
of short processes?




Which of the following is B. A process keeps the CPU until it releases

true of cooperative the CPU either by terminating or by

scheduling? switching to a waiting state.

A. It requires a timer

B. A process keeps

3/40

, 7/7/25, 5:32
PM

the CPU until it releases

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 occurs.




___ is the number of D. Throughput

processes that are

completed per time

unit.



A. CPU Utilization

B. Response Time



4/40

Geschreven voor

Vak

Documentinformatie

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

Onderwerpen

$11.99
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
2 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