top of page

~Maths and Logic Fundamentals (Hexadecimal to Decimal and vice versa)~

  • Writer: Archie
    Archie
  • Jan 21, 2019
  • 1 min read

Following on from learning Binary conversions, I learnt Hexadecimal conversions.


Hexadecimal numerals are widely used by computer system designers and programmers, as they provide a more human-friendly representation of Binary-coded value.


Hexadecimal has a number base of 16, Decimal has a base number of 10.


1 Hexadecimal unit is equal to 4 Binary units, following this logic we can translate 0000 0000 1111 1111 (Binary) into 00 FF (Hexadecimals).


Decimal to Hexadecimal:

  1. Take any Decimal number and divide it by 16.

  2. Continue to divide the result by 16 until you reach 0.

  3. Every time you divide and there is a reminder, multiply this remainder by 16 and note the result. A remainder of 0, results in 0.

  4. Once you've hit 0, go back over the numbers you've written down, and change numbers 10 - 15 to A - F respectively.

Hexadecimal to Decimal:

  1. Take any Binary digits and consider how each digit is expressed as a power of 2.

  2. Identify which digits have a 1.

  3. Add up the power of 2 values.

My Birthday in Hexadecimal = 23/05/2002 = 17/05/7D2


My name in Hexadecimal = Archie = 1 12 3 8 9 5


Code cracker task: 0F 0E 0C 19 04 17 05 05 0B 13 15 0E 14 09 0C 08 01 0C 06 14 05 12 0D = ONLY 4 WEEKS UNTIL HALF TERM.

Recent Posts

See All

Comments


bottom of page