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

Kayelan Nyako
PLUS
Kayelan Nyako
Courses Plus Student 2,849 Points

Binary numbers base number

I don't understand. I tried this question twice. I said 1 for the first answer and it said it was wrong, then I tried 0 and it was wrong. It only uses 1 and 0. I don't understand.

1 Answer

Mark Pryce
Mark Pryce
8,804 Points

Correct binary is a collection of 1 and 0, But in binary it increases the value *2 starting at a Base value of 2.

So.. 1 0 0 1 0 .... Is.... 32 16 8 4 2

The number 1 = 4+32= 36 (you read binary from right to left.) Hope it helps.