Home >>

Number Systems; Computer Science
Published By Manyara on 2012-09-29 112 Views


In computer science a number system is a format in which data is numerically represented at hardware level in a computer. The three things that characterize a number system are the number of independent digits in the number systems, the place value of these digits and the maximum number that can be written with the digits provided in the number system.


In computer science a number system is a format in which data is numerically represented at hardware level in a computer. The three things that characterize a number system are the number of independent digits in the number systems, the place value of these digits and the maximum number that can be written with the digits provided in the number system.
There are four basic number formats/ systems namely; hexadecimal, octal, decimal and binary number systems. The difference between the number systems is essentially their bases or radix. The radix or base refers to the number of independent digits that can be used in the system. Below is an overview of these four number systems.

Decimal Number System
In decimal number system, there are ten independent digits that can be written. This means that the decimal system has a radix or base of 10. This is the number system that everyone is very familiar with. The independent digits in octal system are 1, 2, 3, 4, 5, 6, 7, 8, 9 and 0.
The reason we say that the decimal number system has 10 independent digits is that any number larger than 9 is a combination of these ten digits stated above. The next ten digits after 9 are 10 to 19 which combinations of the ten independent numbers are. This goes on to 99 and then we add an extra digit to the numbers.
Place values of decimal numbers in integer part from the decimal point are 100, 101, 102 and so on while for the fraction part they are 10-1, 10-2, 10-3 and so on.

Octal Number System
Octal number system has a base of 8 and thus eight distinct digits which are 0, 1, 2, 3, 4, 5, 6 and 7. The next digit after 7 is 10 and goes to 17 and then 20 to 27.The sequence goes on until 77 is reached and after 77 the sequence proceeds to 100 and after 777 goes to 1000. In simple terms, octal number system does not have 8 and 9 and goes to the next place value after every 7 is reached.

Place values of octal numbers in integer part are 80, 81, 82 and so on while for the fraction part they are 8-1, 8-2, 8-3 and so on.


Hexadecimal Number system
Hexadecimal number system has a radix of 16. This means that it has 16 distinct digits. It runs from 0 up to 9 but after 9 it uses A, B, C, D, E, F and G. The letters after digit 9 were used for the obvious reason of attaining the required number of distinct digits for the system.

The distinct digits of the hexadecimal number system are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F and G. Hexadecimal number system provided a condensed method of representing large numbers in computers.

Binary Number System
A binary number system has a radix or base of 2 meaning it has only two distinct digits 0 and 1. To show how the binary numbers larger than one are got here are the first 16 numbers in the binary number system would be 0, 1, 10, 11, 100, 101, 110,111, 1000, 1001, 1010, 1011, 1100, 1101, 1110 and 1111.

Place values of binary numbers in integer part are 20, 21, 22 and so on while for the fraction part they are 2-1, 2-2, 2-3 and so on.
 

Post Comment Comments (0) Report This

More Articles Specially Recommended for You:

How A Pressure Cooker Works

A pressure cooker is basically a cooking pot with an air tight lid to keep steam in it. The pressure cooker is used in most homes as an efficien

Written By : Manyara
Make an effective business card

A business card is majorly a tool used to connect with clients, attract new clients to a business and also to connect with new clients or even o

Written By : Manyara
Types of silicone sealant and their applications

Silicone is an inert polymer of silicon. Since it is a polymer, means it is a compound that has both silicon and such elements as carbon, oxygen

Written By : Manyara
Types and Functions of Piston Rings

A piston ring is a split metal ring in reciprocating or internal combustion engines that is placed around the piston head’s outer diameter

Written By : Manyara
How to Design Your Own Home Theater Room

With changing trends, people now prefer to get entertained indoors, rather than go to the movie theatres. Changing trends to home designs have t

Written By : Manyara
Urban Exploration: trespassing or adventure - the stuff you really should know before you urbex

What is Urban Exploration? Urban Exploration or 'Urbexing' is, put simply, an interest in deserted, abandoned and derelict

Written By :10prestoncourt
Sourcing Raffle Prizes and Auction Lots

Holding a raffle or auction is a great way to raise funds for your cause. However, you need to go about it in the right way. Who t

Written By :10prestoncourt
Event Publicity tried and tested ways to reach the right audience

You don't need to spend lots of money to publicize your event, you just need to follow some tried and tested methods. Establish

Written By :10prestoncourt
How to create eye-catching event flyers

In a world where we are bombarded with information everywhere we go, it is very easy to overlook a neatly typed up event poster. 

Written By :10prestoncourt
Howtoee Review

Howtoee is a new revenue sharing site. It currently pays $5 per article and gives 100% revenue from Google Adsense. The site looks clean but I a

Written By :11tatic

COMMENTS



LogIn or SignUp! now to post your comments for this article.