Review the bit width and character range of the basic ASCII code.
Which description is correct?
ASCII is a 7-bit code set covering values 0 through 127 for letters, digits, basic symbols, and control characters.
Detailed explanation
Incorrect. This describes UTF-8-like Unicode encoding.
Incorrect. This resembles an 8-bit Western character set.
Incorrect. Escape-based Japanese switching resembles ISO-2022-JP.
Correct. ASCII uses 7 bits for 0–127.
Try it yourself
An example you can run in a temporary verification environment.
printf 'A' | od -An -tu1Expected result
65Key points
- 7-bit
- 0 through 127
- Common foundation for encodings
Notes
- Environment: POSIX printfとod / ASCII文字のみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Locale category
A setting that controls language, numeric formatting, collation, or date display.
Character encoding
A mapping between characters and the bytes used to represent them.
Timezone
A rule set that converts timestamps for a region or display context.