CS501 - Advance Computer Architecture Assignment No. 3 Solution Spring 2018 Due Date: July 23, 2018 

Advance Computer Architecture (CS501)

 

Assignment # 03

 

Total marks = 20                                                                              

 

Deadline:

July 23, 2018

 

 

 

Please carefully read the following instructions before attempting assignment.

 

 

RULES FOR MARKING

 

It should be clear that your assignment would not get any credit if:

  • The assignment is submitted after the due date.
  • The submitted assignment does not open or file is corrupt.
  • Strict action will be taken if submitted solution is copied from any other student or from the internet.

 

 

You should concern the recommended book to clarify your concepts as handouts are not sufficient.

 

 

You are supposed to submit your assignment in .doc or docx format only.

 

 

Any other formats like scan images, PDF, zip, rar, ppt and bmp etc. will not be accepted.

 

 

 

NOTE

 

No assignment will be accepted after the due date via email in any case (load shedding or internet malfunctioning etc). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.

 

 

For any query, feel free to email at:

cs501@vu.edu.pk

 

 

 

Marks [15+5]

Q 1. Suppose we have a 1.5-GHz CPU to which the following three I/O devices are connected:

 

  1. Flash drive that can transfer data in 32-byte chunks with a maximum transfer rate of 16 MB/sec
  2. DVD drive which can transfer data in 16-byte chunks with a maximum transfer rate of 16 MB/sec
  3. Joystick that needs to be polled 50 times per second

 

Polling requires 300 instructions for each I/O device. Students are required to compute the percentage of CPU time required to poll each device.

 

 

Q 2. Instead of polling, we want to use interrupts for handling the DVD drive. Keeping in view the DVD drive to be active only 12% of the time, you are required to compute the percentage of CPU time for handling it.

 

Note: Interrupt and polling requires the same amount of instructions.

 

           

 

 

The End

 

 

 

Tags: -, 2018, 23, 3, Advance, Architecture, Assignment, CS501, Computer, Date:, More…Due, July, No., Solution, Spring

Views: 993

Attachments:

Replies to This Discussion

no one solved this assigment kal last date h 

share your ideas

RSS

SPONSORED LINKS

SPONSORED LINKS

© 2018   Created by Irfan Khan MSCS.   Powered by

Badges  |  Report an Issue  |  Terms of Service