Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Digital Literacy Computer Basics Computer Basics Binary

who knows a easier way to understand binary?

need help with binary

3 Answers

Codin - Codesmite
Codin - Codesmite
8,600 Points

Imagine Binary as an on off switch for a light bulb.

0 = OFF

1 = ON

So if we were to send the 8bit binary 10110000 to the light bulb switch it would go ON OFF ON ON OFF OFF OFF OFF.

So for example in your PC when binary code is sent to your hardware it is recieving an electrical current turning on and off different parts of the hardware.

Binary numbers are quite easy to remember as:

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

So for example 10110010:

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

10110010 = 128 + 32 + 16 + 2 = 178

Hi guys. Can't we upload a photo or print screen?

It would be great in certain cases like this one here.

Helpful. very easy to understood. thx bro

anthony compres
anthony compres
2,259 Points

superrr now i get it. thank so much

Eriberto Larios
Eriberto Larios
82 Points

same here. Thank you so much.

The 'Dummies' series has helpful info, too:

Digital Electronics: Binary Basics http://www.dummies.com/programming/electronics/digital-electronics-binary-basics/