0% found this document useful (0 votes)
307 views

Assignment 4 Solution

This document contains a 15 question multiple choice quiz about microprocessors and microcontrollers. The questions cover topics like 8085 interrupts, DMA controllers, serial communication, and accumulator operations. Each question is followed by the correct answer and a brief explanation of the solution. The quiz tests knowledge of microprocessor architecture, instruction sets, and interrupt handling.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
307 views

Assignment 4 Solution

This document contains a 15 question multiple choice quiz about microprocessors and microcontrollers. The questions cover topics like 8085 interrupts, DMA controllers, serial communication, and accumulator operations. Each question is followed by the correct answer and a brief explanation of the solution. The quiz tests knowledge of microprocessor architecture, instruction sets, and interrupt handling.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Microprocessors And Microcontrollers


Assignment 4- Week 4
TYPE OF QUESTION: MCQ
Number of questions: 14 Total mark: 14 X 1 = 14
______________________________________________________________________________

QUESTION 1:
With respect to 8085, match Column X with Column Y.

Column X Column Y

1. TRAP 1. Level Sensitive

2. RST 6.5 2. Edge Sensitive

3. INTR 3. Non Maskable

4. RST 7.5 4. Non- vectored

a. X1-Y3, X2-Y2, X3-Y4, X4-Y1

b. X1-Y2, X2-Y3, X3-Y4, X4-Y1

c. X1-Y4, X2-Y3, X3-Y2, X4-Y1

d. X1-Y3, X2-Y1, X3-Y4, X4-Y2

Correct Answer: d

Detailed Solution:

QUESTION 2:
Interrupt vector table of 8085 ranges over
a. 0010H-0100H
b. 0000H-FFFFH
c. 0000H-00FFH
d. 0100H-01FFH
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

Correct Answer: c

Detailed Solution:

QUESTION 3:
The instruction RST 7 is a:

a. Restart instruction that begins the execution of a program.

b. One-byte call to the memory address 0038H.

c. One-byte call to the memory address 0007H.

d. Hardware interrupt.

Correct Answer: b

Detailed Solution:

When RST 7 instruction encountered corresponding ISR starting at memory location 7*8 =
(56)10 = (38)16 is executed.

_____________________________________________________________________________

QUESTION 4:
With respect to 8085, match Column X with Column Y.

Column X Column Y

1. RST 5.5 1. Edge-triggered

2. RST 6 2. Level-triggered

3. RST 7.5 3. Edge and level triggered

4. RST 4.5 4. Software


NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

a. X1-Y3, X2-Y1, X3-Y4, X4-Y2

b. X1-Y4, X2-Y2, X3-Y1, X4-Y3

c. X1-Y2, X2-Y4, X3-Y1, X4-Y3

d. X1-Y3, X2-Y4, X3-Y2, X4-Y1

Correct Answer: c

Detailed Solution:

QUESTION 5:
INTR must remain active for how many T-states?

a. 16.5 T-states

b. 17.5 T-states

c. 18.5 T-states

d. 19.5 T-states

Correct Answer: B

Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 6:

Multiply 03H and B2H (two 8-bit numbers) stored in memory locations 2200H and 2201H
by repetitive addition and store the result in memory locations 2300H and 2301H. The
output in 2300H and 2301H is

a. 04H and 16H


b. 16H and 02H

c. 03H and 16H

d. 16H and 03H


Correct Answer: b

Detailed Solution: (2200H) = 03H ; (2201H) = B2H

Result = B2H + B2H + B2H = 216H ; (2300H) = 16H ; (2301H) = 02H

QUESTION 7:
To which pin the external DMA controller sends a control signal to an 8085 microprocessor.

a. HOLD

b. HLDA

c. INTR

d. INTA

Correct Answer: A

Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 8:
An interrupt in which the external device supplies it’s address as well as the interrupt
request is _______________ interrupt

a. Vectored
b. Maskable
c. Non- Maskable
d. Designated
Correct Answer: A

Detailed Solution:

QUESTION 9:
How many 8-bit characters can be transmitted per second over a 9600 baud serial
communication link using asynchronous mode of transmission with one start bit, eight
data bits, two stop bits, and one parity bit?

a) 600

b) 800

c) 1000

d) 1200

Correct Answer: b

Detailed Solution: "9600 baud" means that the serial port is capable of transferring a
maximum of 9600 bits per second.
Total Data To send = 1 bit(start) + 8 bits (char size) + 1 bit (Parity) + 2 bits (Stop) = 12
bits.
Number of 8-bit characters that can be transmitted per second = 9600/12 = 800.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 10:
The interrupt control logic

a) manages interrupts

b) manages interrupt acknowledge signals

c) accepts interrupt acknowledge signal

d) all of the mentioned

Correct Answer: d

Detailed Solution: The interrupt control logic performs all the operations that are
involved within the interrupts like accepting and managing interrupt acknowledge signals,
interrupts.

QUESTION 11:
At the end of ISR, the instruction should be

a. HLT

b. RET

c. END

d. NOP

Correct Answer: B

Detailed Solution:

After the execution of the ISR , the control must go to the previous program which was
being executed. To execute it RET is placed at the end of ISR.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 12:
Which of the following is the correct ordering of the priority of the interrupts in 8085

a. TRAP > RST 7.5 > RST 6.5 > RST 5.5

b. RST 7.5 > RST 6.5 > RST 5.5 > TRAP

c. TRAP > RST 5.5 > RST 6.5 > RST 7.5

d. RST 5.5 > RST 6.5 > RST 7.5 > TRAP

Correct Answer: a

Detailed Solution:

QUESTION 13:
Which of the following statement is correct:

Statement I: Asynchronous Serial Data transfer is used for data transfer rates ≤ 20K
bits/second.

Statement II: Synchronous Serial Data transfer is used for data transfer rates ≥ 20K bits/second.

a. Only Statement I

b. Only Statement II

c. Both Statement I and II

d. None of the above

Correct Answer: C

Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 14:
Which of the following statement is correct?

Statement I : Asynchronous serial data is used for data transfer rates ≥ 20K
bits/second.
Statement II : Synchronous serial data is used for data transfer rates ≥ 20K
bits/second.

a. Only statement I
b. Only statement II
c. Both statement I and II
d. None of the above

Correct Answer: B

Detailed Solution:

QUESTION 15:
The contents of the accumulator is BAH, after execution of SIM instruction

a. Reset the RST 7.5 flip-flop memory


b. Set the RST 7.5 flip-flop memory
c. Reset the RST 6.5 flip-flop memory
d. Interrupt RST 6.5 unmasked
Correct Answer: a

Detailed Solution: Bit 4 of the accumulator in the SIM instruction allows explicitly
resetting the RST 7.5 memory

************END*******

You might also like