100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COS assgnment 1 solutions $6.92   Add to cart

Other

COS assgnment 1 solutions

 16 views  0 purchase
  • Course
  • Institution
  • Book

Contains solutions to the first assignment

Preview 1 out of 5  pages

  • April 17, 2023
  • 5
  • 2022/2023
  • Other
  • Unknown
avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller CrystalIndigo. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $6.92. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76669 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$6.92
  • (0)
  Add to cart