I have some questions with solution provided, but I can't understand well.

[![enter image description here][2]][2]
**Question 1:**

I tried to represent binary for each block according to description in the picture above, is this correct? (where you see "? 1 1 1 0 0 0 0 ?")

And also for 2 of "?"'s I drew at the end of each side, what would be good value to be in there? (i simply put "?" mark because I do not know binary for those 2 blocks)

================= END of Q1 =================

[![enter image description here][3]][3]
**Question 2:**

Same question as question 2. I tried to represent binary for each block according to description in the picture above, is this correct? (where you see "0 0 0 ? 1 1 1 1")

And also for "?" I drew at mid, what would be good value to be in there? (i simply put ? because I do not know binary for that block)


  [1]: https://i.sstatic.net/zWkDN.png
  [2]: https://i.sstatic.net/4WZeF.png
  [3]: https://i.sstatic.net/pBLtL.png