Click to go to ENCM 369 Winter 2008 HOME PAGE
The exam takes place in the Gold Gym from 3:30pm to 6:30pm on Tuesday, April 29.
The exam is closed-book--do not not take any books or notes to your seat. Use of calculators or computers during the exam is not permitted.
First, a general principle:
The exam will focus mainly on topics that were heavily emphasized in lectures and labs. We are not going to make a lot of marks depend on topics that were given very little coverage in lectures and labs.
The exam will cover all material up to and including the lectures of Tuesday, April 15, with the following exceptions:
The examination is on the entire course. There will be an emphasis on post-midterm material, but there will also be a significant number of problems concentrating on pre-midterm material.
There may be a small number of marks associated with material in the assigned reading that was not covered in lectures. Let me repeat that the number of marks related to this material will be either zero or very small.
The exam will consist of many short questions. Questions will be of the following types:
You will write all of your answers on the question paper, in spaces provided for answers.
In order to avoid having you spend a lot of time memorizing all of the instructions you have seen so far in the course, all problems that ask you to read or write SPIM code will be set up so that you can solve them with knowledge of a subset of MIPS instructions and pseudoinstructions. This subset is:
add, addi, addu, addiu, sub, subu, lw, sw, lb, lbu, sb, beq, bne, j, jal, jr, slt, slti, sltu, sltiu, la, li, and, andi, or, ori, nor, sll, srl, lui, mult, multu, div, divu, mfhi, mflo, add.s, add.d, sub.s, sub.d, mul.s, mul.d, div.s, div.d, mtc1, mfc1, mov.s, mov.d, lwc1, ldc1, swc1, sdc1, c.x.s, c.x.d (where x is one of eq, lt, le), bc1t, bc1f, cvt.x.y (where each of x and y is one of d, s, w)
You will be provided with a few pages of reference material along with the question paper. This material will include:
n 2**n | n 2**n
----------------------+------------------------
0 1 | 16 65,536
1 2 | 17 131,072
2 4 | 18 262,144
3 8 | 19 524,288
4 16 | 20 1,048,576
5 32 | 21 2,097,152
6 64 | 22 4,194,304
7 128 | 23 8,388,608
8 256 | 24 16,777,216
9 512 | 25 33,554,432
10 1,024 | 26 67,108,864
11 2,048 | 27 134,217,728
12 4,096 | 28 268,435,456
13 8,192 | 29 536,870,912
14 16,384 | 30 1,073,741,824
15 32,768 | 31 2,147,483,648
| 32 4,294,967,296
Here are suggestions for review: