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

Assuming a given length of 8 bits, what are the decimal values of the following

ID: 3787868 • Letter: A

Question

Assuming a given length of 8 bits, what are the decimal values of the following signed binary numbers after being arithmetically shifted to the right by 1 bit? (a) 11110010 (b) 01110010 (c) 00101010 (d) 11011000 Assuming a given length of 8 bits, what are the decimal values of the following signed binary numbers after being arithmetically shifted to the right by 1 bit? (a) 11110010 (b) 01110010 (c) 00101010 (d) 11011000 Assuming a given length of 8 bits, what are the decimal values of the following signed binary numbers after being arithmetically shifted to the right by 1 bit? (a) 11110010 (b) 01110010 (c) 00101010 (d) 11011000

Explanation / Answer

Signed Binary numbers use most significant bit as sign bit

(a) 1111 0010 ----negative number = -114

sign bit 1    111 0010

right shift remaining bits by 1 position     011 1001

answer = 1011 1001 = -57

(b) 0111 0010 ---- Positive number = 114

shift right by 1 bit = 0011 1001 = 57

(c) 0010 1010 -----Positive number = 42

shift right by 1 bit = 0001 1010 = 21

(d) 1101 1000 ----negative number = -88

sign bit --1 right shift other bits 010 1100

answer = 1010 1100 = -44

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