CS501 Advance Computer Architecture Assignment No. 1 Discussion & Solution Spring 2019 Due Date: May 13, 2019 

Advance Computer Architecture(CS501)

Assignment # 01
Spring 2019

 

Total marks = 20                                                                              

 

Deadline Date
13thMay 2019

 

 

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 consult the recommended books to clarify your concepts as handouts are not sufficient.

 

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

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

 

Objective:

 

Objective of this assignment is to increase the learning capabilities of the students about

 

·         Performance Measurement of a processor

·         Performance Comparison of processors

·         Classification of Instruction Set Architecture for different machines

 

 

NOTE

 

No assignment will be accepted after the due date via email in any case (whether it is the case of 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.

 

If you find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.

 

For any query, feel free to email at:

cs501@vu.edu.pk

 

 

 

 

 

 

Questions No 01                                                                      08 marks

Suppose that we have two processors P1 and P2 having the following specifications.

 

 

Processor P1

Processor P2

Clock Period

100 ns

150 ns

Clocks/ Instruction

1.7

1.2

 

Assume that we have two programs A and B which will be executed one by one on each processor P1 and P2. Program A has an instruction count of 50 where the Program B has an instruction count of 40.

 

Considering the above specifications for P1 and P2 and the instruction counts of A and B, answer the following questions.

 

  1. How much time will each processor take to execute program A?
  2. How much time will each processor take to execute program B?
  3. Which of the two processors will execute program A faster?
  4. Which of the two processors will execute program B faster?

 

Questions No 02                                                                      12 marks

 

Write the instructions for both 3-address and 0-address machines to evaluate the below given expression.

 

z = (((ab)100) + d) – (a+b)*c

Tags: &, 1, 13, 2019, Advance, Architecture, Assignment, CS501, Computer, Date:, More…Discussion, Due, May, No., Solution, Spring

Views: 319

Attachments:

SPONSORED LINKS

SPONSORED LINKS

© 2019   Created by Irfan Khan MSCS.   Powered by

Badges  |  Report an Issue  |  Terms of Service