How u r assigning that binary values to character?? Is there any procedure for that also or jst randomly assigned
@gogroot97454 жыл бұрын
while starting she told.. if you take left then put '0' and '1' for right..
@pravinpanick3 жыл бұрын
the question is how did we decide 001 represents "b" and 01 represents "r". Because these do not correspond to the binary representations of their ascii codes.
@DontTakeCrack3 жыл бұрын
She's just using 3 bits and incrementing from 0 but then randomly chose one for "r." For the sake of this exercise, that usage is trivial so you can use any binary representation you want