A 10-position dip switch can represent binary values ranging from 0000000000 (0 in decimal) to 1111111111 (which is 1023 in decimal). The highest hexadecimal number from this binary representation is obtained by converting 1111111111 to hexadecimal, which results in 3FF. Therefore, the highest hexadecimal number from a 10-position dip switch is 3FF.
The numbers on a tact switch can mean a variety of things. Typically, the number will be a model or part number. Depending on where the number is, that will tell what the number is for. You can call the manufacturer and ask them specifically for your switch.
They use the binary sysem because the number 1 means the switch is turned on and the number 0 means the switch is off. There is no way to use the decimal number system.
Unless the first number is zero, then this must ALWAYS be the case.
41/5 = 820/100 = 820%
This is because dividing by a number is the same as multiplying by its reciprocal.