Number
Systems and
Coding
Representatio
ns
Number
systems are
fundamental
to digital
systems
because
computers
internally
operate using
binary logic.
When
converting a
decimal
number into
binary, octal,
or
hexadecimal,
the
fundamental
idea is that
each system
uses a
different radix
— 2 for
binary, 8 for
octal, and 16
for
hexadecimal.
Ndjountche
explains that
in any radix-B
system, the
value of a
number is
determined by
the place value
of each digit
multiplied by
a power of the
base.
1. Converting
the First
Three Digits
of My
Birthdate
The first three
digits of my
birthdate form
the number:
281.
A. Decimal →
Binary
281 ÷ 2 = 140
R1
140 ÷ 2 = 70
R0
70 ÷ 2 = 35
R0
35 ÷ 2 = 17
R1
17 ÷ 2 = 8 R1
8 ÷ 2 = 4 R0
4 ÷ 2 = 2 R0
2 ÷ 2 = 1 R0
1 ÷ 2 = 0 R1
Binary:
100011001₂
B. Decimal →
Octal
281 ÷ 8 = 35
R1
35 ÷ 8 = 4 R3
4 ÷ 8 = 0 R4
Octal: 431₈
C. Decimal →
Hexadecimal
281 ÷ 16 = 17
R9
17 ÷ 16 = 1
R1
1 ÷ 16 = 0 R1
Hexadecimal:
119₁₆
2. Importance
of Proficiency
in Number
System
Conversion
Understanding
number
systems is
essential in
technical
fields because
digital systems
fundamentally
operate using
non-decimal
representation
s. Ndjountche
emphasizes
that binary is
the basis of
digital
electronics
and that
different
radices appear
in design,
debugging,
and
communicatio
ns within
systems.
Two key
industry use
cases include:
• Embedded
Systems and
Microcontrolle
rs: Engineers
configuring
registers,
memory
addresses, or
I/O operations
must interpret
binary and
hexadecimal
values daily.
misunderstand
ing in bit-level
configuration
can cause
hardware
malfunctions.
• Network and
Communicatio
n Protocols:
Protocols
often transmit
encoded data
in binary or
hexadecimal.
Technicians
decode packet
headers or
message
formats to
troubleshoot
communicatio
n issues.
3.
Comparison
of Coding
Representatio
ns
ASCII
- Character Set
Size: 7 bits
(128
characters)
- Use: Text
communicatio
n,
programming
- Efficiency:
Compact but
limited
Unicode
- Character Set
Size: Over
143,000
characters
- Use:
Multilingual
systems, the
web
- Efficiency:
Larger but
universal
Gray Code
- Use:
Sensors,
encoders
- Advantage:
Only one bit
changes at a
time, reducing
error
Recommenda
tion: Unicode
is ideal for
communicatio
n between
systems
because of its
broad
compatibility
and
multilingual
support.
4. Example of
Importance
of Correct
Coding
Representatio
Consider a
system
synchronizing
U.S. and
Japanese
customer
databases. If
ASCII were
used instead of
Unicode, all
Japanese
characters
would fail to
encode,
corrupting
data and
breaking
system
functionality.
Unicode
ensures
accurate,
reliable
representation.
References:
Ndjountche,
T. (2016).
Digital
Electronics 1:
Combinational
Logic Circuits.
Robertson, S.
(2020). B C,
Before
Computers.