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 trialCatarino Sosa
45 PointsWhat number represent by a byte 00000111
000000111
1 Answer
Courage Ngonidzaishe Moyosvi
28,998 Points0, 1, 10, 11, 100, 101, 110, 111 binary 0, 1, 2, 3, 4, 5, 6, 7 number
Mark Sebeck
Treehouse Moderator 37,777 PointsMark Sebeck
Treehouse Moderator 37,777 PointsIts 7. The right most column represents 1, the next 2 and the next 4. Add them up and you get 7.
The columns for an 8 byte are 128,64,32,16,8,42,1
so 00001000 would be 8 00001001 would be 9 and so on.