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 trialAgnieszka Uchacz
855 Pointswhat number is represented by 00000111?
quiz
2 Answers
Jennifer Nordell
Treehouse TeacherHi there, Agnieszka Uchacz! To do the calculation, start at the far right of this number. Note that I will be using ^
to represent "to the power of". You will end up with the following expression:
(1 x 2^0) + (1 x 2^1) + (1 x 2^2)
This is equivalent to:
1 + 2 + 4
So the final value will be 7.
Hope this helps!
Indiya Gooch
12,075 PointsHey there!
This handbook may help with Bitwise & Binary Conversion (pages 77-80)n: https://github.com/ChairBearLearning/software-theory/blob/master/Software%20Languages%20Theory.pdf
You'd find the binary conversion table helpful - it outputs the value 7 for you.