UCCD1133 introduction to computer organisation and architecture

{`UNIVERSITI TUNKU ABDUL RAHMAN 
FACULTY OF INFORMATION & COMMUNICATION TECHNOLOGY 
BACHELOR OF INFORMATION TECHNOLOGY (HONOURS) 
COMMUNICATIONS AND NETWORKING 
BACHELOR OF COMPUTER SCIENCE (HONOURS) 
BACHELOR OF INFORMATION SYSTEMS (HONOURS) 
INFORMATION SYSTEMS ENGINEERING 
UCCD1133 INTRODUCTION TO COMPUTER ORGANISATION AND ARCHITECTURE 
ASSIGNMENT SESSION 202005 
`}

Part I (7 marks)

Instruction

You are required to write a short overview on ‘how computer organization and architecture affect computer performance’. The length of overview should not be more than 2 pages. Present your content in the form of a table (Please refer to the template provided). Save your report in PDF.

Assessment Guideline*

Assignment Part I carries 7% (7 marks) of your overall marks.

Relevancy and criticalness of the discussion

5 - 6 marks

3 – 4 marks

1 - 2 marks

0 mark

3 or more points which are well discussed and

highly relevant to the course

2 or more points which are fairly discussed.

1 or more points which are poorly discussed.

Did not submit the assignment.

General effort

1 mark

0 mark

High originality of work.

Low originality of work.

Part II (8 marks)

In this individual assignment, you are required to write an assembly program using MIPS 32 assembly language. You can use QtSpim (http://spimsimulator.sourceforge.net/) or any other MIPS simulator to test your program.

Instruction 

Write a program that performs the following tasks: 

(i) Print out your name and ID, and (ii) Solves the following equation:

 

Y = gN + M – (2 Í k) 

where 

M = a user defined number, 1 ≤ M < 100

 

N = a user defined number, 2 ≤ N ≤ 4

 

 g = the first 3 digits of your ID

 

 k = the last 4 digits of your ID.

For example, if your ID number is 1901234, then g = 190 and k = 1234. Prompt the user for inputs M and N. Add comments to your program to show your understanding of the codes. 

Assessment Guideline*

This assignment carries 8% (8 marks) of your overall marks.

Store & print out name and ID

3 marks

2 marks

1 mark

0 mark

Complete & workable

Complete with errors

Incomplete

Did not submit any assembly code.

Solving equation

5 marks

3 - 4 marks

1 - 2 marks

0 mark

Complete & workable

Complete with errors

Incomplete

Did not submit any assembly code.