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

question about digital literacy

I cant figure out the answer to 2 questions in this chapter what does 00000000000111 mean? and what does 0000000001000 mean? if someone could tell me the answer and explain it to me that would be great.

1 Answer

Using the table you can figure out 00000111 and 00001000

2^0 = 1 (number furthest to the right) 2^1 = 2 (2nd from the right) 2^2 = 4 (3rd from the right) 2^3 = 8 (4th from the right) 2^4 = 16 (5th from the right) 2^5 = 32 (6th from the right)

0 0 0 0 0 1 1 1 -> 0 0 0 0 0 4+2+1 = 7

0 0 0 0 1 0 0 0 -> 0 0 0 0 8 0 0 0 = 8

Hope this helps!

edit apologies, the text formatting for this doesn't show how I wanted my answer to look.