100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Samenvatting

Summary COS3721 ASSIGNMENT 1 SOLUTIONS 2023

Beoordeling
-
Verkocht
11
Pagina's
8
Geüpload op
14-04-2023
Geschreven in
2022/2023

ASSIGNMENT 1 ASWERS FOR COS

Instelling
Vak

Voorbeeld van de inhoud

Assignment 1 Total marks 100

Question-1 Coverage : Chapter 1 [10]
1) Direct memory access is used for high-speed I/O devices in order to avoid increasing the

CPU’s execution load.

a. How does the CPU interface with the device to coordinate the transfer? (2)

~ The CPU can initiate a direct memory Access (DMA) operation by writing values into special
registers that can be independently accessed by the device. The device initiates the corresponding
operation once it receives a command from the Central Processing Unit (CPU).



b. How does the CPU know when the memory operations are complete? (2)

~ It gets interrupted to indicate the completion of the operation. Both the device and the CPU can
be accessing memory simultaneously. The memory controller provides access to the memory bus in
a fair manner to these two entities



c. The CPU is allowed to execute other programs while the DMA controller is transferring

data. Does this process interfere with the execution of the user programs? If so, describe

what forms of interference are caused. (4)

~ The process does interfere with the program, The CPU might be unable to issue memory
operations at peak speeds since it has to compete with the device in order to obtain access to the
memory bus.

~ DMA can lead to memory fragmentation. This can cause performance issues when the CPU
attempts to allocate or access memory.



2) Describe two challenges of designing operating systems for mobile devices compare with

designing operating system for traditional PCs. (2)

~ Less processing power and fewer processors mean the operating system must carefully share
processors to applications.

~ Less storage capacity means the operating system must manage memory carefully.



Question 2: Operating-system structures [12]
1) Describe three general methods for passing parameters to the operating system. (6)
~ Pass parameters in registers

Gekoppeld boek

Geschreven voor

Instelling
Vak

Documentinformatie

Heel boek samengevat?
Ja
Geüpload op
14 april 2023
Aantal pagina's
8
Geschreven in
2022/2023
Type
SAMENVATTING

Onderwerpen

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.
elenaprowriter University of South Africa (Unisa)
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
104
Lid sinds
4 jaar
Aantal volgers
71
Documenten
22
Laatst verkocht
1 maand geleden

3,5

13 beoordelingen

5
3
4
4
3
4
2
1
1
1

Populaire documenten

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

Veelgestelde vragen