In binary, changing the first bit of 11111111 from 1 to 0 yields 01111111, which equals 127. Which bit was changed?

Advance your skills with our Digital Forensics Test. Explore detailed questions, explanations, and suggestions. Ace your exam!

Multiple Choice

In binary, changing the first bit of 11111111 from 1 to 0 yields 01111111, which equals 127. Which bit was changed?

Explanation:
This tests how bit positions contribute to a binary value. In an 8-bit number, the leftmost bit is the most significant and carries 128 when set. Starting from 11111111 (which is 255), flipping that leftmost bit to 0 yields 01111111, which is 127. That means the changed bit is the most significant bit. Flipping the least significant bit would yield 11111110 (254), not 127, so it isn’t the bit in question.

This tests how bit positions contribute to a binary value. In an 8-bit number, the leftmost bit is the most significant and carries 128 when set. Starting from 11111111 (which is 255), flipping that leftmost bit to 0 yields 01111111, which is 127. That means the changed bit is the most significant bit. Flipping the least significant bit would yield 11111110 (254), not 127, so it isn’t the bit in question.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy