1 = on
0 = off
Decimal ( 41 ) = binary ( 1 0 1 0 0 1 )
1 In binary numbering means on 0 In binary numbering means off
0=0 in binary 1=1 2=10 3=11 . . . Got it?
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
1 0 0 0 0