Answer:
a. 100%
b. 50%
c. 66.6%
Explanation:
a.
The memory references D6, 58, D8, 9A, DE and 5C all results in misses and the miss ratio is 100 (that is , 6 misses/ 6 references*100 = 100%)
b.
If fully associative cache is used, there will be a 3 cache misses with miss ratio of (3/6*100) = 50%.
c.
With a 2-way set-associative cache, 4 memory reference misses will occur, with a miss ratio of (4/6*100)= 66.6% misses.
<span>Google
Glass was interesting; a personal screen overlaid onto the real world,
with 'augmented reality' ideas. The Nintendo 3DS was the first 'no
glasses' portable 3D system.
So I predict Google 3D Glasses with built in Dolby 9.1 sound emulation. </span>
Answer:
Given address = 94EA6
tag = 0 * 94 ( 10010100 )
line = 0 * 1 D 4 ( 111010100 )
word position = 0*6 ( 110 )
Explanation:
using the direct mapping method
Number of lines = 512
block size = 8 words
word offset =
= 3 bit
index bit =
= 9 bit
Tag = 20 - ( index bit + word offset ) = 20 - ( 3+9) = 8 bit
Given address = 94EA6
tag = 0 * 94 ( 10010100 )
line = 0 * 1 D 4 ( 111010100 )
word position = 0*6 ( 110 )
Answer:
CLS
INPUT"Enter any three numbers";a,b,c
IF a>b AND a>c THEN
PRINT a;"is the greatest"
ELSEIF b>a AND b>c THEN
PRINT b;"is the greatest"
ELSE
PRINT c;"is the greatest"
ENDIF
END