News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Tutorial on ASCII and ANSI standards

Started by Sunite, November 07, 2007, 10:32:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sunite

Tutorial on ASCII and ANSI standards
ASCII and ANSI codes are two types of codes used in the computer. American Standard Code for Information Interchange is the expansion for ASCII. American National Standards Institute is the expansion for ANSI.

ANSI and ASCII definitions are very important. We use keyboard to type ‘A’ to ‘Z’ , ‘a’ to ‘z’ , numbers from ‘0’ to ‘9’ and special symbols. These symbols though helpful to us, computer understand only numerical. Each key has a value. Computer takes in account the value of the key you press and produces it in monitor

ASCII CODE: ASCII codes are seven digits numbers. If we multiply 2 for 7 times it gives 128,is’nt it? So the number of ASCII numbers is 128,So each number takes values between 0 to 127.For e.g. The alphabet A takes the value 65,the alphabet a takes the value 97.8 bits are used to represent a single ASCII number.

ANSI CODE: The total number ANSI numbers that uses 16 bits is 65,536. (If 2 is multiplied for 16 times we get 65536. ANSI is called as the superset of ASCII, so lot special symbols can be typed using it.

To type ANSI and ASCII numbers: To display letter in the monitor we need to type the ASCII or ANSI value of the number. 3 digits denote ASCII and, 4 digits denote ANSI. We already see that the ANSI value of A is 65 when we specifies this in ANSI we have to specify as 065 in three digits. As same as in ASCII we have to specify as 0065 in four digits. For typing the ANSI and ASCII codes we should use the Numeric Keypad, which is in left side of our keyboard. We should not use the number keys, which is in second row of our keyboard. For typing ANSI and ASCII code open the word document in Microsoft. Press the Num lock key the light should glow.

*Press Alt key and type the keys 065(in Numeric Keypad). Letter A will display. Press Alt key and type other values (example 078,094,). From typing the three digit numbers we get the ASCII letters.

*Press Alt key and type the keys 0128. Displays the Euro money symbol, as same as type other four digit numbers (example 0065,0163,). We get ANSI letters.