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 byt the byte 00000111

j

2 Answers

Mark Casavantes
PLUS
Mark Casavantes
Courses Plus Student 13,401 Points

Hi Chase,

In our base ten number system each place value increases by a power of ten. 10^2 + 10^1 + 10^0 = 100 + 10 + 1 = 111

In the binary number system each place value increases by a power of two. Since your number only has ones in the first three place values. You would skip place values that have zeros.

2^2 + 2^1 + 2^0 = 4 + 2 + 1 = 7

I hope this is helpful.