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

Arel Grate
100 Points00001000? is it not 16
why isn't it 16 ?
5 Answers

Josh Bruce
15,429 Points0000 1000 is actually 8, 0001 0000 would be 16

William A. Mooney
14,859 Points0000 0001 = 0 (thanks for that Alexander), 0000 0010 = 2, 0000 0100 = 4, 0000 1000 = 8, 0001 0000 = 16, 0010 0000 = 32, 0100 0000 = 64, 1000 0000 = 128

Alexander Davison
65,469 PointsIt is actually 8, not 16. The reason is because the exponent you use with 001 is actually 0, not 1, because computers start counting at zero.
Here's a listing of exponents:
0 0 0 0 0 1 0 0 0 0
9 8 7 6 5 4 3 2 1 0

Kevin McIver
2,122 Points8

Alexander Davison
65,469 PointsUm... The question is probably already answered

Kevin McIver
2,122 PointsWord

Alexander Davison
65,469 Points?

Kevin McIver
2,122 PointsIt means word to yo mutha homey!!