Binary Flashcards
what is the other name for binary
base 2
what order is biaey in
it moves from left to right and starts at 1 which is multiplied by 2 each time
in each column we can use digits from 0 to 1.
you should only count the column that has a 1 underneath it
how do you convert from binary to denary
you use the subtraction method
how do you do the subtraction method
write your column headings start from the left.
if you can deduct a column value from your denary number, put a 1 in the binary row, then write the number you have remaining below
if you can’t deduct the value, just write a 0 in the binary row.
5 is 0101
0+0=
0
1+0=
1
1+1=
10(which is 2 in binary)
how to do addition in binary
add the numbers up column by column, starting on the right
remember that only a single bit can be in each box, so extra bits have to be carried to the next column
how do you show negative numbers in biary
you need to understand what the ‘most significant bit’ is
the MSB is the bit on the far left of the binary number you are showing.
using 8 bits the MSB is 128
this means in Twos complement, that the column would represent -128. we can now show negative numbers
how to convert a negative denary number to binary is…
- work out the positive version of the denary number
- starting from the left, flip all the bits so 1’s become 0’s and 0’s become 1’s
- keep doing this until you reach the smallest 1. leave this as 1 and any remaining 0’s as they are
- check it is correct by converting it back to denary