1 = on
0 = off
Decimal ( 41 ) = binary ( 1 0 1 0 0 1 )
0=0 in binary 1=1 2=10 3=11 . . . Got it?
1 In binary numbering means on 0 In binary numbering means off
binary. ex. 0 in binary = 0, 1 = 01, and 2 = 11.
0 and 1 are two integers. They may represent binary digits or binary data but they need not.
1 is a single digit, 0 is the absence of a digit.
(27)decimal = (1 1 0 1 1)binary
AND can be thought of as binary multiplication, an AND operation will only be true if both arguments are true, otherwise it will be false: 0 * 0 = 0 0 * 1 = 0 1 * 0 = 0 1 * 1 = 1
As per the 8421 rule the given binary number can be solved as : 0 0 0 0 0 1 1 1 0 0 0 0 0 4 2 1 i.e : 4+2+1 = 7 So the answer is 07 in decimal for 00000111 in binary
149 = 1 0 0 1 0 1 0 1
binary codes uses 0 and 1
Normally 1 - 1 = 0 the binary number for 1 is 1 the binary number for 2 is 10 the binary number for 3 is 11 3 - 2 = 1 The binary form of that equation is 11 - 10 = 1 The binary inverse operation would be 1 + 10 = 11 The rest is binary math 11 + 10 = 101 10 + 10 = 100 101 - 1 = 100 100 - 1 = 11 11 - 1 = 10 10 - 1 = 1 1 - 1 = 0 Therefore according to the pattern being displayed, the binary code for zero is 0.