Embedded Systems, Data Acquisition and IoT · Digital Electronics
8 questions · asked in 8 of 13 years (2014–2026)
MCQ 4 · MSQ 2 · NAT 21-mark 1 · 2-mark 7
2014Questions per year2026
Questions 6–8 of 8
A 1 Kbyte memory module has to be interfaced with an 8-bit microprocessor that has 16 address lines. The address lines to of the processor are connected to the corresponding address lines of the memory module. The active low chip select of the memory module is connected to the output of a 3 to 8 decoder with active low outputs. , , and are the input lines to the decoder, with as the MSB. The decoder has one active low and one active high enable lines as shown below. The address range(s) that gets mapped onto this memory module is (are)
Answer: (D)
The memory uses A0 to A9 (1 Kbyte = locations). The remaining lines A10 to A15 decide when the chip is selected.
The decoder is enabled only when and . So A10 = 0 and A11 = 1.
Output y5 is low when . With , and , this gives A14 = 1, A13 = 0, A12 = 1.
A15 is not connected, so it can be 0 or 1.
Address bits A15 to A10 are therefore , and A9 to A0 run from all 0s to all 1s.
For A15 = 0, the address is up to .
For A15 = 1, the address is up to .
The other options need a different pattern on A14 to A10.
Answer: (D)
The decoder is enabled only when and . So A10 = 0 and A11 = 1.
Output y5 is low when . With , and , this gives A14 = 1, A13 = 0, A12 = 1.
A15 is not connected, so it can be 0 or 1.
Address bits A15 to A10 are therefore , and A9 to A0 run from all 0s to all 1s.
For A15 = 0, the address is up to .
For A15 = 1, the address is up to .
The other options need a different pattern on A14 to A10.
Answer: (D)
An ADC is interfaced with a microprocessor as shown in the figure. All signals have been indicated with typical notations. Acquisition of one new sample of the analog input signal by the microprocessor involves
Answer: (C)
The figure shows two NOR gates. The address decode output (active low) goes to both. One NOR takes RD and drives 'Enable buffers'. The other takes WR and drives 'Start conversion'. A NOR gate output is high only when both inputs are low, so each control line goes high only when the address is decoded (decode output low) and the strobe (RD or WR) is low.
Step 1: The microprocessor does a WRITE cycle to the ADC address. WR goes low, so Start conversion goes high and the ADC begins converting. The data written is ignored.
Step 2: The ADC finishes and pulls the active-low End of conversion line low. This goes to INT, so the microprocessor is interrupted.
Step 3: The microprocessor then does a READ cycle to the same address. RD goes low, so Enable buffers goes high and the converted data appears on D0 to D7.
So one new sample needs one WRITE cycle followed by one READ cycle. A READ alone cannot start a conversion, and a WRITE alone cannot bring the data out. Option (D) has the wrong order, because reading before conversion would give old data.
Answer: (C)
Step 1: The microprocessor does a WRITE cycle to the ADC address. WR goes low, so Start conversion goes high and the ADC begins converting. The data written is ignored.
Step 2: The ADC finishes and pulls the active-low End of conversion line low. This goes to INT, so the microprocessor is interrupted.
Step 3: The microprocessor then does a READ cycle to the same address. RD goes low, so Enable buffers goes high and the converted data appears on D0 to D7.
So one new sample needs one WRITE cycle followed by one READ cycle. A READ alone cannot start a conversion, and a WRITE alone cannot bring the data out. Option (D) has the wrong order, because reading before conversion would give old data.
Answer: (C)
A microprocessor accepts external interrupts (Ext INT) through a Programmable Interrupt Controller as shown in the figure.
Assuming vectored interrupt, a correct sequence of operations when a single external interrupt (Ext INT1) is received will be :
Assuming vectored interrupt, a correct sequence of operations when a single external interrupt (Ext INT1) is received will be :
Answer: (B)
In a vectored interrupt scheme with a Programmable Interrupt Controller (PIC), the sequence is:
1. The external device raises Ext INT1 to the PIC.
2. The PIC raises INT to the microprocessor.
3. The microprocessor finishes the current instruction and replies with INTA (interrupt acknowledge).
4. The PIC puts the vector (type number or call address) on the data bus, and the microprocessor does a data read to get it. It then jumps to the interrupt service routine.
So the order is Ext INT1 → INT → INTA → Data Read.
Option (A) is wrong because INTA cannot come before INT. The microprocessor sends INTA only after the PIC has raised INT. Options (C) and (D) are wrong because the vector comes to the microprocessor on the data bus as a read, not as an address write.
Answer: (B)
1. The external device raises Ext INT1 to the PIC.
2. The PIC raises INT to the microprocessor.
3. The microprocessor finishes the current instruction and replies with INTA (interrupt acknowledge).
4. The PIC puts the vector (type number or call address) on the data bus, and the microprocessor does a data read to get it. It then jumps to the interrupt service routine.
So the order is Ext INT1 → INT → INTA → Data Read.
Option (A) is wrong because INTA cannot come before INT. The microprocessor sends INTA only after the PIC has raised INT. Options (C) and (D) are wrong because the vector comes to the microprocessor on the data bus as a read, not as an address write.
Answer: (B)
Keep practising
Topics in Digital Electronics
Combinational LogicSequential LogicData Converters
Embedded Systems, Data Acquisition and IoTYou are here