edited by
8,155 views
12 votes
12 votes

The logic circuit given below converts a binary code $Y_1Y_2Y_3$ into 

  1. Excess-$3$ code
  2. Gray code
  3. $\text{BCD}$ code
  4. Hamming code
edited by

3 Answers

Best answer
14 votes
14 votes
Y X
000 000
001 001
010 011
011 010
100 111
101 110
110 100
111 101

$X$ is a GRAY code as for consecutive numbers the change in bit position is only 1. 

From Wikipedia,

More formally, a Gray code is a code assigning to each of a contiguous set of integers, or to each member of a circular list, a word of symbols such that each two adjacent code words differ by one symbol. These codes are also known as single-distance codes, reflecting the Hamming distance of 1 between adjacent codes. There can be more than one Gray code for a given word length, but the term was first applied to a particular binary code for the non-negative integers, the binary-reflected Gray code, or BRGC, the three-bit version of which is shown above.

So, the given code is not GRAY code as the codes for 3-4, as well as 7-0 differs by 2 bits and not 1. It is also neither BCD (same as binary for 3 bits) nor Excess-3. So, answer should be none of these. 

selected by
0 votes
0 votes
Y X
110 100
000 000
001 001
111 101
100 111
010 011
011 010
101 110

X is gray Code.

Hence, Answer is B. Gray code

–1 votes
–1 votes
Ans is c but in isro key answer is b.

 

Because for gray code no output take as a input but her it is given so it is not gray code

 In bcd code we take output as a input for next gate other then most significant bit
Answer:

Related questions

9 votes
9 votes
5 answers
1
go_editor asked Jul 6, 2016
8,313 views
The Excess-$3$ code is also calledCyclic Redundancy CodeWeighted CodeSelf-Complementing CodeAlgebraic Code
8 votes
8 votes
2 answers
2
Arjun asked Jul 6, 2016
3,733 views
If $12A7C_{16} = X_8$ then the value of $X$ is$224174$$425174$$6173$$225174$
8 votes
8 votes
2 answers
3
go_editor asked Jul 5, 2016
4,669 views
The circuit given in the figure below isAn oscillating circuit and its output is square waveThe one whose output remains stable in $\text{‘1'}$ stateThe one having outp...
10 votes
10 votes
2 answers
4
go_editor asked Jul 5, 2016
7,730 views
Consider the following gate networkWhich one of the following gates is redundant?Gate No. $1$Gate No. $2$Gate No. $3$Gate No. $4$