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 trial

Digital Literacy Computer Basics Computer Basics Binary

David Hinton
David Hinton
3,070 Points

What number is represented by the byte 00000111?

I just don't seem to get it , if 00000011 = 3 , I come to the answer of 43 for 0000011 if the 3rd spot represents a 4

1 Answer

Haider Ali
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Haider Ali
Python Development Techdegree Graduate 24,728 Points

Hi there, I have found a useful web page which could help you out. The answer to your question is 7. Each column is worth double the previous one in binary. So the first column (from the right) would be worth 1, the next is 2, after that is 4 e.t.c. 1 means on and 0 means off. 1 + 2 + 4 = 7.

David Hinton
David Hinton
3,070 Points

Thank you very much that makes more sense :)