UNIT 1 (Number Systems) : TUTORIAL SHEET: 151 174 10110111 AB3 1023 15C 101111 C35 261 11011001 1375
UNIT 1 (Number Systems) : TUTORIAL SHEET: 151 174 10110111 AB3 1023 15C 101111 C35 261 11011001 1375
Q1: Convert the given numbers in a corresponding row in other base systems.
Solve them using a step wise procedure, and fil the result in the table?
Decimal Binary Octal Hexadecimal
151
174
10110111
AB3
1023
15C
101111
C35
261
11011001
1375
Q2: Convert the given fractions in a corresponding row in other base systems.
Solve them using a step wise procedure, and fil the result in the table?
Decimal Binary Octal Hexadecimal
67.24
53.25
101.1101
15C.38
526.15
15C
1011.0111
97.125
10100.1101
67.24
Q18. Based on the inferences drawn from the above results (of Q2 and Q3), explain the concept of
overflow? What are the ways to eliminate this problem?
Q19. Perform BCD arithmetic:
a. 184 + 576
b. 475 – 340
c. 357 – 432
d. 112 + 255
e. 517 – 299
Q20. Perform Excess-3 arithmetic:
a. 27 + 39
b. 211 + 478
c. 163 – 467
d. 639 – 255
e. 517 + 299
Q21. Convert Binary to Gray:
a. 1001
b. 0111
c. 1000
d. 110011
e. 100110
Q22. Convert Gray to Binary:
a. 1110
b. 0111
c. 1010
d. 110011
e. 100110
Q23. Based on ASCII code, answer the following:
Q26. Using Hamming code, how will we transmit an information code 10110 for odd parity.
Q27. Using Hamming code, how will we transmit an information code 11000100? (Assumptions: Even
Parity and Parity bits from Left to Right).
Q28. Assume data 0010001 has been received.
a. Determine whether the code is correct? (Assumptions: Even Parity and Parity bits from Left to
Right)
b. Repeat the process again. (Parity bits from Right to left).
Q29. Represent 1011101010011 in (IEEE standard 754) single precision floating point form.
Q30. Covert a decimal number 5.347 x 105 to a single precision floating-point Binary.
Unit 1 (Number System): GATE PROBLEMS
Q1. The subtraction of a binary number Y from another binary number X, done by adding 2’s compliment
of Y to X, results in a binary number without overflow. This implies that the result is
a.01110
b.101111
c.11110
d.10001
Q6. 4 bit 2’s complement representation of a decimal number is 1000. The number is
a. +8
b.0
c. -7
d. -8
Q7. The range of signed decimal numbers that can be represented by 6 bit 1’s complement form
is
a. -31 to +31
b. -63 to +64
c. -64 to +63
d. -32 to +31
Q8. 11001, 1001 and 111001 correspond to the 2’s complement representation of which one of
the following sets of number?
a.25, 9 and 57 respectively
b. -6, -6 and -6 respectively
c. -7, -7 and -7 respectively
d. -25, -9 and -57 respectively
Q9. Decimal 43 in Hexadecimal and BCD number system is respectively
a.B2, 0100 0011
b.2B, 0100 0011
c.2B, 0011 0100
d.B2, 0100 0100
Q10. A new Binary Coded Pentary (BCP) number system is proposed in which every digit of a
base-5 number is represented by its corresponding 3-bit binary code. For example, the base-5
number 24 will be represented by its BCP code 010100. In this number system, the BCP code
100010011001 corresponds to the following number in base-5 system
a.423
b.1324
c.2201
d.4231
Q11. X = 01110 and Y = 11001 are two 5 bit binary numbers represented in 2’s complement
format. The sum of X and Y represented in 2’s compliment format using 6 bits is
a.100111
b.001000
c.000111
d.101001
Q12. The two numbers represented in signed 2’s complement form are P = 11101101 and Q =
11100110. If Q is subtracted from P, the value obtained in signed 2’s complement form is
a.100000111
b.00000111
c.11111001
d.111111001
Q13. The number of bytes required to represent the decimal number 1856357 in packed BCD (Binary
Coded Decimal) form is ………….
Q14. If 73x (in base-x number system) is equal to 54y (in base-y number system), the possible
values of x and y are -
(A) 8, 16
(B) 10, 12
(C) 9, 13
(D) 8, 11
Q15. Let A = 1111 1010 arid B = 0000 1010 be two 8-bit 2’s complement numbers. Their
product in 2’s complement is -
(A) 1100 0100
(B) 1001 1100
(C) 1010 0101
(D) 1101 0101
Q16. (1217)8 is equivalent to -
(A) (1217)16
(B) (028F)16
(C) (2297)10
(D) (0B17)16
Q17. P is a 16-bit signed integer. The 2’s complement representation of P is (F87B)16. The 2’s
complement representation of 8*P is -
(A) (C3D8)16
(B) (187B)16
(C) (F878)16
(D) (987B)16
Q18. The 16-bit 2’s complement representation of an integer is 1111 1111 1111 0101; its
decimal representation is -
(A) 10
(B) 11
(C) -10
(D) -11
Q19. P is a 16-bit signed integer. The 2’s complement representation of P is (F87B)16. The 2’s
complement representation of 8*P
(A) (C3D8)16
(B) (187B)16
(C) (F878)16
(D) (987B)16
Q20. Consider the equation (123)5 = (x8)y with x and y as unknown. The number of possible
solutions is _____ .
(A) 1
(B) 2
(C) 3
(D) 4
Q21. The value of a float type variable is represented using the single-precision 32-bit floating
point format IEEE-754 standard that uses 1 bit for sign, 8 bits for biased exponent and 23 bits for
mantissa. A float type variable X is assigned the decimal value of −14.25. The representation of
X in hexadecimal notation is
(A) C1640000H
(B) 416C0000H
(C) 41640000H
(D) C16C0000H
Q22. The range of integers that can be represented by an n bit 2’s complement number system is
Q23. Consider the equation (43)x = (y3)8 where x and y are unknown. The number of possible
solutions is ________.
(A) 3
(B) 4
(C) 5
(D) 6
Q24. The number (123456)8 is equivalent to
A) (1053.6)8
B) (1053.2)8
C) (1024.2)8
D) None of these