answersLogoWhite

0


Best Answer
Answer to Why ASCII has only 255 codesAs you know the alphabet has 26 letters. If you include capital letter that would be 52. There is also lots of punctuation, digits we end up with 127. But there is other function buttons (example. Ctrl + Alt + Del) we need to get more space.

If we use 7 binary digits (Computers counting systems is binary) we end up with 127. That isn't enough to hold all the characters. So we make it 8 binary digits. The maximum number for 8 binary digits is 11111111. Which in our counting system is 255.

AnswerASCII is a 7-bit character encoding, so it has only 128 codes: 0 through 127. The upper 128 codes in an 8-bit byte (128 through 255) are unused and undefined by ASCII, but many ASCII extensions (such us ISO-8859-1) make use of those unused codes.
User Avatar

Wiki User

โˆ™ 2012-08-10 16:26:36
This answer is:
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar

Add your answer:

Earn +20 pts
Q: Why ASCII has only 255 codes?
Write your answer...
Submit
Related questions

How do you find the ASCII value of numbers greater than 9?

You can find the ASCII value of numbers greater than 9 using the following functions: std::to_string or boost::lexical_cast or std::ostringstream depending on the compiler that you are using.


How many distinct ASCII codes are there?

128 ascii codes.


Why does ascii go 0-255?

1 byte is made up of 8 bits.In Binary 8 bits have a value of 0-255, therefore any character in ASCII will only take up a physical space of 1 byte.


Ascii value of 255?

ASCII standardizes characters between 0 and 127.


Is ASCII codes vary machine to machine?

No.ASCII stands for American Standard Code for Information Interchange. It couldn't be called a standard if it varied from machine to machine.Note that this only applies to the core ASCII values. Some machines/programs/formats will use a subset or extended set of ASCII codes.


ASCII character set?

ASCII characters do represent a numerical codes of letters and other alphabetical signs. Computers do not understand only numbers so they use this numerical codes to interpret letters into their own "language".


Write a program to print all ASCII?

for (int i = 0; i<=255; i++) { char x = i ; cout << "Ascii value of " << i << ":: " << x << "\n"; }


What is the binary equivalent of the word Network using ASCII encoding?

ASCII character array (including null-terminator): {'N','e','t','w','o','r','k','\0'} ASCII character codes (decimal): {78,101,116,119,111,114,107,0} ASCII character codes (octal): {4,7,1,4,5,3,5,0,7,3,5,5,7,3,4,4,6,5,4,0,0} ASCII character codes (hexadecimal): {4E,65,74,77,6F,72,6B,00} ASCII character codes (binary): {01001110,01100101,01110100,01110111,01101111,01110010,01101011,00000000} When treated as a 64-bit value, the ASCII-encoded word "Network" has the decimal value 5,649,049,363,925,854,976.


Where can you find ASCII codes?

A simple Google search on "ASCII table" found this site:


Why ASCII code is 0 to 255?

it's because it's 8 bits in binary system, 2^8 = 256 combinations from 0 to 255


What is the ASCII 225 codes?

birany code for 225


What is the default file extension for ASCII file?

*.txt. In reality the ascii file can have any extention. A ASCII file is just a raw text file with no enbedded codes within the file.


What are the ASCII codes for subset and proper subset?

Since ASCII ⊊ unicode, I don't know if there are ASCII codes for subset and proper subset. There are Unicode characters for subset and proper subset though: Subset: ⊂, ⊂, ⊂ Subset (or equal): ⊆, ⊆, ⊆ Proper subset: ⊊, ⊊,


What is set of 128 numeric codes that represent the English letters?

Ascii


What system translates the decimal numbers 0 255 into binary data representing a letter of character on the keyboard?

ASCII


What is the difference between an ASCII file and a binary file?

"ASCII file" refers to a "text" file that is readable by the naked eye (it only contains the letters a-z, numbers, carriage returns, and punctuation marks). Conversely, a binary fie is not readable by the naked eye (it contains the ASCII characters in addition to binary codes).


How do you create a Mafia Wars name containing symbols?

Use the ASCII codes.


What is the domain of the unsigned character data type?

The unsigned character type has a minimum range of 0 to 255 and is therefore the ideal type to represent integers within this range, in addition to representing all character codes within the extended ASCII character set.


What does accii stand for?

Basically,it is ASCII. It stands for 'American Standard Codes for Information Exchange'.


What are the codes for Panasonic pv-c1320?

255 worked for me.


Original ASCII codes were 7 bit or 8 bit?

ASCII is a 7 bit code. There are many nonstandard extensions of ASCII to 8 or 9 bits by various computer companies. ASCII was developed to replace the obsolete 6 bit BAUDOT teletype code and was never originally intended for use on computers.


Codes for shapes for hearts and stars?

ASCII code 3 is a heart. Code 42 is a star.


What are the different data communication codes?

Baudot/telex code, ascii code, ebcdic code


What file type combines ASCII codes with special commands that distinguish variations?

Dot matrix


Who made the ASCII code?

Bob Bemer developed the Ascii coding system to standardise the way computers represent letters, numbers, punctuation marks and some control codes. By evolutionx86