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 trialRaphael Reiter
6,820 Points0000111. I answered 9 because I thought it was 6+2+1. can you explain my mistake please?
- I answered 9 because I thought it was 6+2+1. can you explain my mistake please? i dont understand.
I had the understanding that the 1st row from the right equaled 1, the 2, then 6, and then 8. Am i wrong?
Also Is there a place where we can get answers that we answered incorrectly in the quizzes? that would be great.
thanks for your help. best, raphael
9 Answers
Caleb Kleveter
Treehouse Moderator 37,862 PointsIt is actually 4+2+1, so it equals 7.
Frank Schurink
4,543 PointsHi Raphael,
You made a mistake with the 3th, because it's not 6 but 4.
00000000 = 0 00000001 = 1 00000010 = 2 00000011 = 3 00000100 = 4 00000101 = 5
So the answer should be 1+2+4=7.
About your second question: I don't know, sorry.
Nisarg Rajvi
Courses Plus Student 733 Points00000000 = 0*0 = 0 00000001 = 2*0 = 1 00000010 = 2*1 = 2 00000011 = 2 + 1 =3 00000100 = 1 + 1 + 2 = 4 00000101 = 1 + 4 = 5
so hence 0000111 would be like 1 + 2 + 4 = 7
Raphael Reiter
6,820 Pointsargh, thanks Caleb.
Raphael Reiter
6,820 PointsThanks Franck :) i understand now
Chris Ward
12,129 PointsCopy and paste the following into a word processor and set the font to Courier New then print it for your reference...
It goes from 2^7 (128) down to 2^0 (1):
0 0 0 0 0 0 0 0
1
2 6 3 1
8 4 2 6 8 4 2 1
MAZIN SAEEDI
508 Pointsthe best way is to play this game http://forums.cisco.com/CertCom/game/binary_game_page.htm
Phil Pickering
49 PointsYou can retake the quizzes at any time to review your progress. The same questions appear each time so you can always use trial and error to get to the correct answer.
ashad mouhamad
681 Points128.64.32.16.8.4.2.1 this the binary code 00000000 ==> 0 00000001 ==> 1 00000010 ==> 2 00000100 ==> 4 00001000 ==> 8 00010000 ==> 16 00100000 ==> 32 01000000 ==> 64 10000000 ==> 128