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)

OSG202 Unit 2 Questions and Answers 2024

Beoordeling
-
Verkocht
-
Pagina's
23
Cijfer
A+
Geüpload op
06-08-2024
Geschreven in
2024/2025

OSG202 Unit 2 Questions and Answers 2024 1. Assume that jobs AD arrive in the ready queue in quick succession and have the CPU cycle requirements listed below. Using the Shortest Remaining Time Next algorithm, the average waiting time is . Arrival time: 0 1 2 3 Job: A B C D CPU cycle: 6 3 1 4 a. 2.75 b. 6.25 c. 7.75 d. 9.0: a 2. Which is a wrong statement about the quantum used in Round Robin algorithm? a. If the quantum is very large, RR is essentially FCFS b. If the quantum is very small, the CPU efficiency is reduced c. A reasonable value of quantum is around 2050 ms

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

OSG202 Unit 2 Questions and Answrs 2024



1. Assume that jobs AD arrive in the ready queue in quick succession and have the CPU cycle requirements
listed below. Using the Shortest Remaining Time Next algorithm, the average waiting time is .
Arrival time: 0 1 2 3 Job: A B
CD
CPU cycle: 6 3 1 4

a. 2.75
b. 6.25
c. 7.75
d. 9.0: a
2. Which is a wrong statement about the quantum used in Round Robin algorithm?

a. If the quantum is very large, RR is essentially FCFS
b. If the quantum is very small, the CPU efficiency is reduced
c. A reasonable value of quantum is around 2050 ms
d. None of the others: d
3. (Multi-choice)
Preemption is essential in which of the following systems?


a. Batch system
b. Interactive system
c. Real time system
d. None of the others: bc
4. What is Software proposal in the solution of Mutual exclusion with Busy waiting

a. Lock Variables
b. Strict Alternation
c. Peterson's Solution
d. All of the others: d
5. The following requirement must be met by any facility or capability that is to provide support for mutual
exclusion:


a. Only one process at a time can be allowed into a critical code section
b. A process remains in its critical region for a finite time only
Inform

, OSG202 Unit 2 Questions and Answrs 2024

c. No assumption can be made about relative process speeds
d. All of the others: d




Inform

, OSG202 Unit 2 Questions and Answrs 2024



6. Which of the following process state transitions are illegal?

a. blocked > running
b. running > ready
c. blocked > ready
d. ready > running: a
7. Assume that jobs A-D arrive in the ready queue in quick succession and have the CPU cycle requirements
listed below. Using the Shortest Remaining Time Next algorithm, the Turnaround time of job
D is .
Arrival time: 0 1 2 3 Job: A B
CD
CPU cycle: 6 3 1 4

a.6
b.14
c.4 d.1:
a
8. Assume that jobs AD arrive in the ready queue in quick succession and have the CPU cycle requirements
listed below. Using the Shortest Remaining Time Next algorithm, the Waiting time of job A is .
Arrival time: 0 1 2 3 Job: A B
CD
CPU cycle: 6 3 1 4

a.8
b.14
c.0 d.1:
a
9. A ssume that four jobs AD require the CPU cycles listed below. Using the Shortest Job First algorithm, the
job is run first.
Arrival time: 4 1 0 2 Job: A B
CD
CPU cycle: 5 2 6 4

a.A
b.B
c.C d.D:
c



Inform

Geschreven voor

Vak

Documentinformatie

Geüpload op
6 augustus 2024
Aantal pagina's
23
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$10.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

Maak kennis met de verkoper
Seller avatar
Certifiedacademics

Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
Certifiedacademics Chamberlain College Of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
3
Lid sinds
2 jaar
Aantal volgers
1
Documenten
327
Laatst verkocht
2 maanden geleden
Online library

Get all your study sets here from exam elaboration, thesis to homeworks.

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

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