GATE 2007
84 questions
MCQ 841-mark 84
Questions 51–55 of 84
An 8085 assembly language program is given below.
Line 1: MVI A, B5H
2: MVI B, 0EH
3: XRI 69H
4: ADD B
5: ANI 9BH
6: CPI 9FH
7: STA 3010H
8: HLT
The contents of the accumulator just execution of the ADD instruction in line 4 will be
Line 1: MVI A, B5H
2: MVI B, 0EH
3: XRI 69H
4: ADD B
5: ANI 9BH
6: CPI 9FH
7: STA 3010H
8: HLT
The contents of the accumulator just execution of the ADD instruction in line 4 will be
Answer: (B)
Follow the accumulator (A) until line 4:
Line 1: A = B5H = 1011 0101
Line 2: B = 0EH = 0000 1110 (this loads B, A is unchanged)
Line 3, XRI 69H: A = A XOR 69H
, so A = DCH
Line 4, ADD B: A = A + B = DCH + 0EH = EAH
Check: = EAH.
Answer: (B)
Line 1: A = B5H = 1011 0101
Line 2: B = 0EH = 0000 1110 (this loads B, A is unchanged)
Line 3, XRI 69H: A = A XOR 69H
, so A = DCH
Line 4, ADD B: A = A + B = DCH + 0EH = EAH
Check: = EAH.
Answer: (B)
An 8255 chip is interfaced to an 8085 microprocessor system as an I/O mapped
I/O as show in the figure. The address lines of the 8085 are used
by the 8255 chip to decode internally its thee ports and the Control register.
The address lines as well as the signal are used for address
decoding. The range of addresses for which the 8255 chip would get selected is
Answer: (C)
Since is not used in the decoding, it can be either 0 or 1.
The NAND gate output is 0 only when
So the address range is:
The NAND gate output is 0 only when
So the address range is:
The transfer function of a plant is The second-order approximation of T(s) using dominant pole concept is
Answer: (D)
Find the poles of :
The pair is much closer to the imaginary axis than the pole at . Its response dies out slowly (like ), while the term from the pole at dies out about ten times faster. So the quadratic pair is dominant and the factor can be dropped.
To drop it without changing the DC gain, write it in time-constant form first:
The approximation holds because near the dominant poles, where . The DC gain stays 1: . Option (C) has a DC gain of 5, so it is wrong. Options (A) and (B) keep the pole at and replace the dominant pair by a pole at .
Answer: (D)
The pair is much closer to the imaginary axis than the pole at . Its response dies out slowly (like ), while the term from the pole at dies out about ten times faster. So the quadratic pair is dominant and the factor can be dropped.
To drop it without changing the DC gain, write it in time-constant form first:
The approximation holds because near the dominant poles, where . The DC gain stays 1: . Option (C) has a DC gain of 5, so it is wrong. Options (A) and (B) keep the pole at and replace the dominant pair by a pole at .
Answer: (D)
If the closed-loop transfer function of a control system is given as , then it is
Answer: (D)
The transfer function has a zero in the right half of the s-plane. So the system is a non-minimum phase system.
The asymptotic Bode plot of a transfer function is as shown in the figure. The transfer function G(s) corresponding to this Bode plot is
Answer: (D)
The first slope is dB/dec, so there is one pole at the origin. The slope becomes dB/dec at (a pole at 1) and dB/dec at (a pole at 20). Written in the form, with Bode gain :
For only the integrator matters, so . The plot reads 60 dB at :
(Check: at , dB, which matches the plot.)
So .
Option (C), , has Bode gain 5, so it would read only dB at .
Answer: (D)
For only the integrator matters, so . The plot reads 60 dB at :
(Check: at , dB, which matches the plot.)
So .
Option (C), , has Bode gain 5, so it would read only dB at .
Answer: (D)