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

Q9. Minimum number of bits needed to represent unsigned decimal integers. a.65 b

ID: 3541791 • Letter: Q

Question

Q9. Minimum number of bits needed to represent unsigned decimal integers.

a.65

b.256.

c.32768


Q18.what is the 16- hexadecimal represent of signed decimal integers.

a. -26

b.-452

Q19. the 16 bit hexadecimal numbers represent signed integers.Convert to decimal.

a.7CAB

b.C123 Q20.

16 bit hex represent signed integers. Convert to decimal.

a.7F9B

b.8230

'Karl' representation in ASCII character. write in Hexadecimal and Decimal.


please show the steps..i know ansers but some of them confused me.

thanks

Explanation / Answer

please rate - thanks


Q9. Minimum number of bits needed to represent unsigned decimal integers.

a.65 1000001 = 7 bits

b.256. 100000000 = 9 bits

c.32768 1000000000000000 = 16 bits


Q18.what is the 16- hexadecimal represent of signed decimal integers.

(I'm assuming 2's complement)

a. -26 FFE6 26= 0000000000011010 flip bits 1111111111100101 add 1 = 1111111111100110

b.-452 FE3C 452= 0000000111000100 flip bits 1111111000111011 add 1 =1111111000111100

Q19. the 16 bit hexadecimal numbers represent signed integers.

Convert to decimal.

a.7CAB 7*4096+12+256+10*16+11 = 31915

b.C123 binary 1100 0001 0010 0011 sign bit 1, so negative number-find it's 2's complement
            flip bits 0011 1110 1101 1100 add 1 0011 1110 1101 1101 or in hex 3EDD which in decimal is 16093
          so C123 is -16093

Q20. 16 bit hex represent signed integers.

Convert to decimal. (I'm assuming 2's complement)

7F9B starts with 0 so positive 7*4096+15*256+9*16+11*1 = 32667

8230 starts with 1 so negative it's 2's complement is 7DD0 which is 32208, so the answer is -32208

'Karl' representation in ASCII character. In Hex De

K =4B

a = 61

r =72

l =6C

Karl = 4B61726C