What do 0 and 1 stands for ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 4

What do 0 and 1 stands for ?

I am a bit new to code exept i am go at scratch .

20th Feb 2017, 11:32 PM
Mathall
Mathall - avatar
2 Respostas
+ 8
0 is false 1 is true
20th Feb 2017, 11:34 PM
J.G.
J.G. - avatar
+ 3
Technically, behind everything you see on the computer are 0's and 1's. These numbers are called "Binary". A condition can have two possible values, either true or false. Let us consider with an example of bulb. In switch on condition, it will glow and in switch off mode, it will not glow (excluding the exception like switch, wire or bulb are damaged). Now if the bulb is glowing it lies in 1's condition. if bulb is not glowing, it is in 0's condition. As you go ahead, you will come to know that how 0 and 1 change their values depending upon the condition.
21st Feb 2017, 4:38 AM
Rohit Swami
Rohit Swami - avatar