GATE 2018
64 questions
MCQ 37 · NAT 271-mark 30 · 2-mark 34
Questions 51–55 of 64
The circuit given uses ideal opamps. The current (in A) drawn from the source is (up to two decimal places) ____.
Answer: 0.98 to 1
Both op-amps are ideal and have the + input grounded, so each − input is a virtual ground (0 V).
Stage 1 is an inverting amplifier with gain . So its output is .
Stage 2 is an inverting amplifier with gain . So its output is .
The 10.1 kΩ resistor joins the source node to . Current through it, from the source node toward , is . So 99.0 µA flows into the source node from the op-amp 2 output.
Current into the first stage through the 10 kΩ resistor is .
KCL at the source node: .
The current is , which lies in the accepted range.
Answer: 0.99
Stage 1 is an inverting amplifier with gain . So its output is .
Stage 2 is an inverting amplifier with gain . So its output is .
The 10.1 kΩ resistor joins the source node to . Current through it, from the source node toward , is . So 99.0 µA flows into the source node from the op-amp 2 output.
Current into the first stage through the 10 kΩ resistor is .
KCL at the source node: .
The current is , which lies in the accepted range.
Answer: 0.99
The product of sum expression of a Boolean function of three variables is given by
The canonical sum of product expression of is given by
The canonical sum of product expression of is given by
Answer: (B)
Each sum term is a maxterm that is 0 for exactly one input combination. Write ABC for each:
is 0 at 001, so it is M1.
is 0 at 011, so it is M3.
is 0 at 100, so it is M4.
is 0 at 111, so it is M7.
So . F is 0 at these four rows and 1 at the other four, which are the minterms 0, 2, 5, 6.
, , , .
So .
Option (A) is wrong because it uses minterms 1, 3, 4, 7, which are the maxterm positions, not the 1-rows of F.
Answer: (B)
is 0 at 001, so it is M1.
is 0 at 011, so it is M3.
is 0 at 100, so it is M4.
is 0 at 111, so it is M7.
So . F is 0 at these four rows and 1 at the other four, which are the minterms 0, 2, 5, 6.
, , , .
So .
Option (A) is wrong because it uses minterms 1, 3, 4, 7, which are the maxterm positions, not the 1-rows of F.
Answer: (B)
A 2-bit synchronous counter using two - flip flops is shown. The expressions for the inputs to the - flip flops are also shown in the figure. The output sequence of the counter starting from is
(corrected from the official paper)
(corrected from the official paper)
Answer: (C)
Corrected question. The GATE 2018 paper prints the J input of the second flip-flop as . With that input the counter goes 00 to 01 to 11 to 10 to 01 and never returns to 00, so no option matches. This version removes the overbar on , giving .
Characteristic equation of a JK flip-flop: . So J=K=0 holds, J=1,K=0 sets, J=0,K=1 resets, and J=K=1 toggles.
Inputs: .
State 00: J1=0, K1=1, so Q1 resets to 0. J2=1, K2=1, so Q2 toggles to 1. Next state 01.
State 01: J1=1, K1=1, so Q1 toggles to 1. J2=1, K2=0, so Q2 sets to 1. Next state 11.
State 11: J1=1, K1=0, so Q1 sets to 1. J2=1, K2=1, so Q2 toggles to 0. Next state 10.
State 10: J1=1, K1=1, so Q1 toggles to 0. J2=0, K2=1, so Q2 resets to 0. Next state 00.
Sequence: 00 → 01 → 11 → 10 → 00. This is a Gray-code count, not the binary count in (B).
Answer: (C)
Characteristic equation of a JK flip-flop: . So J=K=0 holds, J=1,K=0 sets, J=0,K=1 resets, and J=K=1 toggles.
Inputs: .
State 00: J1=0, K1=1, so Q1 resets to 0. J2=1, K2=1, so Q2 toggles to 1. Next state 01.
State 01: J1=1, K1=1, so Q1 toggles to 1. J2=1, K2=0, so Q2 sets to 1. Next state 11.
State 11: J1=1, K1=0, so Q1 sets to 1. J2=1, K2=1, so Q2 toggles to 0. Next state 10.
State 10: J1=1, K1=1, so Q1 toggles to 0. J2=0, K2=1, so Q2 resets to 0. Next state 00.
Sequence: 00 → 01 → 11 → 10 → 00. This is a Gray-code count, not the binary count in (B).
Answer: (C)
A portion of an assembly language program written for an 8-bit microprocessor is given below along with explanations. The code is intended to introduce a software time delay. The processor is driven by a 5 MHz clock. The time delay (in s) introduced by the program is ________.
MVI B, 64H ; Move immediate the given byte into register B. Takes 7 clock periods.
LOOP : DCR B ; Decrement register B. Affects Flags. Takes 4 clock periods.
JNZ LOOP ; Jump to address with Label LOOP if zero flag is not set. Takes 10 clock periods when jump is performed and 7 clock periods when jump is not performed.
MVI B, 64H ; Move immediate the given byte into register B. Takes 7 clock periods.
LOOP : DCR B ; Decrement register B. Affects Flags. Takes 4 clock periods.
JNZ LOOP ; Jump to address with Label LOOP if zero flag is not set. Takes 10 clock periods when jump is performed and 7 clock periods when jump is not performed.
Answer: 279 to 282
The clock is 5 MHz, so one clock period is .
B = 64H = 100 in decimal, so the loop runs 100 times.
Clock periods:
MVI B: 7
DCR B, 100 times:
JNZ with jump taken, 99 times: (B goes from 100 down to 1, so zero is not reached)
JNZ with no jump, once, when B becomes 0: 7
Total clock periods.
Delay .
This lies in the accepted range of 279 to 282.
Answer: 280.8 µs
B = 64H = 100 in decimal, so the loop runs 100 times.
Clock periods:
MVI B: 7
DCR B, 100 times:
JNZ with jump taken, 99 times: (B goes from 100 down to 1, so zero is not reached)
JNZ with no jump, once, when B becomes 0: 7
Total clock periods.
Delay .
This lies in the accepted range of 279 to 282.
Answer: 280.8 µs
The Boolean function realized by the given circuit is
Answer: (A)
This is the standard four-NAND XOR circuit.
Let be the output of the first NAND gate, which takes X and Y.
Top NAND: . Here , so A is the complement of .
Bottom NAND: , by the same steps.
Output NAND: (De Morgan).
So F is the XOR of X and Y. Check: for X=Y=1, N=0, A=B=1, F=0. For X=1, Y=0, N=1, A=0, so F=1.
Option (B) is XNOR, which is the complement of this output.
Answer: (A)
Let be the output of the first NAND gate, which takes X and Y.
Top NAND: . Here , so A is the complement of .
Bottom NAND: , by the same steps.
Output NAND: (De Morgan).
So F is the XOR of X and Y. Check: for X=Y=1, N=0, A=B=1, F=0. For X=1, Y=0, N=1, A=0, so F=1.
Option (B) is XNOR, which is the complement of this output.
Answer: (A)