All Exams Test series for 1 year @ ₹349 only
Question

ASCII uses _______ bits to code each character.

The correct answer is

7

Understanding ASCII Character Encoding

Let's explore how the ASCII (American Standard Code for Information Interchange) system works to represent characters on computers. The question asks about the number of bits ASCII uses to code each character. This refers to the standard or original version of ASCII.

What are Bits and Character Encoding?

In computing, everything is stored and processed using binary digits, or bits (0s and 1s). To represent text characters like letters, numbers, and symbols, a system is needed to map each character to a unique binary code. This mapping is called character encoding.

ASCII is one of the earliest and most widely used character encoding standards. It was developed to provide a common way for computers and devices to exchange text data.

How Many Bits Does Standard ASCII Use?

The original and standard ASCII encoding uses a fixed number of bits for each character. This fixed size allows computers to easily read and process text character by character.

  • Standard ASCII uses 7 bits to represent each character.
  • With 7 bits, you can create $2^7$ different combinations.
  • $2^7 = 128$. This means standard ASCII can represent 128 unique characters.

These 128 characters include uppercase and lowercase English letters (A-Z, a-z), digits (0-9), punctuation marks, and control characters (like newline, tab, etc.).

Why 7 Bits?

When ASCII was developed, 7 bits were chosen as a balance. It was enough to represent all the commonly used characters in English text and allowed for efficient storage and transmission on the technology available at the time. Often, these 7 bits were stored within an 8-bit byte, with the eighth bit sometimes used for parity checking (error detection) or later used for extended ASCII character sets.

Analyzing the Options

Let's look at the given options in the context of standard ASCII:

  • 7 bits: As discussed, this is the number of bits used by standard ASCII to represent each character, allowing for 128 characters.
  • 8 bits: An 8-bit system can represent $2^8 = 256$ characters. While extensions to ASCII (like Extended ASCII or code pages) use 8 bits to include more characters (like accented letters, symbols, drawing characters), the *standard* ASCII encoding itself uses 7 bits. The question asks about "ASCII," which typically refers to the original 7-bit standard unless specified otherwise.
  • 9 bits: 9 bits would allow for $2^9 = 512$ characters. This is not a standard number of bits for ASCII encoding.
  • 24 bits: 24 bits would allow for $2^{24} = 16,777,216$ characters. This is far more than what ASCII needs and is more characteristic of encoding systems like Unicode (specifically UTF-8 or UTF-16 can use more bits per character or character component).

Based on the standard definition of ASCII, it uses 7 bits per character.

Revision Table: ASCII Basics

Concept Description
ASCII American Standard Code for Information Interchange
Purpose Standard character encoding for representing text as binary data
Bits per character (Standard ASCII) 7 bits
Number of characters (Standard ASCII) 128 ($2^7$)

Additional Information: Extended ASCII and Beyond

While standard ASCII uses 7 bits, the term "ASCII" is sometimes loosely used to refer to 8-bit character sets that are backward-compatible with 7-bit ASCII. These 8-bit sets, often called Extended ASCII or code pages, use the extra bit to encode an additional 128 characters, totaling 256 ($2^8$). These extra characters vary depending on the specific code page used.

For modern computing, character encoding has evolved significantly with the advent of Unicode. Unicode aims to provide a unique number (code point) for every character in every language, as well as symbols. Encoding forms like UTF-8, UTF-16, and UTF-32 are used to represent these Unicode code points using varying numbers of bits (e.g., UTF-8 uses 1 to 4 bytes per character).

However, when the question specifically asks about "ASCII" without mentioning "Extended" or a specific code page, it refers to the foundational 7-bit standard.

Was this answer helpful?

Important Questions from Bibliographic Description - Teaching

  1. 'Three Card System' was devised by:

  2. 'Europa World of Learning' is :

  3. 'Raja Rammohan Roy National Agency for ISBN' is located at:

  4. Which one of the following is not a tool for Book Selection?

  5. Which of the following is not a section of the main entry in CCC (Ed. 5):

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App