0% found this document useful (0 votes)
13 views

Y9-10-06-2024-Binary and Hexadecimal

The document discusses converting between binary and hexadecimal numbering systems. It explains that hexadecimal is base 16 and uses 16 symbols, including 0-9 and A-F, with each symbol representing 4 bits. Hexadecimal is easier for programmers to use than binary as it is easier to recognize, remember, and convert to and from binary with fewer errors.

Uploaded by

mike.saunders
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Y9-10-06-2024-Binary and Hexadecimal

The document discusses converting between binary and hexadecimal numbering systems. It explains that hexadecimal is base 16 and uses 16 symbols, including 0-9 and A-F, with each symbol representing 4 bits. Hexadecimal is easier for programmers to use than binary as it is easier to recognize, remember, and convert to and from binary with fewer errors.

Uploaded by

mike.saunders
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Computing

With: Mr Mike
Date: 10 June 2024

LO: How to convert from binary to Hexadecimal

Success criteria: Students can convert from binary to


hexadecimal and give an advantage to using hex.
Hexadecimal

Computers work in binary, so programmers often have to work with binary


numbers, such as 11011100 and 11011000.
These numbers can be very difficult to recognise and remember, it’s easy to
make errors when using them.
However, these two binary numbers can be represented in hexadecimal as DC
and D8.
Hexadecimal is used by programmers because:
▶hexadecimal numbers are easier to recognise and remember than binary
numbers
▶ they make fewer mistakes working with hexadecimal numbers than they do
working with binary numbers
▶it is easy to convert hexadecimal numbers to and from binary
Hexadecimal

Because hexadecimal is base 16,we need 16symbols to represent the digits.


We use 0 to 9,as in the decimal system, but add A to F to represent the values
10-15

In hexadecimal each digit represents four bits (halfa byte)and is known as a


nibble.

Denary (base 10)


Binary (base 2)
Hexadecimal (base 16)
Hexadecimal
Hexadecimal

The following the binary code will process the characters


THIS CODE HAS BEEN CONVERTED:
01010100011010000110100101110011OO10000001100011011011110110010001100
101OO1000000110100001100001011001100100000O1100010011001010110010101
10110OO100000O110001101101111011011100110110011001010110010O111010001
10010101100101

The first letter in the binary code above is 01010100.


This is divided into two nibbles:0101 and 0100.
The first nibble is converted to hexadecimal 5 and the second nibble to the
hexadecimal 4, giving the hexadecimal value 54.
Hexadecimal Activity

Go to todays classroom, read through the question and complete the activity

Remember to turn your work in by the end of the lesson!


Pop Quiz
1. What is base 10?
» Denary number system
2. What is base 16?

» Hexadecimal number system


3. What are two advantages of using Hexadecimal?
» Easier to recognise
» Make fewer mistakes
4. What is F in denary?
» 15

5. How many digits are there in base 2?


» 2, 0 and 1
Thank you.

In our next session, I will discuss:


Input and output.

You might also like