Computer Assignment Two
Computer Assignment Two
Numbers can be represented in different bases. For example, a base of ten is called decimal, base
of eight is called octal and a base of 16 is hexadecimal.
To convert a number from decimal to the new base, divide the decimal number by the
new base which will result in a quotient and a reminder. The first remainder will be the
least significant bit of the new base.
Continually divide the quotient in each step by the new base while taking the remainder
as each subsequent bit in the new base number until the quotient becomes zero.
Illustrations
My date of birth 20-09-2000,
Number extracted 200.
Divisor Quotient Remainder
2 200 0
2 100 0
2 50 0
2 25 1
2 12 0
2 6 0
2 3 1
2 1
=(11001000)2
8 200 0
8 25 1
3
=(310)8
16 200 8
12
Hexadecimal=(C8)
Question two
Data is represented and processed differently in computing, programming and networking. Since
the technical industry job is run by several computing aspects with different data representations
like data engineering, data science, data security and integrity, data visualization and control,
data processing and analysis among others, it is important to make the right data representations
and conversions as per the required output.
In programming and software development in the technical industry, programming
languages often use hexadecimal for color codes and memory address, therefore making
the right conversions between hexadecimal and other number systems is important in
writing and debugging code.
IP addresses and MAC addresses are also represented in hexadecimal bases, therefore
making the right conversions to other number systems makes configuring network
devices easy as well as troubleshooting.
Different inputs of data from various sources presents a problem in which data is in
different formats, this data can only be interpreted when converted to the appropriate
format which involves converting between different number systems hence making data
analysis and manipulation effective.
Binary and hexadecimal number systems are important in design and assemblage of
digital circuits; therefore, it is important to make the right conversions to attain the
required output.
3.Question three
Each coding representation has limitations therefore choosing the right coding representation to
suit a project should be considered. Limitations of coding representations include
Character limitations for example ASCII uses only 128 code prints making it insufficient
for representing a wide range of languages in the software application.
Performance limitations for example ASCII and extended ASCII have performance
limitations especially when representing text in multiple languages due to their character
set limitations.
Limited flexibility capabilities in text-based languages for example ASCII uses a fixed 8-
bit representation which can lead to compatibility issues when dealing with multi-byte
characters used in many non-English languages.
Complexity for example Unicode can use different numbers of bytes to represent a
character which can create a challenge when parsing text or handling file sizes.
Therefore, I would base on the following when choosing a coding representation for my project;
Compatibility for example ASCII compatible with digital communication systems like
email, text messaging and websites, serial communication protocols among others,
Unicode is compatible with modern computer systems, projects focused on multilingual
support or financial calculations Unicode and BCD can suffice.
Target audience for instance a software application targeting an international audience
would require the use of Unicode as opposed to English based ASCII
Resources available for instance storage space on end user devices for example while
Unicode represents a vast number of characters, it requires more storage space per
character than BCD.
4.Scenario where choosing the right representation is crucial.
If am developing an accounting system software for a financial institution, I would choose to use
Unicode due to its flexibility and support for various languages and characters which are
increasingly important in global accounting environments.
BCD a number system used for precise decimal representation would suffice for making
financial calculations.
Question five
Compatibility Character set size Usage
EBCDIC Compatibility limited 256 IBM main frame
to IBM mainframes systems
ASCII Limited features 128 English based
systems
Unicode Compatible 1.1M Universal and
multilingual
Gray code Not compatible - Digital
communication
BCD Compatible for huge 10 Numeric data and
financial calculations computations
I would recommend the use of both Unicode and BCD because Unicode can allow the
processing and display of customers text financial data in various languages and also has a large
character set size allowing multilingual support and internationalization of digital content.
Furthermore, the BCD will allow the users to process, calculate and modify financial
transactions in form of figures such as balances, interest rates and transactions since it is able to
work with standard arithmetic such as multiplication, subtraction and addition
REFERENCES
https://www.studocu.com/row/messages/question/9054700/compare-and-contrast-the-character-
set-size-compatibility-and-usage-of-ascii-unicode-gray-code
https://www.techtarget.com/whatis/definition/EBCDIC-Extended-Binary-Coded-Decimal-
Interchange-Code
https://www.researchgate.net/publication/364721059_Coding_Skills_for_Accountants
https://www.sciencedirect.com/topics/computer-science/accounting-software