# Why is it 96 each for x and y?

I do understand that we’d need 7 bits for 96, but I don’t understand where 96 is coming from. The biggest grid on the worksheet is 31 by 31 so don’t we just need whatever max value is about 31 (exactly 5 bits actually) for each of the x & y values?

@jbaik

I think the question is designed to extend thinking from the 31x31 grid used on the worksheet and apply learning in a new setup.

Happy computing,
Andrea

I’m guessing that 96 is chosen relatively arbitrarily but it also happens to be exactly halfway between two powers of 2 – 64 and 128. So I’m guessing that’s where the number came from.

Also, based on the answers provided, I think the question wording could be improved. (without trying to give it away) the answer should be the sum of the bits you need for both the x and y coordinate encoding. So…I changed it slightly to now read: “What’s the minimum number of bits you need to encode coordinates in that space”. (used to read “…encode a coordinate…”)

1 Like

If you look at the handout, reflection question 3 uses a 96 x 96 grid.