1. Model paper of Computer Architecture
1.
a) Convertthe followingnumberstotheirBinaryequivalents (8Marks).
I. 5410
II. 478
III. A5D16
IV. 68210
b) Convertthe followingnumberstotheirDecimal equivalents (8Marks).
I. 1100012
II. 2458
III. 5D416
IV. 1001.1010112
c) Encode the followinginASCII code (4Marks).
Table 1: The ASCIICode
a. Englandteamwith11 players.
b. Salaryis < 50.2;
2. 2.
a) Prepare a truthtablesfor the followingBooleanexpressions (6Marks).
I. A(BC+BC)+(CD)’
II. (A+B)+((A+C)(A+B))’
III. (A+C)(AB+AC)(AC+B)
IV. ABC+BC(A+CD)(B+C)
b) The voltage waveformsshowninFig. 1.1are appliedatthe inputsof a 2 inputOR gate.
Determine the outputwaveform. (4Marks).
Fig.1.1
c) Convertthe following circuitsinto equations(10Marks)
Fig.1.2
3. Fig.1.3
3.
a. Explainwhatis Multiplexerand De-multiplexer.(8Marks).
b. How ismemorystoredinelectricity, Analyzeanddiscusshow itappliestostore
memory inRAM? (8 Marks).
c. C program code
While(k!=4){
k=k+1;
}
Please write assemblycode andinstructions fork=k+1 inabove code, take r1 as
source register(4Marks).
4. 4.
a) Describe followingcomponents of CPUbriefly(20Marks )
i. PC
ii. RegisterFile
iii. ALU
iv. Memory
v. MEM
5.
a) Explainwhatissequential processingandpipelining(4Marks).
b) How can be improve performanceof CPUby using pipelining(6Marks)
c) Name three hazardsinPipeliningandexplainone of them (5Marks)
5. d) What iscache memory? Explainmemoryhierarchy withsuitableexamples.
(5 Marks)