Computer Fundamentals Multiple Choice Questions on “Unicode”.
1. The numbers used to represent numeric values in EBCDIC are _______
a) zoned
b) unsigned
c) packed
d) eb
Answer: a
Clarification: Zoned numbers represent the numeric values under EBCDIC (Extended Binary Coded Decimal Interchange Code). In zoned format, there is only one digit per byte.
2. Unicode provides a consistent way of encoding multilingual plain text.
a) True
b) False
Answer: a
Clarification: Unicode defines codes for characters used in all major languages of the world.
It is a coding system which supports almost all the languages. It defines special codes for different characters, symbols, diacritics, etc.
3. Which of the following is not a type of numeric value in zoned format?
a) Positive
b) Negative
c) Double
d) Unsigned
Answer: c
Clarification: The zoned format can represent numeric values of type Positive, negative and unsigned numbers. A sign indicator is used in the zone position of the rightmost digit.
4. The sign indicator of unsigned numbers is ____________
a) C
b) D
c) F
d) X
Answer: c
Clarification: A sign indicator is used in the zone position of the rightmost digit. A sign indicator C is used for positive, D for negative and F is used for negative numbers.
5. The EBCDIC value of the number 345 in zoned format is __________
a) F3F4F5
b) E3E4E5
c) F3F4C5
d) F3F4D5
Answer: a
Clarification: F is used for the representation of unsigned numbers therefore, F3F4F5 represents 345. F3F4C5 represents +345 . F3F4D5 represents -345.
6. Which of the following is a valid encoding format?
a) UTF-1
b) UTF-8
c) UTF-A
d) UTF-4
Answer: b
Clarification: The various encoding formats are UTF-8, UTF-16 and UTF-32. UTF stands for Unicode Transformation Format. It is basically an encoding system that supports all languages.
7. _________________ defines the assigned ordering among the characters used by the computer.
a) Unicode
b) Collating Sequence
c) Accumulation
d) Sorting
Answer: b
Clarification: Collating sequence is the term used for ordering among characters. It may vary depending upon the type of code used by a computer.
8. The sorting sequence of the strings A1,23,1A will be ______________
a) 23 > A1 > 1A
b) 23 < 1A > A1
c) A1 > 1A > 23
d) A1 < 1A < 23
Answer: d
Clarification: The sorting order is A1, 1A, 23. Numeric characters are given a greater preference in EBCDIC as compared to the alphabets.
9. The default character coding in HTML-5 is _____________
a) UTF-8
b) UTF-16
c) UTF-4
d) UTF-32
Answer: a
Clarification: HTML5 which is the hypertext markup language generally uses the UTF-8 format as its default encoding. Unicode covers all the characters and symbols in all the different languages.
10. Numbers used in packed decimal format can be used for _____________ operations.
a) logical
b) relational
c) arithmetic
d) bitwise
Answer: c
Clarification: The packed numbers can be used for arithmetic operations. The packed numbers also require the lesser number of bytes as compared to zoned numbers.