Because computers uses binary as its language. And programs are representation of logic.
Binary logic has only two possible values:TRUE or FALSE and these are coded as 1 and 0.
Crisp :Binary logicIt may be occur or non occurindicator functionFuzzy logicContinuous valued logicmembership functionConsider about degree of membership
One of the biggest applications of digital logic is using circuits to perform arithmetical operations. While theoretically, any number system could be used, binary is the most simple to express in terms of digital logic circuits.
In Positive logic, we all assume that the more positive (binary) voltage state is One, the less positive voltage state is Zero.Both voltage states could be positive, both could be negative, or they could be opposite polarities.
Computers use binary logic to process information.
Logic 0 and logic 1 are the two states in digital (or binary) logic. A binary numbering system has but two numbers: 0 and 1. In contrast, we use a decimal system with 10 numbers: 0 to 9. The area of algebra that addresses binary (2-state) logic is called Boolean. In Boolean a logic 0 may be refered to as 'low', 'off' or 'false'; a logic 1 as 'high', 'on' or 'true'. Boolean logic is the foundation of digital electronics.
Binary logic.
Logic gate
Because computers uses binary as its language. And programs are representation of logic.
Binary logic has only two possible values:TRUE or FALSE and these are coded as 1 and 0.
Marc Dorcel maybe ? ( booBlean logic ;-) More seriously, the inventor of boolean algebra ( = binary maths ) is George Boole, a british mathematician of the 19th century. Funny lapsus nonetheless
They convert the command given by us in the form of binary
AND and NOT; OR and NOT; EQU and NOT; XOR
OK. I have it. What now ?
Binary means two digits
Crisp :Binary logicIt may be occur or non occurindicator functionFuzzy logicContinuous valued logicmembership functionConsider about degree of membership