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

where do I get the answers?

why is 11 3?

2 Answers

In the binary number system their are two values (0 and 1). The smallest unit in binary is a bit which can be either a 0 or a 1. When you combine 8 bits together it is a byte. The binary numbering system is a positional numbering systems which means the position of the numbers indicate the relative value. Binary is a base 2 number system. The 8 positions in a byte are represented by the following values 128, 64, 32, 16, 8, 4, 2, 1. If the position in the byte is a 0 than it has no value and if its a 1 it has the value of its position. So the value in your question of: 00000011 = 3 because the first bit on the far left is 1 which has a positional value of 1 and the second bit is also a 1 and has a positional value of 2. So we add the bits together and 1 + 2 = 3.

 0    0    0    0   0   0   1   1
128  64   32   16   8   4   2   1