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

Nicholas Spano
PLUS
Nicholas Spano
Courses Plus Student 807 Points

what number is represented by the byte 00000111 = ?

isn't the answer 6? Because 1 + 2+ 3 = 6?

Matt Coston
Matt Coston
18,425 Points

With the exception of the first 1 everything is a multiple of 2. 00000111 = from the right. The first 1 = 1. The second 1 = 2 . The third 1 = 4. 4+2+1 = 7.

1 Answer