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

Find the word-length(16-bits) 2\'s complement representation of each of the foll

ID: 3746586 • Letter: F

Question

Find the word-length(16-bits) 2's complement representation of each of the following decimal numbers (a) 23 (b) -55

Explanation / Answer

1) 23 23 is positive. so, we can directly convert thi into binary. write 23 in powers of 2. 23 => 16 + 4 + 2 + 1 => in binary it is 0000000000010111 so, 23 in 16-bit 2's complement binary is 0000000000010111 2) -55 -55 is negative. follow these instructions. 1) Find binary representation of 55 55 in binary is 0000000000110111 2) Flip all bits 0000000000110111 is flipped to 1111111111001000 3) Add 1 to the above result 1111111111001000 + 1 => 1111111111001001 so, 23 in 16-bit 2's complement binary is 1111111111001001

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