Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLucas da Silva
Courses Plus Student 5,145 Pointsi don't understand
I'm getting confused to understand how to find the byte
1 Answer
rudyrbastari
5,212 Pointsexample if it's 00000011 that mean it's 3. Because the first is equals 1 and the second equals 2 just add 2 + 1 and you get 3
why is that the first is 1 and the second is 2 because binary uses twos as the base instead of ten.
"another example from the teachers notes" Here's a mathematical tip for understanding Binary: What is 101011? 1 x 1 = 1 1 x 2 = 2 0 x 4 = 0 1 x 8 = 8 0 x 16 = 0 1 x 32 = 32
1 + 2 + 8 + 32 = 43
rudyrbastari
5,212 Pointsrudyrbastari
5,212 Pointslook up the twos table in the video