GATE 2011
81 questions
MCQ 811-mark 40 · 2-mark 41
Questions 16–20 of 81
Which one of the following circuits is NOT equivalent to a 2-input XNOR (exclusive NOR) gate?
Answer: (D)
Let the inputs be and . XNOR is .
(A) XOR followed by NOT: = XNOR.
(B) Both inputs are inverted, then XOR, then NOT: , and the final NOT gives = XNOR.
(C) One input is inverted, then XOR: = XNOR.
(D) The first AND takes and , and its NOT gives . The OR gate takes and and gives . The second AND gives , which is XNOR. The last NOT inverts this, so the output is , which is XOR, not XNOR.
Answer: (D)
(A) XOR followed by NOT: = XNOR.
(B) Both inputs are inverted, then XOR, then NOT: , and the final NOT gives = XNOR.
(C) One input is inverted, then XOR: = XNOR.
(D) The first AND takes and , and its NOT gives . The OR gate takes and and gives . The second AND gives , which is XNOR. The last NOT inverts this, so the output is , which is XOR, not XNOR.
Answer: (D)
Consider the following circuit involving three D-type flip-flops used in a certain type of counter configuration.
If all the flip-flops were reset to 0 at power on, what is the total number of distinct outputs (states) represented by PQR generated by the counter?
If all the flip-flops were reset to 0 at power on, what is the total number of distinct outputs (states) represented by PQR generated by the counter?
Answer: (B)
Next-state equations: , ,
Start from 000 and move through the states:
000 010 011 100 000 (the sequence repeats)
So there are 4 distinct states.
Answer: 4
Start from 000 and move through the states:
000 010 011 100 000 (the sequence repeats)
So there are 4 distinct states.
Answer: 4
Consider the following circuit involving three D-type flip-flops used in a certain type of counter configuration.
If at some instance prior to the occurrence of the clock edge, P. Q and R have a value 0, 1 and 0 respectively, what shall be the value of PQR after the clock edge?
If at some instance prior to the occurrence of the clock edge, P. Q and R have a value 0, 1 and 0 respectively, what shall be the value of PQR after the clock edge?
Answer: (D)
The circuit gives these next-state equations: , , .
Take PQR = 010. Then P = 0, Q = = 1, and R = 1 1 = 1. So the state changes 011
Answer: 011
Take PQR = 010. Then P = 0, Q = = 1, and R = 1 1 = 1. So the state changes 011
Answer: 011
The minimum number of D flip-flops needed to design a mod-258 counter is
Answer: (A)
A mod-258 counter has to hold 258 different states.
Check the powers of 2: So we need 9 flip-flops.
Answer: 9
Check the powers of 2: So we need 9 flip-flops.
Answer: 9
Consider a hypothetical processor with an instruction of type LW R1, 20(R2), which during execution reads a 32-bit word from memory and stores it in a 32-bit register R1. The effective address of the memory location is obtained by the addition of constant 20 and the contents of register R2. Which of the following best reflects the addressing mode implemented by this instruction for the operand in memory?
Answer: (D)
The effective address is found by adding the constant 20 to the contents of R2. When a register is added to a displacement, this is called base (base-indexed or displacement) addressing.
Answer: Base Indexed Addressing
Answer: Base Indexed Addressing