Wednesday, November 9, 2011

Re: (Attock VU Group)

Question No. 1:

a. Suppose architecture A has 14-bit address bus. What is maximum size of memory
that can be accessed in this architecture? (Show the steps for calculating maximum
accessible memory) (5 marks)
Sol :
Accessible memory addresses = 2number of address bits
214 = 16384 bytes Note :ye 14 power mein hai
16384 / 8 = 2048 bytes
2048 / 1024 = 2 KB
b. An architecture B has a maximum limit of 2GB memory. How many address bits are required for this architecture? (Show the steps for calculating required number of address bits) (5 marks)



Sol :

2GB * 1024 = 2048 MB
2048MB * 1024 = 2097152KB
2097152KB * 1024 = 2147483648bytes
2147483648bytes * 8 = 17179869184 bits

Question No. 2:
What are the first and the last physical memory addresses accessible using the following segment values? (2 mark each)
a. 0000
b. FFFF


Question No. 3:

Calculate physical address using the following segment offset pairs.
(1 mark each)
a. ABCD:1234

Solution:
1)
ABCD
1 2 3 4 +
B E 0 1 = physical address



b. 1234:ABCD
Solution:
2)
1 2 3 4
ABCD +
B E 0 1 = physical address



Question No. 4:

What is effective address generated by the following instructions? Every instruction is independent of others. Initially BX = 0xFF00, SI=0x00FF
(1 mark each)

a. mov ax, [BX+SI]
Sol :
Effectice address = [bx+si]
= [FF00 + 00FF]
= [FFFF]

b. mov ax, [BX+1024] (1024 is in decimal)
Sol :


Effectice address = [bx + 1024]
After converting 1024 into hexadecimal
Effectice address = [FF00 +400 ]
= [FF00 + 400]
= [10300]




Question No. 5:

What are the contents of memory locations 720, 721, 722 and 723 if the word 4321 is stored at offset 720 and the word 8765 is stored at the offset 722 using Big Endean format? (2 marks)

Address Contents

0x720 4321
0x721
0x722 8765
0x723



--------------------------------------------------------------------------------
Aur han ager mujh se na ho saka to ap apni madad ap k tehat khud ker lijiay ga
--------------------------------------------------------------------------------
kiun k abi meri bohat se assignment rehti hain
Dua ker ap log unka idea b jald mery demagh mein ghuss jaiy

Werna
Hi, Attached file is idea solution of CS-401...
 
Regards,
Wasim Shaam*


On Tue, Nov 8, 2011 at 7:12 PM, mc110202636 Samina Sehar <mc110202636@vu.edu.pk> wrote:
hy friends i need ur help.. i urgently needs the solution of cs403, 401 & 502. fall in oct 2011. plese help me.

--
█████████████████████████████████████████████████
██████████████████ Basic Group Rules ███████████████████
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Criticize-able Islamic stuff, Spreading disruption, Spamming are strictly prohibited and banned in group.
█████████████████████████████████████████████████
█████████████████████████████████████████████████
 
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
 
Group Email Address:
Attock-VU-Group@Googlegroups.Com
 
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
 
████████████ Click here to Join this group at Facebook:████████████
♥ ♥ ♥ https://www.facebook.com/home.php?sk=group_111877855568034 ♥ ♥ ♥
█████████████████████████████████████████████████

--
█████████████████████████████████████████████████
██████████████████ Basic Group Rules ███████████████████
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Criticize-able Islamic stuff, Spreading disruption, Spamming are strictly prohibited and banned in group.
█████████████████████████████████████████████████
█████████████████████████████████████████████████
 
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
 
Group Email Address:
Attock-VU-Group@Googlegroups.Com
 
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
 
████████████ Click here to Join this group at Facebook:████████████
♥ ♥ ♥ https://www.facebook.com/home.php?sk=group_111877855568034 ♥ ♥ ♥
█████████████████████████████████████████████████

No comments:

Post a Comment