Computer Architecture (CEFT2101)

Civil Engineering and Forestry Techniques - CFT

Semester: First Semester

Level: 200

Year: 2018

UNIVERSITY OF BAMENDA
ENSET BAMBILI
LEVEL 100
PAPER: COMPUTER ARCHITECTURE
LECTURER: WIOTSOP FABRICE
DURATION: 2 HRS
Exercise 1: MCQs (0.5*10= 5 marks)
(pick the letter corresponding to the correct answer)
1)
The communication line between the CPU, memory and peripherals is called a
a) Bus b) line c) media d) none of these
2)
CD-ROM is a
a) Semiconductor memory b) Memory register c) Magnetic memory d) none of the above
3)
Actual execution of instructions in a computer takes place in
a) ALU b) Control Unit c) Storage unit d) None of the above
4)
What characteristic of RAM memory makes it not suitable for permanent storage?
a) Too slow b) unreliable c) it is volatile d) too bulky
5)
Modem processor chips may be classified as (a) LSI (b) ULSI (c) MIPS (d) SSI
6)
A machine cycle refers to
a) fetching an instruction b) clock speed c) fetching, decoding and executing an instruction
d) executing an instruction
7)
The instruction register stores
(a) an instruction that has been decoded (b) an instruction that has been fetched from memory
(c) an instruction that has been executed (d) the address of the next instruction to be executed
8)
The program counter
a) stores the address of the instruction that is currently being executed b) stores the next
instruction to be executed c) stores the address of the next instruction to be executed d) stores
the instruction that is being currently executed.
9)
Addressing mode in which the content of the program counter is added to the address part
of the instruction in order to obtain the effective address is called
a) relative addressing mode, b) index addressing mode, c) register mode, d) implied mode.
10)
In which addressing mode the operand is given explicitly in the instruction
a) Absolute, b) Immediate. c) Indirect. d) Direct.
www.schoolfaqs.net
Exercise 2: (0.5+14-1+1+1+0.5= 5 marks)
Perform the following conversions:
1)
(100110)
2
= ( )
16
2)
(11
10 1 1
.
1 0 )
2
= ( )
10
3)
(24.1875)
10
= ( )
2
4)
(100)
10
= ( )
8
5)
(69)
16
= ( )
8
6)
(2FAOC)
I
6
=
(
)
10
Exercise 3: (1+14-1+2= 5 marks)
1)
Represent the following decimal numbers in both binary sign/magnitude and two’s
complement using 16 bits: +512; -29
2)
Using 2’s complement method, perform (156)
10
- (99)
l0
; (16)
I0
-(25)
10
3)
What are the four essential elements of a number in floating-point notation?
4)
The following numbers use the IEEE 32-bit floating-point format. What are the
equivalent decimal values?
a)
1 10000011 l l000000000000000000000
b)
c)
0 01111110 10100000000000000000000
/
Exercise 4: (1+2+2= 5 marks)
1)
What are the typical elements of a machine instruction?
2)
List and briefly explain four important instruction set design issues.
3)
What are the characteristics of the MIPS Instruction Set Architecture?
www.schoolfaqs.net
7)
www.schoolfaqs.net