Number System
Number System
3 Byte: A group of 8 bits is called byte. A byte is the smallest unit, which can represent a data item or a
character.
4 Word: A computer word, like a byte, is a group of fixed number of bits processed as a unit, which varies
from computer to computer but is fixed for each computer.
Computer - Memory Units
The following table lists some higher storage units −
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.
In general, the binary number system is used in computers.
DECIMAL NUMBER SYSTEM
Decimal number system is a base 10 number system having 10 digits from 0 to 9.
This means that any numerical quantity can be represented using these 10 digits.
Decimal number system is also a positional value system. This means that the value of digits
will depend on its position.
Let us take an example to understand this: Say we have three numbers – 734, 971 and 207. The
value of 7 in all three numbers is different−
DECIMAL NUMBER SYSTEM
The easiest way to vary instructions through electric signals is two-state system –
on and off.
On is represented as 1 and off as 0, though 0 is not actually no signal but signal at
a lower voltage.
The number system having just these two digits – 0 and 1 – is called binary
number system.
Each binary digit is also called a bit.
BINARY NUMBER SYSTEM
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 (LSB) and leftmost digit
is called most significant bit (MSB).
OCTAL NUMBER SYSTEM
Drop any leading zeros or pad with leading zeros to get groups of four binary digits (bits): Binary
011100101 = 1110 0101
Then, look up the groups in a table to convert to hexadecimal digits.
OCTAL TO HEXADECIMAL
hexadecimal= A 1 3 2
binary 1010 0001 0011 0010 =1010000100110010 binary
Drop any leading zeros or pad with leading zeros to get groups of four binary digits (bits):
binary 1010000100110010= 001 010 000 100 110 010
Then, look up the groups in a table to convert to octal digits.
HEXADECIMAL TO OCTAL
Octal 0 1 2 3 4 5 6 7