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 describes UTF-8-like Unicode encoding.
Incorrect. This resembles an 8-bit Western character set.
Incorrect. This resembles an 8-bit Western character set.
Incorrect. Escape-based Japanese switching resembles ISO-2022-JP.
Incorrect. Escape-based Japanese switching resembles ISO-2022-JP.
Correct. ASCII uses 7 bits for 0–127.
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
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.