Assignment Activity Unit 2: Number Systems and Coding
Representations
Introduction
In the technology industry, especially in software development and data
communication, understanding number systems is fundamental. Different devices
and systems represent and process data using various number bases and coding
schemes. As a software developer working on a system that encodes and decodes
data for communication between devices, it is essential to accurately convert
numbers and select suitable coding representations to ensure compatibility,
efficiency, and reliability.
Process of Converting Decimal Numbers to Other Number Systems
The decimal number system (base 10) is commonly used by humans, while
computers primarily operate using binary (base 2). Octal (base 8) and hexadecimal
(base 16) are also widely used because they provide more compact
representations of binary data. Using my date of birth 08/04/2000, the first three
digits form the number 080, which is interpreted as 80 in decimal.
Conversion of Decimal 80 to Binary
Binary conversion is done by repeatedly dividing the decimal number by 2 and
recording the remainders. 80 ÷ 2 = 40 r0, 40 ÷ 2 = 20 r0, 20 ÷ 2 = 10 r0, 10 ÷ 2 = 5
r0, 5 ÷ 2 = 2 r1, 2 ÷ 2 = 1 r0, 1 ÷ 2 = 0 r1. Reading the remainders from bottom to
top gives 1010000■.
Conversion of Decimal 80 to Octal
To convert to octal, the number is divided repeatedly by 8. 80 ÷ 8 = 10 r0, 10 ÷ 8 =
1 r2, 1 ÷ 8 = 0 r1. Reading the remainders from bottom to top gives 120■.
Conversion of Decimal 80 to Hexadecimal
Hexadecimal conversion uses base 16. 80 ÷ 16 = 5 r0, 5 ÷ 16 = 0 r5. Thus, the
hexadecimal equivalent is 50■■.
Importance of Number System Conversion in Technical Jobs
Proficiency in number system conversion is crucial in the technical industry
because computers internally represent all data in binary form. Engineers and
developers often need to interpret, debug, and optimize data at this low level. In
computer networking, IP addresses and packet headers are often represented in
binary or hexadecimal formats. In embedded systems development, memory
addresses and hardware registers are commonly accessed using hexadecimal
values.
Comparison of Coding Representations
ASCII uses 7 or 8 bits and supports up to 256 characters, making it efficient but
limited to English characters. Unicode supports a very large character set covering
most world languages and is widely used in modern systems, though it requires
more storage. Binary Coded Decimal (BCD) represents each decimal digit with
four bits and is easy to interpret but inefficient in storage.
Recommended Coding Representation
For this project involving communication between different devices, Unicode is the
most suitable coding representation. Its wide character support ensures
international compatibility and reliable data exchange across platforms.
Importance of Choosing the Right Coding Representation
Choosing the correct coding representation can determine the success of a
project. For example, using ASCII instead of Unicode in a global payment system
could corrupt customer names containing non-English characters, leading to
transaction errors and customer dissatisfaction.
Conclusion
Understanding number systems and coding representations is essential in the
software development industry. Accurate number conversion enables effective
communication between systems, while the correct coding representation ensures
compatibility, efficiency, and reliability.