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

What number is represented by the byte 00000111?

how to know what the byte represent

3 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! I drew up a chart and posted it on Treehouse in this thread not long ago. Take a look and see if it helps clarify things! Good luck! :sparkles:

Corey Johnson
PLUS
Corey Johnson
Courses Plus Student 10,192 Points

If you need any more assistance with binary, please let me know Abdulrahman. The chart Jennifer posted really helps. Once you have the positions down, it is pretty easy to convert binary to decimal and vice versa.

Morgan Faye
Morgan Faye
1,058 Points

Hi there,

The answer is 7. It may be confusing at first but if you look at the digits separately it makes it much easier.

Reading from right to left and disregarding the zeros the first digit is 1, the second is 2 and the third is 4. Simply add these together and you get 7.

Another example would be 01001101 which would equal 77. Reading from right the left again and disregarding the zeros, the first is 1, the second is 4, the third is 8 and the forth is 64.