Professional Documents
Culture Documents
BELANGRIK- IMPORTANT
1. Die eksamenregulasies van die Universiteit van Pretoria geld.
The examination regulations of the University of Pretoria apply.
2. Hierdie vraestel mag slegs in Afrikaans of Engels beantwoord word.
This question paper may only be answered in Afrikaans or English
For all the questions show as much details as possible. / Vir al die antwoorde toon aan
soveel inligting as moontlik
Dosent(e): 1 BHATT DV
Lecturer(s): 2
Groephoof: Ek bevestig dat die vraestel die uitkomstes toets soos gespesifiseer in die studiehandleiding.
Group head: I confirm that the question paper evaluates the outcomes as specified in the study guide.
Groephoof: Handtekening:
Group Head: Prof. GP HANCKE Signature:
EECTest-2
SECTION A: To be answered by ALL
1. A computer has a byte addressable main memory of 2GW. The memory system also uses a
single cache of 128KByte, with 128bytes per Block/Line. Find the Memory format in
implementing the Cache. (1Word =16bits =2Bytes)
3. Three benchmark programs are executed on Four computers with the following results: /
Drie maatstaf programme word uitgevoer op Vier rekenaars met die volgende resultate:
Computer A Computer B Computer C Computer D
Program 1 1200 500 100 150
Program 2 30 400 200 1000
Program 3 500 200 1500 50
Execution time is in seconds, with 1,500,000,000 instructions executed in each of the three
programs. Calculate the MIPS rate values for each computer for each program. Then calculate
the arithmetic and harmonic means assuming equal weights for the three programs, and rank the
computers based on arithmetic mean and harmonic mean. / Die uitvoer tyd is in sekondes, met
1,500,000,000 instruksies uitgevoer op elke een van die vier rekenaars. Bereken die MIPS koers
waardes vir elke rekenaar en elke program. Dan bereken die rekenkundige en harmoniese
middel veronderstel dat gelyke gewig vir die vier programme en rang van die rekenaars
gebasseer is op rekenkundige en harmoniese gemiddelde. (19)
Program 1
Program 2
Program 3
xxxxxxx
Rank according to RA
xxxxxxxx
Rank according to RH
b) 0.08510(using weights, 5binary digits) =?2 0.75810(using division, 5binary digits) =?2
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
6. Multiply -5x6 using 2’s Complement representation and Booths’ multiplier? /Vermenigvuldig
-5x6 deur gebruik te maak van 2’s Komplement verteewoordiging en “Booths’”
vermenigvuldiger? (9)
A Q Q-1 M Remarks
b) - 1 0 1 1 1 1 . 0 0 1 1 0 0 1 1 0 0 1 1 x 2-5
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
a) 1 01001110 01010111000111000110111
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
b) 0 11110000 11000110011011100000000
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
9. Write down the full logic expression based on PoS for the function Fox(p,q,r,s) from the
logic diagram provided. / Skryf die volledige logiese uitdrukking gebaseer op PoS vir die
funksie Fox (p, q, r, s) wat5 deur die logiese diagram voorsien word. (7)
0 4 6 9 10 13 15
5V
5V 5V
Fox
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
10.1 Write its PoS expression using maxterm Z=∏ xyz / Skryf die PoS uitdrukking gebruik
maksterme Z=∏ xyz (1)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
10.3 Write the full logic expression using SoP? / Skryf die volle logiese uitdrukking gebruik
SoP? (2)
___________________________________________________________________________
10.4 Draw the logic diagram using SoP expression? / Teken die logiese diagram gebruik SoP
uitdrukking? (3)
0 1 0 0 0 0
0 1 1 0 0 0
1 0 0 0 0 0
1 0 1 0 1 1
1 1 0 1 1 1
1 1 1 1 0 1
12.1 What is the Address range for this memory module? / Wat is die adres omvang van
hierdie geheue module? (1)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
12.2 What is the Data Read/Write range for this memory module? / Wat is die Data Lees /
Skryf omvang van hierdie geheue module? (1)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
12.3 Write the Data Read/Write range of memory chip? / Skryf die Data Lees / Skryf
verskeidenheid van geheue skyfie? (1)
___________________________________________________________________________
___________________________________________________________________________
12.4 Write the Address range of memory chip? / Skryf die Adres verskeidenheid van geheue
skyfie? (1)
___________________________________________________________________________
___________________________________________________________________________
12.5 What is the RAS and CAS range? / Wat is die RAS en CAS verskeidenheid? (2)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
12.7 How many memory chips are used in one Set? / Hoeveel geheuskyfies wat gebruik word
in een Stel? (1)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
12.8 What is the total number of Sets? / Wat is die totale aantal Stelle? (1)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
12.9 Draw the memory module? / Teken die geheue module? (10)
13.1 CPU issues a Write instruction of Message M1:“34810” to be stored. Generate the code
K(K8K4K2K1). / CPU kwessies 'n Skryf opdrag van boodskap M1: "34810" gestoor word
nie. Genereer die kode K (K8K4K2K1). (8)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
13.2.a. Generate the Knew for M2=“15C16” / Genereer die Knew for M2=“15C16” (8)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
13.2.c. Can you spot the error, where is the error? / Kan jy die fout vind, waar is die fout? (2)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
13.2.d. Can this error be corrected? If yes how? / Kan hierdie fout reggemaak word? Indien ja,
hoe? (2)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________