|
|
Assignment No. 03 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:
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 |

