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

COS assgnment 1 solutions

Rating
-
Sold
-
Pages
5
Uploaded on
17-04-2023
Written in
2022/2023

Contains solutions to the first assignment









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

Document information

Uploaded on
April 17, 2023
Number of pages
5
Written in
2022/2023
Type
Other
Person
Unknown

Subjects

Content preview

COS3721 Assignment 01

QUESTION: 01

1.
a.
1. The CPU can initiate a DMA operation by writing values into special registers that can be
independently accessed by the device.
2. The device initiates the corresponding operation once it receives a command from the
CPU.
b.
1. The device initiates the corresponding operation once it receives a command from the CPU .
2. When the device is finished with its operation , it interrupts the CPU to indicate the
completion of the operation.
c.
1. Both the CPU and the DMA controller are the bus masters.
2. A problem would be created if both the CPU and the DMA controller want to access the
memory when the DMA controller seizes the memory bus.
3. However, if the CPU is still allowed to access data in its primary and secondary caches, a
coherency issue may be created if both the CPU and DMA controller update the same
memory locations.
2.
• Storage capacity and performance with heavy software.
• Mobile devices are a great technology advance, which establishes great practicality and
comfort.


QUESTION: 02

1.
• Pass parameters using registers
• Store the parameters in a table in memory and the table address is passed in a register to the
OS.
• Push the parameters into a stack and off by the operating System.
2.
• Faster rendering – With AOT, the browser downloads a pre-compiled version of the
application.
• The browser loads executable code so it can render the application immediately, without
waiting to compile the app first.
3.
• Because the normal API and the virtual machine are both created to be compatible with
desktop and server systems.
• Google has created a different API and virtual machine for mobile devices .
• They are not compatible with mobile devices


QUESTION: 03

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.
CrystalIndigo University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
486
Member since
5 year
Number of followers
226
Documents
73
Last sold
2 months ago
CrystalIndigo Solutions

providing all solutions to all computer science modules

4,1

51 reviews

5
27
4
13
3
6
2
1
1
4

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