CS501 Finalterm Current Paper 2013 file 6 Shared by Saba Shafiq Ajmi

No Comments

5 mark Q
Find the average access time of a level of memory hierarchy if the hit rate is 80%. The memory access takes 12ns on a hit and 100ns on a miss.
Solution
Hit rate =80%
Miss rate=20%
Thit=12 ns
Tmiss=100ns
Average Taccess=(hit rate*Thit)+(miss rate*Tmiss)
=(0.8*12ns)+(0.2*100ns)
= 29.6ns
3 mark Q
Recode the integer 485 according to Booth procedure.
Solution
Original number:
00111100101=256+128+64+32+4+1=485
Recoded Number:
_ _ _
01000101111=+512-32+8-4+2-1=485
5 marks Q
Divide 4710 by 510.
Solution
D=000000 101111, d=000101
D 000001 011110
d 000101
Diff(-) q 0
D 000010 111100
d 000101
Diff(-) q 00
D 000101 111000
d 000101
Diff(+) q 001
D 000001 110000
d 000101
Diff(-) q 0010
D 000011 100000
d 000101
Diff(-) q 00100
D 000111 000000
d 000101
Diff(+)000010 q 001001
Hence remainder = (000010)2 = 210
Quotient = (001001)2 = 910
5 mark Q
How many platters are required for a 80GB disk if there are 1024
bytes/sector, 2048 sectors per track and 4096 tracks per platter
2 mark Q
Difference between PROM and EPROM?
Two examples of connection less communication.
How shift instruction are useful? When do we use them?
3 mark Q
Basic technique of DMA and Programmed I/O
Aik Q ye tha (op<4…0>=12):R[ra] R[rb]+R[rc]
Function explain krna tha kuch bhul gay hain or Mcq’s totally new thy
thnx

Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment