Professional Documents
Culture Documents
ASCII was first developed and published in 1963 by the X3 committee, a part of the
ASA (American Standards Association). The ASCII standard was first published as
ASA X3.4-1963, with ten revisions of the standard being published
between 1967 and 1986.
ASCII sections.
How do you pronounce ASCII?
Convert text into ASCII.
ASCII sections
The ASCII table is divided into three different sections.
Limitations of ASCII
Only having the ability to support 256 characters is limiting for many languages and
impossible for Asia languages like Chinese. To help overcome this
limitation, Unicode was created and adopted by all countries
Standard or lower ASCII characters and codes
Extended ASCII characters and codes
Extended ASCII uses eight instead of seven bits, which adds 128 additional
characters. This gives extended ASCII the ability for extra characters, such
as special symbols, foreign language letters, and drawing characters as
shown below.
Definition
A number system which has its base as ‘eight’ is called an Octal number system. It uses numbers from 0
to 7. Let us take an example, to understand the concept. As we said, any number with base 8 is an octal
number like 248, 1098, 558, etc.
Like Octal number is represented with base 8, in the same way, a binary number is represented with
base 2, a decimal number with base 10 and the hexadecimal number is represented with base 16.
Note: Octal number system supports digits from 0 to 7. Beyond 7, such as 8 and 9 are not octal
digits. For example, 19 is not an octal number.
Or 13 = 1011
8 2
What is the binary number 1111 equivalent to in the octal number system?
1111 can be written in groups of three digits by adding 0’s, such as;
001111 → 001 111 → 17
(1111) → (17)
2 2
Octal to Hexadecimal Number
Hexadecimal numbers consist of numbers and alphabets. It is represented with base 16. The
numbers from 0-9 are represented in the usual form, but from 10 to 15, it is denoted as A, B, C,
D, E, F. Conversion of the octal number to hexadecimal requires two steps.
Applications
The octal Number system is widely used in computer application sectors and also in the aviation
sector to use the number in the form of code.
Based on octal number system applications, several computing systems are developed. All the
modern generation computing system uses 16-bit, 32-bit or 64-bit word which is further divided into
8-bit words. Similarly, for various programming languages, octal numbers are used to do coding or to
write the encrypted language, which is only understood by the computing machine.
Also in the aviation sector or field or say aviation industry, Transponders used in the aircraft transmit
a code which is expressed as four octal digit number. These codes are interrogated by ground radar.
Importance
The octal number system uses less digits (3-bits) than hexadecimal numbers (4-bits), which is one
of the advantages. It is therefore, there will be less computations and the possibility of the
occurrence of error will degrade.
Because of less digits, it is also easy to convert octal to any other number system and vice-versa.
One of the disadvantages is that computers do not understand the octal numbers in a direct way and
hence it has to be converted into binary numbers first.
Number System is a way to represent numbers in computer architecture. There are four different
types of the number system, such as:
In this article, let us discuss what is a binary number system, conversion from one system to other
systems, table, positions, binary operations such as addition, subtraction, multiplication, and
division, uses and solved examples in detail.
Example: Convert 4 in binary.
Solution:
4 in binary is (100)2.
Here, 4 is represented in the decimal number system, where we can represent the number using the
digits from 0-9. However, in a binary number system, we use only two digits, such as 0 and 1.
Now, let’s discuss how to convert 4 in binary number system. The following steps help to convert 4
in binary.
Step 1: First, divide the number 4 by 2. Use the integer quotient obtained in this step as the dividend
for the next step. Continue this step, until the quotient becomes 0.
Step 2: Now, write the remainder in reverse chronological order. (i.e from bottom to top).
Here, the Least Significant Bit (LSB) is 0 and the Most Significant Bit (MSB) is 1.
So, if we want to find how many bits does 4 in binary have? we have to count the number of zeros
and ones.
So, 4 in binary is 1002. Here, there are 2 zeroes and 1 one. Hence, we have 3 bits.
Facts to Remember:
We place the digits in columns 20, 21 and so on in base 2. To place a value that is higher than 1 in 2 n,
you need to add 2(n+1). For instance, to add 3 to column 20, you need to add 1 to column 21.
Position in Binary Number System
In the Binary system, we have ones, twos, fours etc…
1 × 8 + 0 × 4 + 1 × 2 + 1 + 1 × ½ + 1 × ¼ + 0 × 1⁄8
= 11.75 in Decimal
To show the values greater than or less than one, the numbers can be placed to the left or right of the
point.
For 10.1, 10 is a whole number on the left side of the decimal, and as we move more left, the number
place gets bigger (Twice).
The first digit on the right is always Halves ½ and as we move more right, the number gets smaller (half
as big).
What is a bit?
A bit is a single digit in the binary number. For example, 101 is three-bit binary numbers, where 1, 0 and
1 are the bits.
A number system which uses digits from 0 to 9 to represent a number with base 10 is the decimal system number.
The number is expressed in base-10 where each value is denoted by 0 or first nine positive integers. Each value in this
number system has the place value of power 10. It means the digit at the tens place is ten times greater than the digit
at the unit place. Let us see some more examples:
(92)10 = 9×101+2×100
(200)10 = 2×102+0x101+0x100
The decimal numbers which have digits present on the right side of the decimal (.) denote each digit with decreasing
power of 10. Some examples are:
(30.2)10= 30×101+0x100+2×10-1
(212.367)10 = 2×102+1×101+2×100+3×10-1+6×10-2+7×10-3
Also, read:
Binary to Decimal
In this conversion, a number with base 2 is converted into number with base 10. Each binary digit here is
multiplied by decreasing power of 2.
We need to multiply each binary digit with the decreasing power of 2. That is;
1×24+1×23+0x22+1×21+1×20
=16+8+0+2+1
=27
Octal to Decimal
In this conversion, a number with base 8 is converted into number with base 10. Each digit of octal
number here is multiplied by decreasing power of 8. Let us see one example:
Decimal to Binary
To convert a decimal number into an equivalent binary number we have to divide the original number
system by 2 until the quotient is 0, when no more division is possible. The remainder so obtained is
counted for the required number in the order of LSB (Least significant bit) to MSB (most significant bit).
Let us go through the example.
Example: Convert 2610 into a binary number.
Decimal to Hexadecimal
The given decimal number here is divided by 16 to get the equivalent hex. The division of the number
continues until we get the quotient 0.
Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Solution: Divide 242 by 16 and repeat the steps, till the quotient is left as 0.
Therefore, (242)10 = (F2)16
Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F
Octal 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17
(121)8 = 8110
Therefore, 8110 = 5116
Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F
Binary 0 1 10 11 100 101 110 111 1000 1001 1010 1011 1100 1101 1110 1111
Therefore, (11100011)2 = (E3)16