Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please show work thank you!!! Nmelabe123: 10 pts) CS 3843 Computer Organiration

ID: 3905894 • Letter: P

Question

Please show work thank you!!! Nmelabe123: 10 pts) CS 3843 Computer Organiration I- HW 3 Due Mon Jun 18 2018 1-12 pta) What Ls the largest power of twoD to ch the fol lowing mumbecs aze aligned? 1101010300000 b. GxA3318 G2F 3790 Ox7043000 2-43 pt) Now many address 1ines would be needed for each of the tollowing anounts of menry space? a·029, 200 3. 41 ptb Loeal variables are stored-_? (beap. peogrannenory. stack) 13 pts) Global varlables are storedheap, Progran menory stack) -11 pt) Show the tollowing 32-bit mumber in 1ittle enlan format- 641 pt How many 4K blocks of physieal memory weald be sequired after the program malloc's 2 ?" of virtual-ry? 7-11 pt A push to the stack will decemen Inceme hstack poister after, before) weiting the data. 6.11 pt, A pop from the stack will 4deere-t. Inere ee stack pointer Cafter, betore) zeading the data 9 11 pti Which register is wsed to keep track of vhere the progran is

Explanation / Answer

1.

Larest power of 2 to which number is aligned is the largest power of 2 less than the given decimal number.

a. 1101010100000

which is equivalent to 6816 in decimal

Largest power of 2 less than 6816 is 4096( 212)

b. 0xA3318

Given number is hexadecimal number.

Binary equivalent of given number : 1010 0011 0011 0001 1000

Decimal equivalent : 668440

Largest power of 2 less than 668440 is 524288(219)

c. 0x2F379C

Binary equivalent of given number : 0010 1111 0011 0111 1001 1100

Decimal equivalent of given number : 3094428

Largest power of 2 less than 3094428 is 2097152( 221)

d. 0x7043000

Binary equivalent of given number : 0111 0000 0100 0011 0000 0000 0000

Decimal equivalent of given number : 117714944

Largest power of 2 less than 117714944 is 67108864( 226)