Hexadecimal Number System - mbits-mirafra/digitalDesignCourse GitHub Wiki
Hexadecimal Number system:
-
The number system with base or radix 16 is called as hexadecimal number system.
-
The hexadecimal number system uses 16 symbols to represent numbers.
-
These symbols are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, where A = 10; B = 11; C = 12; D = 13; E = 14; F = 15.
Why Hexadecimal?
-
When bases are larger, representing digits are lesser hence are easy to read.
-
Easy to communicate as symbols are reader friendly.
-
It utilizes highest storage space and is the best system than decimal.
-
Maximum number of various combinations can be represented using hexa as there are larger number of symbols compared to other systems.
Application:
- In HTML and CSS, hexadecimal is used to represent colors. For Example:
-
In cryptography, hexadecimal is used to represent keys and encrypted data. For example, AES-128 encryption uses a 128-bit key, which can be represented as a 32-digit hexadecimal number.
-
In digital communication, hexadecimal is used to represent data being transmitted. For example, the hexadecimal number 0x12 0x34 0x56 might represent a packet of data being sent over a network.
-
In computer memory, hexadecimal is used to represent memory addresses. For example, the memory address 0x7FFF8000 represents a specific location in memory.
1.Hexadecimal to Binary Conversion
2.Hexadecimal to Decimal conversion
3.Hexadecimal to Octal conversion