Docsity

Hexadecimal Number System — Basic Notes, Summaries of Mathematics

Partial preview of the text

Download Hexadecimal Number System — Basic Notes and more Summaries Mathematics in PDF only on Docsity!

Chapter 10: Hexadecimal Number System (Base-16) 1. Definition The Hexadecimal Number System is a positional number system that uses Base (Radix) 16. It consists of 16 symbols, including the digits 0-9 and the letters A-F. The value of each digit depends on its position (place value), where each position represents a power of 16. The hexadecimal number system is widely used in computer science, digital electronics, programming, memory addressing, and web color codes because it provides a compact representation of binary numbers. One hexadecimal digit is equivalent to four binary bits (4 bits). 2. Digits (0-9, A-F) The Hexadecimal Number System uses the following sixteen symbols: Decimal Value Hexadecimal Digit it) 4. Place Values Position Powerof16 Decimal Value 16¢ 16,777,216 16,777,216 165 1,048,576 1,048,576 164 65,536 65,536 163 4,096 4,096 16? 256 256 16! 16 16 16° Hexadecimal Fraction Place Values Position Powerof16 Value 1671 1/16 0.0625 16-2 1/256 0.00390625 16-3 1/4096 0.000244140625 5. General Formula For any hexadecimal number: N = ¥od; x 16 Where: e N = Hexadecimal Number e d= Hexadecimal Digit (0-9, A-F) ® 16 = Base * i = Position (Power) 7. Characteristics Base is 16. Uses 16 symbols (0-9 and A-F). It is a positional number system. Each place value is a power of 16. One hexadecimal digit = Four binary bits (4 bits). Provides a compact representation of binary numbers. 8. Advantages Much shorter than binary numbers. Easy conversion between binary and hexadecimal. Reduces errors when reading or writing binary data. Widely used in programming and computer hardware. 9. Disadvantages e Less intuitive for everyday calculations. « Requires learning additional symbols (A-F). « Not commonly used outside computing fields. 11. Applications The Hexadecimal Number System is used in: « © Computer Programming « © Memory Addressing * % Digital Electronics HTML and CSS Color Codes (e.g., #FFO000) *, Microprocessors and Embedded Systems fll Debugging and Machine Code m Data Storage and Computer Architecture © & Cryptography and Cybersecurity Decimal to Hexadecimal Conversion (1 to 50) Decimal Hexadecimal