Page 68 - Cs_withBlue_J_C11_Flipbook
P. 68
7. 7 | 5 will result in ………………… .
a. 5 b. 7
c. 12 d. 20
8. Which of the following is not an encoding scheme?
a. ASCII b. ISCII
c. BCD d. ABC
9. Unicode can encode a character set of ………………… .
a. Urdu b. Kannada
c. Bengali d. All of these
10. UTF-8, UTF-16 and UTF-32 are encodings of ………………… .
a. ASCII b. Unicode
c. ISCII d. BCD
11. ASCII value of space is ………………… .
a. 30 b. 31
c. 32 d. 33
12. BCD stands for ………………… .
a. Bit-coded decimal b. Bit composite decimal
c. Binary convert digit d. Binary coded decimal
Answers
1. b 2. c 3. a 4. d 5. c 6. a
7. b 8. d 9. d 10. b 11. c 12. d
B. Fill in the blanks:
1. The process of converting into its equivalent numeric code is called ………………… .
2. In signed magnitude notation the sign bit is assigned ………………… for negative numbers.
3. -10 will be represented as ………………… in 8-bit signed magnitude notation.
4. +12 will be represented as ………………… in 8-bit One’s complement method.
5. Two’s complement representation of -13 in 8-bit notation is ………………… .
6. ………………… operators are used to move the bits of an integer to left or right.
7. 123.4 in normalised notation will be represented as ………………… .
8. Single precession numbers have ………………… bit exponent and ………………… bit mantissa.
9. In BCD each decimal digit is expressed as a group of ………………… bits.
10. Lower case alphabets have ASCII value in the range ………………… .
11. ISCII stands for ………………… .
12. A total of ………………… scripts is supported by latest version of Unicode.
Answers
2
1. encoding 2. 1 3. 10001010 4. 00001100 5. 01110011 6. Shift 7. 1.234 × 10
8. 8, 23 9. 4 10. 97 to 122 11. Indian Script Code for Information Interchange 12. 159
C. Answer the following questions:
1. What is the need for character encoding?
Ans. Characters are stored inside the computer as numeric codes. A character encoding provides a key to unlock this binary code. It
is a set of mappings between the bytes in the computer and the characters in the character set.
2. Given an 8-bit number with signed magnitude representation as 10001011 . Find its decimal value.
2
Ans. Sign bit is 1, so the number is negative.
0
1
Value = 0001011 = 1 × 2 + 1 × 2 + 1 × 2 = -11
3
6666 Touchpad Computer Science-XI

