Assignment No. 04 Semester Spring 2009 AdvanceComputer Architectuer-CS501 TotalM
ID: 3611767 • Letter: A
Question
Assignment No. 04 Semester Spring 2009 AdvanceComputer Architectuer-CS501 TotalMarks: 15 Due Date: 29/05/2009
Q-1 Supposethat a certain program takes 300 seconds of elapsed time toexecute. Out of these 300 seconds, 280seconds is the CPU timeand the rest is I/O time. What will be theelapsed time? [5]
Q-2 Consider anI/O bus that can transfer 6 bytes of data in one bus cycle. Suppose that a designer is planning to attachthe following two components to this bus. Harddrive with a transfer rate of 100 Mbytes/sec Video card with atransfer rate of 128 M bytes/secWhat will be the maximum bandwidthfrom these two components? (The maximum frequency of the bus is 30MHz) [5]
Q-3 Whatpercentage of time will a 20 MIPS processor spend in the busy wait loop of an85-character line printer when it takes 2 msec to print a character and a total of 765instructions need to be executed to print an 85 character line?Assume that 4 instructions are executed in the polling loop? [5]
Explanation / Answer
Elapsed time = CPU Time + I/O Time
The total number of instructions = 765
Out of 765 instructions executed to print a line, 85 x 4=340 is required forpolling
The percentage of the total time is 84.97/85 = 99.96%.
I hope this will helps to you
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.