GATE 2013
55 questions
MCQ 551-mark 55
Questions 36–40 of 55
A bulb in a staircase has two switches, one switch being at the ground floor and the other one at the first floor. The bulb can be turned ON and also can be turned OFF by any one of the switches irrespective of the state of the other switch. The logic of switching of the bulb resembles
Answer: (C)
XOR gate truth table:
The XOR truth table shows that either switch can turn the bulb ON or OFF, whatever the state of the other switch.
The XOR truth table shows that either switch can turn the bulb ON or OFF, whatever the state of the other switch.
In the circuit shown below, has negligible collector-to-emitter saturation voltage and the diode drops negligible voltage across it under forward bias. If is +5 V, X and Y are digital signals with 0 V as logic 0 and as logic 1, then the Boolean expression for Z is
Answer: (B)
Z is pulled up to through . Q1 can pull it down from the collector side, and the diode (anode at Z, cathode at Y) can pull it down through Y.
(5 V): Q1 gets base current through and saturates. Its collector-emitter drop is negligible, so whatever Y is.
: Q1 is off, so only the pull-up and the diode matter.
- : the diode is forward biased and, with negligible drop, holds Z at 0 V, so .
- (5 V): the diode has no forward voltage across it, so it is off and Z is pulled up to 5 V, so .
Truth table:
Z is 1 only when and , so .
Answer: (B)
(5 V): Q1 gets base current through and saturates. Its collector-emitter drop is negligible, so whatever Y is.
: Q1 is off, so only the pull-up and the diode matter.
- : the diode is forward biased and, with negligible drop, holds Z at 0 V, so .
- (5 V): the diode has no forward voltage across it, so it is off and Z is pulled up to 5 V, so .
Truth table:
Z is 1 only when and , so .
Answer: (B)
For 8085 microprocessor, the following program is executed.
MVI A, 05H;
MVI B, 05H;
PTR: ADD B;
DCR B;
JNZ PTR;
ADI 03H;
HLT;
At the end of program, accumulator contains
MVI A, 05H;
MVI B, 05H;
PTR: ADD B;
DCR B;
JNZ PTR;
ADI 03H;
HLT;
At the end of program, accumulator contains
Answer: (A)
ADD B adds B to A, DCR B reduces B by 1, and JNZ PTR repeats the loop until B becomes 0 (zero flag set).
Values in decimal, A after each ADD B:
Then ADI 03H adds 3:
Here 23 is a decimal number, so it must be converted to hex. 23H is the same digits read as hex, and is not the answer.
Answer: (A)
Values in decimal, A after each ADD B:
Then ADI 03H adds 3:
Here 23 is a decimal number, so it must be converted to hex. 23H is the same digits read as hex, and is not the answer.
Answer: (A)
There are four chips each of 1024 bytes connected to a 16 bit address bus as shown in the figure below. RAMs 1, 2, 3 and 4 respectively are mapped to addresses
Answer: (D)
Each RAM is 1024 bytes, so it uses address lines to . The other lines choose the chip. The RAM 1 range is different in all four options, so check RAM 1 only. The others follow in the same way.
The block feeding the RAM enables is a 1-to-4 demultiplexer. Its input is the output of the AND gate, and its select lines are and . RAM 1 is on output 00 and gets its enable E when the AND output is 1.
Select line: gives .
AND gate: its inputs are (through an inverter), , and (through inverters). The output is 1 only for .
So RAM 1 is at 0800H to 0BFFH. Changing to 01, 10 and 11 gives 1800H-1BFFH, 2800H-2BFFH and 3800H-3BFFH for RAMs 2, 3 and 4. This matches option (D).
Answer: (D)
The block feeding the RAM enables is a 1-to-4 demultiplexer. Its input is the output of the AND gate, and its select lines are and . RAM 1 is on output 00 and gets its enable E when the AND output is 1.
Select line: gives .
AND gate: its inputs are (through an inverter), , and (through inverters). The output is 1 only for .
So RAM 1 is at 0800H to 0BFFH. Changing to 01, 10 and 11 gives 1800H-1BFFH, 2800H-2BFFH and 3800H-3BFFH for RAMs 2, 3 and 4. This matches option (D).
Answer: (D)
The signal flow graph for a system is given below. The transfer function for this system is
Answer: (A)
Use Mason's gain formula: .
Forward paths (from U to Y):
(through both branches)
(through the first and the top branch of gain 1)
Loops (the branch returns to the middle node, the branch returns to the first node):
(middle , then )
(top branch of gain 1, then )
(both , then )
(first , top branch, then )
All loops pass through the same nodes, so no two loops are non-touching. Both forward paths also touch every loop, so .
Answer: (A)
Forward paths (from U to Y):
(through both branches)
(through the first and the top branch of gain 1)
Loops (the branch returns to the middle node, the branch returns to the first node):
(middle , then )
(top branch of gain 1, then )
(both , then )
(first , top branch, then )
All loops pass through the same nodes, so no two loops are non-touching. Both forward paths also touch every loop, so .
Answer: (A)