Chapter 2
Data Representation
#Multiple Choice Questions
Question 1
The value of radix in binary number system is ..........
1. 2
2. 8
3. 10
4. 16
Question 2
The value of radix in octal number system is ..........
1. 2
2. 8
3. 10
4. 16
Question 3
The value of radix in decimal number system is ..........
1. 2
2. 8
3. 10
4. 16
Question 4
The value of radix in hexadecimal number system is ..........
1. 2
2. 8
3. 10
4. 16
Question 5
Which of the following are not valid symbols in octal number system ?
1. 2
2. 8
3. 9
4. 7
Question 6
Which of the following are not valid symbols in hexadecimal number system ?
1. 2
2. 8
3. 9
4. G
5. F
Question 7
Which of the following are not valid symbols in decimal number system ?
1. 2
2. 8
3. 9
4. G
5. F
Question 8
The hexadecimal digits are 1 to 0 and A to ..........
1. E
2. F
3. G
4. D
Question 9
The binary equivalent of the decimal number 10 is ..........
1. 0010
2. 10
3. 1010
4. 010
Question 10
ASCII code is a 7 bit code for ..........
1. letters
2. numbers
3. other symbol
4. all of these
Question 11
How many bytes are there in 1011 1001 0110 1110 numbers?
1. 1
2. 2
3. 4
4. 8
Question 12
The binary equivalent of the octal Numbers 13.54 is.....
1. 1011.1011
2. 1001.1110
3. 1101.1110
4. None of these
Question 13
The octal equivalent of 111 010 is.....
1. 81
2. 72
3. 71
4. 82
Question 14
The input hexadecimal representation of 1110 is ..........
1. 0111
2. E
3. 15
4. 14
Question 15
Which of the following is not a binary number ?
1. 1111
2. 101
3. 11E
4. 000
Question 16
Convert the hexadecimal number 2C to decimal:
1. 3A
2. 34
3. 44
4. 43
Question 17
UTF8 is a type of .......... encoding.
1. ASCII
2. extended ASCII
3. Unicode
4. ISCII
Question 18
UTF32 is a type of .......... encoding.
1. ASCII
2. extended ASCII
3. Unicode
4. ISCII
Question 19
Which of the following is not a valid UTF8 representation?
1. 2 octet (16 bits)
2. 3 octet (24 bits)
3. 4 octet (32 bits)
4. 8 octet (64 bits)
Question 20
Which of the following is not a valid encoding scheme for characters ?
1. ASCII
2. ISCII
3. Unicode
4. ESCII
#Application Based Questions
Question 1
Convert the following binary numbers to decimal:
(a) 1101
(b) 111010
(c) 101011111
Question 2
Convert the following binary numbers to decimal :
(a) 1100
(b) 10010101
(c) 11011100
Question 3
Convert the following decimal numbers to binary:
(a) 23
(b) 100
(c) 145
(d) 0.25
Question 4
Convert the following decimal numbers to binary:
(a) 19
(b) 122
(c) 161
(d) 0.675
Question 5
Convert the following decimal numbers to octal:
(a) 19
(b) 122
(c) 161
(d) 0.675
Question 6
Convert the following hexadecimal numbers to binary:
(a) A6
(b) A07
(c) 7AB4
Question 7
Convert the following hexadecimal numbers to binary:
(a) 23D
(b) BC9
(c) 9BC8
Question 8
Convert the following binary numbers to hexadecimal:
(a) 10011011101
(b) 1111011101011011
(c) 11010111010111
Question 9
Convert the following binary numbers to hexadecimal:
(a) 1010110110111
(b) 10110111011011
(c) 0110101100
Question 10
Convert the following octal numbers to decimal:
(a) 257
(b) 3527
(c) 123
(d) 605.12
Question 11
Convert the following hexadecimal numbers to decimal:
(a) A6
(b) A13B
(c) 3A5
Question 12
Convert the following hexadecimal numbers to decimal:
(a) E9
(b) 7CA3
Question 13
Convert the following decimal numbers to hexadecimal:
(a) 132
(b) 2352
(c) 122
(d) 0.675
Question 14
Convert the following decimal numbers to hexadecimal:
(a) 206
(b) 3619
Question 15
Convert the following hexadecimal numbers to octal:
(a) 38AC
(b) 7FD6
(c) ABCD
Question 16
Convert the following octal numbers to binary:
(a) 123
(b) 3527
(c) 705
Question 17
Convert the following octal numbers to binary:
(a) 7642
(b) 7015
(c) 3576
(d) 705
Question 18
Convert the following binary numbers to octal
(a) 111010
(b) 110110101
(c) 1101100001
Question 19
Convert the following binary numbers to octal
(a) 11001
(b) 10101100
(c) 111010111
Question 20
Add the following binary numbers:
(i) 10110111 and 1100101
(ii) 110101 and 101111
(iii) 110111.110 and 11011101.010
(iv) 1110.110 and 11010.011