Basics of Computers Number System
Basics of Computers Number System
Advertisements
The technique to represent and work with numbers is called number system. Decimal number system is
the most common number system. Other popular number systems include binary number system, octal
number system, hexadecimal number system, etc.
Say we have three numbers – 734, 971 and 207. The value of 7 in all three numbers is different−
In digital systems, instructions are given through electric signals; variation is done by varying the voltage of
the signal. Having 10 different voltages to implement decimal number system in digital equipment is difficult.
So, many number systems that are easier to implement digitally have been developed. Let’s look at them in
detail.
Each binary digit is also called a bit. Binary number system is also positional value system, where each digit
has a value expressed in powers of 2, as displayed here.
In any binary number, the rightmost digit is called least significant bit LS B and leftmost digit is called
most significant bit M S B.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 1/6
1/4/2019 Basics of Computers Number System
And decimal equivalent of this number is sum of product of each digit with its positional value.
= 16 + 8 + 0 + 2 + 0
= 2610
Computer memory is measured in terms of how many bits it can store. Here is a chart for memory capacity
conversion.
1 byte B = 8 bits
1 Kilobytes K B = 1024 bytes
1 Megabyte M B = 1024 KB
1 Gigabyte GB = 1024 MB
1 Terabyte T B = 1024 GB
1 Exabyte EB = 1024 PB
1 Zettabyte = 1024 EB
1 Yottabyte Y B = 1024 ZB
Decimal equivalent of any octal number is sum of product of each digit with its positional value.
= 448 + 16 + 6
= 47010
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 2/6
1/4/2019 Basics of Computers Number System
Decimal equivalent of any hexadecimal number is sum of product of each digit with its positional value.
= 1023410
0 0 0 0000
1 1 1 0001
2 2 2 0010
3 3 3 0011
4 4 4 0100
5 5 5 0101
6 6 6 0110
7 7 7 0111
8 8 10 1000
9 9 11 1001
A 10 12 1010
B 11 13 1011
C 12 14 1100
D 13 15 1101
E 14 16 1110
F 15 17 1111
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 3/6
1/4/2019 Basics of Computers Number System
ASCII
Besides numerical data, computer must be able to handle alphabets, punctuation marks, mathematical
operators, special symbols, etc. that form the complete character set of English language. The complete set of
characters or symbols are called alphanumeric codes. The complete alphanumeric code typically includes −
Now a computer understands only numeric values, whatever the number system used. So all characters must
have a numeric equivalent called the alphanumeric code. The most widely used alphanumeric code is
American Standard Code for Information Interchange AS C I I . ASCII is a 7-bit code that has 128 27 possible
codes.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 4/6
1/4/2019 Basics of Computers Number System
ISCII
ISCII stands for Indian Script Code for Information Interchange. IISCII was developed to support
Indian languages on computer. Language supported by IISCI include Devanagari, Tamil, Bangla, Gujarati,
Gurmukhi, Tamil, Telugu, etc. IISCI is mostly used by government departments and before it could catch on, a
new universal encoding standard called Unicode was introduced.
Unicode
Unicode is an international coding system designed to be used with different language scripts. Each character
or symbol is assigned a unique numeric value, largely within the framework of ASCII. Earlier, each script had
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 5/6
1/4/2019 Basics of Computers Number System
its own encoding system, which could conflict with each other.
In contrast, this is what Unicode officially aims to do − Unicode provides a unique number for every
character, no matter what the platform, no matter what the program, no matter what the language.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 6/6