Data Encoding and Number System Conversions
Introduction
In digital electronics and software development, understanding number systems is
fundamental because computers process information using two-level logic: 0 (low) and 1
(high). While humans naturally use the decimal system (radix 10), digital systems rely on
binary (radix 2), octal (radix 8), and hexadecimal (radix 16) to manage data efficiently
(Ndjountche, 2016). This assignment demonstrates the conversion of a decimal number
derived from my birthdate—September 3, 2000 (09/03/2000)—into these formats and
explores the significance of data representation in technical industries.
Number System Conversion: Decimal 90
Using the first three digits of my birthdate (090), the single number for conversion is 90.
The standard process for these conversions is the successive division method, where the
decimal number is repeatedly divided by the target radix, and the remainders are read in
reverse order (Ndjountche, 2016).
1. Decimal to Binary (Radix 2)
To convert 90₁₀ to binary, we divide by 2:
90 ÷ 2 = 45, Remainder: 0 (LSB)
45 ÷ 2 = 22, Remainder: 1
22 ÷ 2 = 11, Remainder: 0
11 ÷ 2 = 5, Remainder: 1
5 ÷ 2 = 2, Remainder: 1
2 ÷ 2 = 1, Remainder: 0
1 ÷ 2 = 0, Remainder: 1 (MSB)
Reading remainders from bottom to top, 90₁₀ = 1011010₂.
2. Decimal to Octal (Radix 8)
To convert 90₁₀ to octal, we divide by 8:
90 ÷ 8 = 11, Remainder: 2 (LSD)
11 ÷ 8 = 1, Remainder: 3
1 ÷ 8 = 0, Remainder: 1 (MSD)
Reading remainders from bottom to top, 90₁₀ = 132₈.
3. Decimal to Hexadecimal (Radix 16)
To convert 90₁₀ to hexadecimal, we divide by 16:
90 ÷ 16 = 5, Remainder: 10 (Represented as A in hex)
5 ÷ 16 = 0, Remainder: 5
Reading remainders from bottom to top, 90₁₀ = 5A₁₆.
Importance of Proficiency and Practical Use Cases
Proficiency in these conversions allows a developer to bridge the gap between human-
readable logic and hardware-level execution. It is essential for optimizing system
performance and debugging hardware-software interfaces.
Use Case 1: Embedded Systems and Hardware Control
Engineers often use hexadecimal to represent memory addresses or bitmasks. For
example, setting specific pins on a microcontroller requires manipulating binary "bits."
Writing 0xFF is more efficient and less error-prone for a developer than writing
11111111₂, though both represent the same state for eight pins (Ndjountche, 2016).
Use Case 2: Cybersecurity and Network Analysis
Cybersecurity professionals use hexadecimal and binary to analyze network packets. IP
addresses and MAC addresses are often represented in these systems. Proficiency allows
for the quick identification of data patterns in a "hex dump" to detect malicious payloads
or configuration errors.
Comparing Coding Representations
ASCII:
Character Set Size: 128 symbols (7-bit)
Compatibility: Legacy systems; English-centric
Efficiency: High for basic English text
Typical Application: Early computer text transmission
Unicode (UTF-8):
Character Set Size: Over 140,000 (up to 32-bit)
Compatibility: Universal; supports all languages
Efficiency: Variable; higher overhead
Typical Application: Modern web and software apps
Binary Coded Decimal (BCD):
Character Set Size: Only digits 0–9
Compatibility: Numeric-only hardware
Efficiency: High for decimal math
Typical Application: Digital clocks and calculators
Recommendation
For this project, I recommend Unicode (UTF-8). Unlike ASCII, which is limited to 128
characters, Unicode can represent symbols from any language, making it the "universal
alphabet" essential for modern global communication (Robertson, 2020).
The Importance of Coding Representation Choice
Choosing the wrong representation can lead to project failure. For instance, consider an
international banking system designed using only ASCII. If a customer in a non-English-
speaking country enters their name with accented characters (e.g., "Adesóyè"), an ASCII-
based system would fail to encode the characters correctly, resulting in corrupted data
known as "Mojibake." The outcome would be failed identity verifications, legal
compliance issues, and potentially lost financial transactions. By selecting Unicode
initially, the project ensures data integrity across all global interactions.
Word Count: 642
References
Ndjountche, T. (2016). Digital electronics 1: Combinational logic circuits. John Wiley &
Sons, Incorporated.
Robertson, S. (2020). B c, before computers: On information technology from writing to
the age of digital data. Open Book Publishers.
[Link]
The Organic Chemistry Tutor. (2021, January 15). Number Systems Introduction -
Decimal, binary, octal & Hexadecimal [Video]. YouTube.
[Link]
ALL ABOUT ELECTRONICS. (2021b, August 2). Binary codes: Classification of
binary codes explained [Video]. YouTube. [Link]
v=M6XIdyH-q68