Sunday, 05 20th

Last update09:44:47 AM

Login With Facebook

Combinestudy

Spring 2011 CS610 3

Assignment No. 03
Semester Spring 2011

Advance Computer Architecture-CS501

Total Marks: 15

Due Date: 09/06/2011

Objective:

To learn and understand basic concepts of I/O and polling loop.

Instructions:

Please read the following instructions carefully before solving & submitting assignment:

Assignment should be in your own wordings not copied from net, handouts or books.

It should be clear that your assignment will not get any credit (zero marks) if:

  1. The assignment is submitted after due date.
  2. The submitted assignment does not open or file corrupt.
  3. The assignment is copied (from other student or copy from handouts or internet).
  4. Student ID is not mentioned in the assignment File or name of file is other than student ID.

Note: You have to provide solution with all the calculations and formulations involved, else no marks will be awarded.

For any query about the assignment, contact at cs501@vu.edu.pk 

GOOD LUCK

Question No 1

Marks = 10

Let us have a 20MIPS processor, you have to calculate the percentage of time it spends in busy wait loop of a 75-character line printer, when it takes 2 msec to print a character and a total of 665 instructions require to be executed to print a 75 character line.

Suppose that two instructions are executed in the polling loop.

Question No 2

Marks=5

 

Let us assume that a program takes 400 seconds of elapsed time to execute.  Out of these 400 seconds, 320 seconds is the CPU time and the rest is I/O time. What percentage of elapsed time is spent on I/O operations?






 


Upload your Solution