1.2 Algebra - Number Systems Flashcards
What base is binary?
base 2 number system
what power does binary represent?
power of 2
what digits does binary use?
0 and 1 only
how do you convert binary to decimal?
create power of 2 table, place the binary number underneath, then add the numbers above the 1 together
how do you convert from decimal to binary?
create power of 2 table to the power below the decimal number (decimal no 271 = power 256 (2 to the power of 8)).
place a 1 underneath highest power.
subtract decimal number by highest power number (271-256=15)
place a 1 underneath the other powers which add up to remainder. (15= 8 + 4 + 2 + 1)
binary number = 100001111
how do you add binary?
same as per standard addition.
1 + 1 = 0 and carry 1 over.
What base is octal?
base 8 number system
what power does octal represent?
power of 8
what digits does octal use?
0-7
how many bits of binary is there to octal?
3-bits
how do you convert binary to octal?
using a 3-bit binary/octal table.
start right to left, and pad final section of binary out with 0 (Zero) if there isnt 3 bits. convert them using table.
how do you convert octal to binary?
reverse method to binary to octal.
3 bit binary/octal table. left to right
how many base is hexadecimal?
base 16 number systems
what power does hexadeciaml represent?
power of 16
what digits does hexadecimal use?
0-9 and A-F
A-F represent 10-15