LCD1 - Number Systems and Code
LCD1 - Number Systems and Code
Answer: 1000011
35. On subtracting (001100)2 from (101001)2 using 2’s complement, we get ____________
a) 1101100
b) 011101
c) 11010101
d) 11010111
View Answer
Answer: b
Explanation: Steps For Subtraction using 2’s complement are:
-> 2’s complement of the subtrahend is determined and added to the minuend.
-> If the result has a carry, then it is dropped and the result is positive.
-> Else, if there is no carry, then 2’s complement of the result is found out and a ‘-’ sign
preceeds the result.
1’s complement of subtrahend - 110011
_________________
Minuend - 101001
2’s complement of subtrahend - 110100
_________________
Carry over - 1 011101
Answer: 011101
36. On addition of 28 and 18 using 2’s complement, we get ____________
a) 00101110
b) 0101110
c) 00101111
d) 1001111
View Answer
Answer: b
Explanation: Steps for Binary Addition Using 2’s complement:
-> The binary equivalent of the two numbers are obtained and added using the rules of binary
addition.
advertisement
Augend - 0 011100
Addend - 0 010010
_________________
0 101110
Answer: 0 1 0 1 1 1 0
37. On addition of +38 and -20 using 2’s complement, we get ____________
a) 11110001
b) 100001110
c) 010010
d) 110101011
View Answer
Answer: c
Explanation: Steps for Binary Addition Using 2’s complement:
-> The 2’s complement of the addend is found out and added to the first number.
-> The result is the 2’s complement of the sum obtained.
Augend - 0100110
2’s Complement of Subtrahend: 1101100
_________________
1 0010010
Answer: 0 1 0 0 1 0
38. On addition of -46 and +28 using 2’s complement, we get ____________
a) -10010
b) -00101
c) 01011
d) 0100101
View Answer
Answer: a
Explanation: The BCD form is written of the two given numbers, in their signed form. After
which, normal binary addition is performed.
Augend is 28 and Subtrahend is -46.
Augend - 0 0 1 1 1 0 0 .....(a)
2’s Complement of Subtrahend: 1 0 1 0 0 1 0 .....(b)
_________________
Addiing (a) and (b): 1101110
Since, there is no carry, so answer will be negative
and 2's complement of the above result is determined.
0010001
+ 1
_________________
0010010
Answer: - 1 0 0 1 0
39. On addition of -33 and -40 using 2’s complement, we get ____________
a) 1001110
b) -110101
c) 0110001
d) -1001001
View Answer
Answer: d
Explanation: The BCD form is written of the two given numbers, in their signed form. After
which, normal binary addition is performed.
Augend is -40 and Subtrahend is -33.
Augend - 1 0 1 0 0 0 0 1 .....(a)
2’s Complement of Subtrahend: 1 1 0 1 1 0 0 1 .....(b)
______________________
Addiing (a) and (b): 10 1001000
Since, there is no carry, so answer will be negative
and 2's complement of the above result is determined.
1001000
+ 1
_________________
1001001
Answer: -1001001
40. On subtracting +28 from +29 using 2’s complement, we get ____________
a) 11111010
b) 111111001
c) 100001
d) 1
View Answer
Answer: d
Explanation: Steps For Subtraction using 2’s complement are:
-> 2’s complement of the subtrahend is determined and added to the minuend.
-> If the result has a carry, then it is dropped and the result is positive.
-> Else, if there is no carry, then 2’s complement of the result is found out and a ‘-’ sign
preceeds the result.
1’s complement of subtrahend - 100011
Minuend - 011101
2’s complement of subtrahend - 100100
____________________
Carry over - 1 0 0 0 0 0 1
Answer: 000001 = 1
41. Binary coded decimal is a combination of __________
a) Two binary digits
b) Three binary digits
c) Four binary digits
d) Five binary digits
View Answer
Answer: c
Explanation: Binary coded decimal is a combination of 4 binary digits. For example-8421.
42. The decimal number 10 is represented in its BCD form as __________
a) 10100000
b) 01010111
c) 00010000
d) 00101011
View Answer
Answer: c
Explanation: The decimal number 10 is represented in its BCD form as 0001 0000, in
accordance to 8421 for each of the two digits.
43. Add the two BCD numbers: 1001 + 0100 = ?
a) 10101111
b) 01010000
c) 00010011
d) 00101011
View Answer
Answer: c
Explanation: Firstly, Add the 1001 and 0100. We get 1101 as output but it’s not in BCD form.
So, we add 0110 (i.e. 6) with 1101. As a result we get 10011 and it’s BCD form is 0001 0011.
44. Carry out BCD subtraction for (68) – (61) using 10’s complement method.
a) 00000111
b) 01110000
c) 100000111
d) 011111000
View Answer
Answer: a
Explanation: First the two numbers are converted into their respective BCD form using 8421
sequence. Then binary subtraction is carried out.
45. Code is a symbolic representation of __________ information.
a) Continuous
b) Discrete
c) Analog
d) Both continuous and discrete
View Answer
Answer: b
Explanation: Code is a symbolic representation of discrete information, which may be present
in the form of numbers, letters or physical quantities. Mostly, it is represented using a
particular number system like decimal or binary and such like.
46. When numbers, letters or words are represented by a special group of symbols, this
process is called __________
a) Decoding
b) Encoding
c) Digitizing
d) Inverting
View Answer
Answer: b
Explanation: When numbers, letters or words are represented by a special group of symbols,
this process is called encoding. Encoding in the sense of fetching the codes or words in a
computer. It is done to secure the transmission of information.
47. A three digit decimal number requires ________ for representation in the conventional
BCD format.
a) 3 bits
b) 6 bits
c) 12 bits
d) 24 bits
View Answer
Answer: c
Explanation: The number of bits needed to represent a given decimal number is always
greater than the number of bits required for a straight binary encoding of the same. Hence, a
three digit decimal number requires 12 bits for representation in BCD format.
48. How many bits would be required to encode decimal numbers 0 to 9999 in straight binary
codes?
a) 12
b) 14
c) 16
d) 18
View Answer
Answer: b
Explanation: Total number of decimals to be represented = 10000 = 104 = 2n (where n is the
number of bits required) = 213.29. Therefore, the number of bits required for straight binary
encoding = 14.
49. The excess-3 code for 597 is given by __________
a) 100011001010
b) 100010100111
c) 010110010111
d) 010110101101
View Answer
Answer: a
Explanation: The addition of ‘3’ to each digit yields the three new digits ‘8’, ’12’ and ’10’.
Hence, the corresponding four-bit binary equivalents are 100011001010, in accordance to
8421 format.
50. The decimal equivalent of the excess-3 number 110010100011.01110101 is
_____________
a) 970.42
b) 1253.75
c) 861.75
d) 1132.87
View Answer
Answer: a
Explanation: The conversion of binary numbers into digits ‘1100’, ‘1010’, ‘0011’, ‘0111’ and
‘0101’ gives ’12’, ‘5’, ‘3’, ‘7’ and ‘5’ respectively. Hence, the decimal number is 970.42.