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 trialKelly Josey
396 Pointsfor the binary number 00000111 I do not understand its value in its placement.
during the quiz, we are given the binary number 00000111. if the 1 to the far right is 1 The second 1 being. 2 What is the value of the third 1 X? So in summary, how does the number read?
2 Answers
Francis Lamy
8,218 PointsSimply put, you start at one, the you double every time. I.E. 1, 2, 4, 8, 16, 32, 64, 128, etc. 1 = 1, 10 = 2 (2 + 0), 11 = 3 (1 +2), 100 = 4 (4 + 0), 101 = 5 (4 + 1), and so on... That is base 2, that's how a computer "understands"... We understand base 10 (0 to 9, so 10 numbers, then we move on)... It works the same way, but 2 instead of 10... If you want to check it out a little more, here it is well explained: http://www.steves-internet-guide.com/binary-numbers-explained/
Stephanie Lortie
362 Points00000011 = 3 , because 0000001 = (1x1=1) and 00000010 (1x2=2) 1+2 =3
00000111 = 00000100 (1x4=4) + 00000001 = (1x1=1) and 00000010 (1x2=2) = the answer
(my first answer on this forum, let me know if i'm wrong)