Today we learned about hexadecimals and how they are used. Hexadecimals are what people would most commonly recognise as the 'hexes' of colours in programs like photoshop. Computer system designers and programmers use it because it is a more 'human-friendly' computer language.
This is a chart of the hexadecimal alphabet. There are only ever 15 letters.
Converting decimals to hexadecimals:
1. the first thing to do is get any decimal number, and divide it by 16.
2. like in the example above you take the remainders, and multiply those by 16 instead. you then use those numbers as the hexadecimal numbers.
It can be easy to get confused. The answer above may look like 26 but it is actually 2 and 6 as separate numbers. Hexadecimal numbers cannot go above 9 before they turn into numbers that go up to F. In total, this means there are 15 'letters' in the hexadecimal alphabet.
Converting a hexadecimal back to decimals:
1. order out the numbers in the hexadecimal sequence, and place however many number there are under them, starting from 1.
2. after that, you multiply the numbers by the sequence above them. In the example, 16 and 1 are the only numbers in the sequence being used, so those a what 2 and 6 are multiplied by.
3. add the results together, and you should get a decimal number.
This way of writing numbers is a lot simpler than binary, yet just as easy. This will be useful when memorizing colours in photoshop and other programs with a colour wheel.
Overall, I think I did well learning about hexadecimals. I would be confident to write a message using the formulas to hide a message with what I've learnt.
Comments