+ 4
What do 0 and 1 stands for ?
I am a bit new to code exept i am go at scratch .
2 Respostas
+ 8
0 is false
1 is true
+ 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.