Flashcards
Hex 1: Hex & Denary
Cards in this deck (9)
- 1Hex Number SystemBase 16
Uses 'Numbers':
0 1 2 3 4 5 6 7 8 9 A B C D E F - 2A-F Represent?A =10
B = 11
C = 12
D = 13
E = 14
F = 15 - 3Why use Hex?Hex codes are used in many areas of computing to simplify binary codes.
Computers do not use hexadecimal - it is used by humans to shorten binary to a more easily understandable form. - 4Convert Denary to HexE.g. 161 to Hex
Step 1: Work out how many 16's can fit into the denary number. (e.g 16 x10 = 160)
Step 2: Work out the remainder
(e.g. 161-160 = 1)
Step 3: So far we have an answer of 10|1 but we need to use the Hex number system
10 = A
1 = 1
Our answer is A|1
161 = A1 - 5100 to Hex16 * 6 = 96
100 - 96 = 4
Answer = 6|4 - 616 to Hex16 * 1= 1
16 - 16 = 0
Answer = 1|0 - 7Convert Hex to DenaryE.g. AB
Step 1: Multiple the first digit by 16 (E.g. A * 16 which is 10 * 16 = 160)
Step 2: Add the second digit to the total (e.g. 160 + B which is 160 + 11 = 171)
Step 3: AB = 171 - 816 to Denary1 * 16 = 16
16 + 6 = 22
16 Hex = 22 - 9F3F * 16 = 15 * 16 = 240
240 + 3 = 243
F3 Hex = 243
Information
- Description
- GCSE Computer Science (Binary Logic) Flashcards on Hex 1: Hex & Denary, created by Lyssa Badger on 27/05/2015.
- Created by
- Lyssa Badger
- Views
- 23
- Rating