Presentation is loading. Please wait.

Presentation is loading. Please wait.

GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.

Similar presentations


Presentation on theme: "GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion."— Presentation transcript:

1 GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion

2 There are 16 different values available in hex:
Hexadecimal Programmers use hexadecimal numbers as shorthand for binary to save time. There are 16 different values available in hex: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2 3 4 5 6 7 8 9 A B C D E F Letters are used for the values to ensure that only single digits are used.

3 Activity Explain why hexadecimal notation is used.
Question Answer Explain why hexadecimal notation is used. It is quicker to use for programmers as there are less characters. Which characters are used to represent numbers in hexadecimal? Numbers 0-9 are represented by numbers. The letters A-F are used to represent the numbers

4 In this example we will convert DB to binary
Hexadecimal to Binary Converting between hexadecimal and binary is simple. Take each character and convert it into the equivalent 4-bit binary number In this example we will convert DB to binary Hex D B Denary 13 11 Binary 1

5 Convert these hexadecimal number to binary.
Activity Convert these hexadecimal number to binary. 4 B 3 7 E 11 14 0100 1011 0011 0111 1110 1 2 A D 10 13 0001 0010 1010 1101 1 2 3 4 5 6 7 8 9 A B C D E F

6 In this example we will convert 11110011 into hexadecimal.
Binary to Hexadecimal You convert between binary and hexadecimal by doing the reverse. You just take each group of four binary digits, starting from the right and convert it into the equivalent hexadecimal number. In this example we will convert into hexadecimal. Binary 1 Denary 15 3 Hex F

7 Convert these numbers to hexadecimal
Activity Convert these numbers to hexadecimal 1101 1111 1001 0001 0011 1010 13 15 9 1 3 10 D F A 1110 1100 1011 0101 0111 14 12 11 5 7 E C B 1 2 3 4 5 6 7 8 9 A B C D E F


Download ppt "GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion."

Similar presentations


Ads by Google