Working of Bits | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Working of Bits

How does the bits works??Decoding of bits?? Why we use only 0 and 1??

25th Nov 2018, 9:34 AM
Roopesh
Roopesh - avatar
3 Answers
+ 6
To convert the binary to decimal, it's like you have a box of 4 columns. For example : 8 |------|-----|-----|-----| |8 |4 |2 |1 | ● ● ● ● ● ● ● ● Output : 1000 is 8.
25th Nov 2018, 12:18 PM
program
program - avatar
+ 5
0 and 1 is a binary (as a true and false) - 0 : No current eletric - 1 : Current eletric
25th Nov 2018, 12:14 PM
program
program - avatar
0
Well for a computer, bits are easier to read and process. Why ? It only contain 2 state of on and off, even a single cable are enough to transmit a binary by switch the voltage on and off
25th Nov 2018, 10:03 AM
Taste
Taste - avatar