ISRO | ISRO CS 2014 | Question 27

How many different BCD numbers can be stored in 12 switches? (Assume two position or on-off switches)
(A) 212
(B) 212-1
(C) 1012
(D) 103


Answer: (D)

Explanation: In Binary Coded Decimal (BCD) encoding scheme each of the decimal numbers(0-9) is represented by its equivalent binary pattern (which is generally of 4-bits).

A switch can store 1 bit, either 0 (off) or 1 (on) and each digit of BCD representation takes 4 bits, so there will be 12/4 = 3 BCD digits. A BCD digit can be from 0 to 9 (total 10 possibility).

Therefore, diffrent possible BCD numbers in 12 switches are:
= 10 * 10 * 10 = 1000 = 103



So, option (D) is correct.


Quiz of this Question



My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.