0

everyone! Some translators show 01100010 (is that right?) for letter B as binary code, but at CS50 2 of 8 students on the stage raised the hand (64s and 2s). While the others are 0(zero). Wouldn't that be 01000010? Could anybody help me to understand that? Thanks

1 Answer 1

3

That's because it is case sensitive.

Uppercase, "B" ascii value "66", binary "01000010" (this should be the value shown in lecture on stage). Lowercase, "b" ascii value "98", binayr "01100010".

The difference between uppercase and lowercase in binary is one bit, hope that helps you.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .