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 Computer Basics Computer Basics Binary

I am not understanding the count.

I don't understand the question.

2 Answers

What they would like you to do in each question is convert the binary number to a decimal number. Each position of a binary number is a power of 2. So 0001 is 2^0, or 1. 0010 is 2^1, or 2. 0010 is 2^2, or 4, 1000 is 2^3, or 8. Putting those values together in different ways gives all the values between 0 and 8. E.g., 1010 is 2^3 + 2^1, or 10.

The question is

What number is represented by the byte 00000001?

00000001 is a binary number. Binary means it is in base 2. The question is asking you to convert that number into a decimal number (base 10).

For Example:
00010000 is 16
00001110 is 14 
10000000 is 128

For more details on how to convert from binary (base 2) to decimal (base 10), you can review the video.