Quote:

The amount of happiness that you have depends on the amount of freedom you have in your heart

Wednesday, 14 March 2012

Advance Computer Architecture-CS501 ASSIGNMEN 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:

o   The assignment is submitted after due date.
o   The submitted assignment does not open or file corrupt.
o   The assignment is copied (from other student or copy from handouts or internet).
o   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?




No comments:

Post a Comment

“You can't change the past, but you can ruin the present by worrying about the future”