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

Part A 1. Convert the following decimal numbers into 8-bit binary numbers. Use 2

ID: 3639331 • Letter: P

Question

Part A
1. Convert the following decimal numbers into 8-bit binary numbers. Use 2’s complement to represent a negative number. (15 pts)
26
-37
-127
Part B
Perform the following binary additions of 8-bit sign integers. Indicate if there is overflow.
a)
(01010011)
+(10111101)
__________ =
b)
(10101000)
+(10101101)
____________ =
c)
(00101001)
+(011110010)
_____________ =

Explanation / Answer

A) 2 | 26 | 0 2 | 13 | 1 2 | 6 | 0 2 | 3 | 1 2 | 1 |1 26 in binary = 00011010 (bottom to top) 37 in binary = 00100101 -37 in binary (2s complement) = 256 - 37 = 219 in binary => -37 in binary = 01011011 -127 in binary = 256-127 = 129 in binary -127 = 10000001 B) a) 01010011 +10111101 1 00010000 b) 10101000 + 10101101 1 01010101 c) 00101001 + 011110010 1 00011011

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