Year 11 Exam  >  Year 11 Notes  >  Computer for GCSE/IGCSE  >  Converting Between Hexadecimal & Denary

Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11 PDF Download

Converting Denary to Hexadecimal Walkthrough

  • Start by dividing the decimal number (for instance, 57) by 16, noting both the quotient and the remainder: 57 ÷ 16 = 3 remainder 9.
  • If the remainder surpasses 9, substitute it with the appropriate letter.
  • Continue the process by dividing the quotient from the previous step by 16 until the number being divided reaches zero: 3 ÷ 16 = 0 remainder 3.
  • Arrange the hexadecimal values obtained from the last step to the initial step in reverse order: 39.

You can convert your decimal number into binary first, then convert the binary number into hexadecimal:
1. 
Work out 57 in binary
Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11

2. Split it into 2 nibbles
Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 113. Turn each nibble into its hex value
2 + 1 = 3, 8 + 1 = 9
Answer is 39

Converting Hexadecimal to Denary Walkthrough

  • Begin by noting the place value of each digit in the number, starting from the right and increasing by a power of 16.

Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11

  • If you encounter a hex digit that is a letter, refer to the conversion table to find its denary equivalent.

Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11

  • The leftmost digit, such as 'E', holds a decimal value of 14. The rightmost digit, like '5', equates to a decimal value of 5.
    Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11
  • Multiply each decimal value by its corresponding place value and then sum up the products to get the final denary value.
  • For instance, (14 x 16) + (5 x 1) = 224 + 5 = 229.
  • Hence, the decimal equivalent of E5 is 229.

Alternatively, you can convert your hexadecimal number into binary, followed by converting the binary number into decimal:
1. Write each hex digit in binary
Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 112. Convert the binary to denary
Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11128 + 64 + 32 + 4 + 1 = 229 

The document Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11 is a part of the Year 11 Course Computer for GCSE/IGCSE.
All you need of Year 11 at this link: Year 11
92 docs|30 tests

Top Courses for Year 11

FAQs on Converting Between Hexadecimal & Denary - Computer for GCSE/IGCSE - Year 11

1. How do you convert denary to hexadecimal?
Ans. To convert denary to hexadecimal, divide the denary number by 16 and note down the remainder. Continue this process until the quotient is 0, then write the remainders in reverse order to get the hexadecimal equivalent.
2. Can you provide an example of converting denary to hexadecimal?
Ans. For example, to convert denary number 235 to hexadecimal, divide 235 by 16 which gives a quotient of 14 and a remainder of 11 (B in hexadecimal). Continue this process until the quotient is 0, then write the remainders in reverse order: B3 in hexadecimal.
3. How do you convert hexadecimal to denary?
Ans. To convert hexadecimal to denary, multiply each digit of the hexadecimal number by the corresponding power of 16 (starting from 0 for the rightmost digit) and sum them up to get the denary equivalent.
4. What is the significance of converting between hexadecimal and denary in computer science?
Ans. Converting between hexadecimal and denary is important in computer science as hexadecimal is commonly used to represent memory addresses, colors, and binary data in a more compact and readable format. Understanding how to convert between the two is essential for programming and debugging.
5. How can converting between hexadecimal and denary help in understanding bitwise operations?
Ans. Converting between hexadecimal and denary can help in understanding bitwise operations by allowing programmers to easily work with binary representations of data. By converting numbers to hexadecimal or denary, programmers can manipulate individual bits more effectively and efficiently.
92 docs|30 tests
Download as PDF
Explore Courses for Year 11 exam

Top Courses for Year 11

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Extra Questions

,

Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11

,

Viva Questions

,

Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11

,

past year papers

,

pdf

,

Objective type Questions

,

Free

,

Summary

,

practice quizzes

,

Previous Year Questions with Solutions

,

shortcuts and tricks

,

Sample Paper

,

study material

,

Converting Between Hexadecimal & Denary | Computer for GCSE/IGCSE - Year 11

,

video lectures

,

ppt

,

Exam

,

MCQs

,

Semester Notes

,

Important questions

,

mock tests for examination

;