100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

COS3721 Assignment 1 2023

Rating
-
Sold
-
Pages
9
Uploaded on
19-03-2023
Written in
2022/2023

COS3721 Assignment 1 2023 Memo.











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
March 19, 2023
Number of pages
9
Written in
2022/2023
Type
Other
Person
Unknown

Subjects

Content preview

Assignment 1 - 2023 COS3721
19.03.2023





StudyWellNotes

, 1




Table of Contents
Question-1 Coverage : Chapter 1 3
Question 2: Operating-system structures 4
Question 3: Processes 5
Question 4: Threads and Concurrency 6
Question 5: CPU Scheduling 7

, 2




Question-1 Coverage : Chapter 1
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)
b. How does the CPU know when the memory operations are complete?(2)
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)


a. The CPU can initiate a 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 CPU.
b. When the device is finished with its operation, it interrupts the CPU to indicate the
completion of the operation.
c. 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.
A CPU might therefore 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.


2) Describe two challenges of designing operating systems for mobile devices compare with
designing operating systems for traditional PCs. (2)

The greatest challenges in designing mobile operating systems include:
● Less storage capacity means the operating system must manage memory
carefully.
● The operating system must also manage power consumption carefully.
● Less processing power plus fewer processors mean the operating system
must carefully apportion processors to applications.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StudyWellNotes University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
41
Member since
5 year
Number of followers
31
Documents
0
Last sold
6 months ago
StudyWell

Student Resources for Unisa Students.

5,0

1 reviews

5
1
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions