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

PLEASE SHOW ALL YOUR WORKING OUT ! Determine the decimal values of the following

ID: 1846990 • Letter: P

Question

PLEASE SHOW ALL YOUR WORKING OUT !

Determine the decimal values of the following unsigned numbers: Determine the decimal values of the following 1's complement numbers: Determine the decimal values of the following 2's complement numbers: Perform the following operations involving eight-bit 2's complement numbers and indicate whether arithmetic overflow occurs. Check your answers by converting to decimal sign-and-magnitude representation. Correct any overflows encountered in problem 2 through sign extension and performing the addition again. Remember: Only in addition of two positive (two negative) numbers there could be an overflow. Remember: No overflow can happen if you add a positive number with a negative number.

Explanation / Answer

1.

Decimal values of unsigned numbers

a.

(0111011110) = 256 + 128 + 64 + 16 + 8 + 4 + 2 = 478

b.

(1011100111) = 512 + 128 + 64 + 32 + 4 + 2 +1 = 743

c.

(3751)8 = 3*8^3 + 7*8^2 + 5*8 + 1 = 2025

d.

(A25F)16 = 10*16^3 + 2*16^2 + 5*16 + 15 = 41567

e.

(F0F0)16 = 15*16^3 + 15*16 = 61680


Decimal Values of 1s compliment nos

a.

(0111011110) = 256 + 128 + 64 + 16 + 8 + 4 + 2 = 478

b.

(1011100111)

find the ones compliment

0100011000 = 256 + 16 + 8 = 280

Ans = -280

c.

(1111111110)

find the ones compliment

a.

(0111011110) = 256 + 128 + 64 + 16 + 8 + 4 + 2 = 478

b.

(1011100111)

find the ones compliment + 1

0100011000 + 1 = 0100011001 = 256 + 16 + 8 +1 = 281

Ans = -281

c.

(1111111110)

find the ones compliment

e.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote