Basics Flashcards
What is the range of Binary numbers
What is the the little number you use the represent it
When is it used
Range - 0 ~ 1
Little number - 2
When is it used - to show flow of electrical signal (1), and absence of electrical signal
What is the range of Denary (Decimal) numbers
What is the little number used to represent it
When is it used
Range - 0 ~ 9
Little number - 10
When is it used - everyday numbers
What is the range of Octal
What is the little number used to represent it
When is it used
Range - 0 ~ 7
Little number - 8
When is it used - in setting file permissions
What is the range of Hexadecimal
What is the little number used to represent it
When is it used
Range - 0 ~ A
Little number - 16
When is it used -
- helps shorten binary numbers
- used in showing error in computer systems
- used in IP addresses
- used to represent HTML colour codes
What does ‘Only The Helping Friends’ stand for, and when is it used
Only - octal, The - three
Helping - Hex, Friends - four
- this is used when converting from octal or hex to another number system through Binary
What does ‘Random Ducks Like Mail’ stand for, and when is it used
Random - Right, Ducks - divide
Like - Left, Mail - multiply
This is used when doing division or multiplication in binary numbers (right shift/left shift)
What is 2’s complement and when is it used
It is when you find the first 1 (in a binary number) and from then you flip all the letter after, starting from the left going to the right. It is used to make a binary number negative
How do you convert binary to denary
You first write down your binary number, then you put numbers starting from 1 and progressively double in (1, 2, 4, 8, 16, 32, 64, 128), the numbers in this sequence which line up with 1 in the binary numbers are added together and the numbers which line up with 0 are discarded
Denary to Binary
You take your denary number and divide it by 2 until you get all the way down to 1, while you are dividing if there is a remainder of 1 you put it by the number. You then get your binary number by writing starting at the 1 (which you divided your way down to) and going up to
Octal to Binary
Starting from the right side of your octal number you convert each number into a three bit binary number. You put all the three bits together, and you have you binary number
Binary to octal
You take your binary number and separate it into groups of three (if not enough numbers you can add 0’s in the front), then you convert each three bit group into its octal number, you but all the octal numbers you get together
Hexadecimal to Binary
You start from the right side and convert each hex number into a 4 bit binary number (if not enough digits add 0’s at the front), you put all your four bit groups together and that makes a binary number
Binary to Hexadecimal
You take your binary number and start from the right side and group the numbers into 4 bit groups, you then convert these to their equivalent in the hexadecimal number system, put all the numbers you get and you have your answer
How do you convert between denary, octal and hexadecimal
You first convert the number to binary then to the other number system