88,939 views
43 votes
43 votes
How many bits are used to encode a character according to the ascii encoding scheme?.

User Travis Boatman
by
3.3k points

1 Answer

27 votes
27 votes

Answer:

All ASCII character sets have exactly 128 characters, thus only 7-bits are required to represent each character as an integer in the range 0 to 127 (0x00 to 0x7F). If additional bits are available (most systems use at least an 8-bit byte), all the high-order bits must be zeroed.

User Yashira
by
2.8k points