4.1.6
Converting Binary Numbers
Converting Binary and Hexadecimal
Converting Binary and Hexadecimal
Both binary and hexadecimal can be used to represent the same number, so it's important to be able to convert between them.
Binary to hexadecimal
Binary to hexadecimal
- Binary can be converted to hexadecimal by grouping into groups of 4 bits called nibbles:
- Start grouping from the right-hand side.
- Convert each nibble separately.
Hexadecimal to binary
Hexadecimal to binary
- Hexadecimal can be converted to binary by splitting each digit into nibbles:
- Separately convert each hexadecimal digit into nibbles of binary.
- Put all of the nibbles together.
Converting Denary and Hexadecimal
Converting Denary and Hexadecimal
Both denary and hexadecimal can be used to represent the same number, so it's important to be able to convert between them.
Denary to hexadecimal
Denary to hexadecimal
- The easiest method to convert denary numbers to hexadecimal is to first convert the denary to binary, and then use the binary to hexadecimal conversion algorithm.
Hexadecimal to denary
Hexadecimal to denary
- To convert from hexadecimal to denary, you should:
- Write out the powers of 16 above each hexadecimal digit.
- For each place column, multiply the hexadecimal digit by the power of 16 above it.
- Add together all of these results.
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Jump to other topics
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Unlock your full potential with GoStudent tutoring
Affordable 1:1 tutoring from the comfort of your home
Tutors are matched to your specific learning needs
30+ school subjects covered