Binary Math Flashcards
1
Q
What is an octet?
A
8 bytes. (8x8 bits).
2
Q
How to convert a decimal into a binary number?
A
If the decimal value is less than 128 then 1 and minus 128 from the decimal value then if that number is less than 64 then 1 and minus 64 from the decimal value and so on.
3
Q
Convert 42 into binary.
A
128 = 0 64 = 0 32 = 1 16=0 8=1 4=0 2=1 1=0 So: 00101010
4
Q
Convert 10111011 into decimal.
A
128+0+32+16+8+0+2+1=187 IF THERE IS A 1 as the last binary digit the decimal is always ODD if a 0 then EVEN decimal.
5
Q
A