GATE Computer ScienceModerateGATE CS · ISRO
What is the 4-bit Gray code of the binary number 1101 (decimal 13)?
- A. 1110
- B. 1011
- C. 1001
- D. 0111
Correct answer: B. 1011
Gray = B XOR (B >> 1) = 1101 XOR 0110 = 1011.
More Digital Logic questions
- How many 2-to-4 line decoders (each with an enable input) are needed to build a 4-to-16 line decoder?
- How many 4-to-1 multiplexers are needed to build a 64-to-1 multiplexer in a tree?
- A 10 MHz clock drives a 6-bit binary ripple counter. What is the frequency of the most significant output bit?
- In a synchronous path, flip-flop clock-to-Q delay is 2 ns, combinational logic delay is 8 ns and setup time is 3 ns; the clock skew and…
- How many Boolean functions of four variables are self-dual (f(x̄) = f(x)′ for every input x)?
- A ROM is to implement a 4-bit binary adder (two 4-bit operands and a carry-in, producing a 4-bit sum and carry-out) as a pure look-up…