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 trialLior karavani
940 Pointsi need more simplicity and Hebrew translation if available
is there any other way to understand the principle?
1 Answer
Adeel Sadiq
1,408 PointsSo think of binary as true or false. let's say we have two bulbs, if both are off, it means 0. If one is off and one is on, it is understood as 1 and if both are on, it can be understood as 2. So this means that with only two bits (or bulbs) you can show three values 0, 1 and 2. Binary language works with the same principle. And in computer science, we use 8 bit (or 8 bulbs) bundles representing 256 values.
I would recommend watching this for a better understanding https://www.youtube.com/watch?v=wgbV6DLVezo