McqkartGet appPractise

Character-encoding standards also define internal representations of each character. Which of the following are the encoding forms? Choose the correct answer from the options given below:

1.UTF-8 (Unicode Transformation Format-8)
2.BCD-32 (Binary Coded Decimal-32)
3.UTF-16 (Unicode Transformation Format-16)
4.BCD-64 (Binary Coded Decimal-64)
5.UTF-32 (Unicode Transformation Format-32)
A1, 3 and 5 only ✓ Correct
B2 and 4 only
C3, 4 and 5 only
D2, 3 and 4 only
Correct answer: (A) 1, 3 and 5 only
Explanation

The Unicode standard defines three encoding forms: UTF-8, UTF-16 and UTF-32, which are statements 1, 3 and 5.

UTF-8 is variable-length, using 1 to 4 bytes per character, and is backward compatible with ASCII; it is the dominant encoding on the web.

UTF-16 uses one or two 16-bit code units, pairing surrogates for characters beyond the Basic Multilingual Plane.

UTF-32 is fixed-length, giving every character exactly 4 bytes, which is simple to index but uses more space.

All three encode the same Unicode code points, which run from U+0000 to U+10FFFF.

BCD-32 and BCD-64 are not character encodings; Binary Coded Decimal stores each decimal digit in 4 bits and is used for numbers, not text.

Earlier character codes include 7-bit ASCII with 128 characters, 8-bit extended ASCII with 256, and IBM's EBCDIC.

Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.

Practise on Mcqkart →🎓 Book an expert →