You are on page 1of 2

Class Test 1

Course: CSE 425 (Microprocessor, Microcontroller & Interfacing)


Total Marks:20 Time: 25 Min

Name: ……………………. ID: …………………………

[Don’t forget to put your name and ID in your answer script]

1. Draw the block diagram of micro-computer architecture showing different buses. [5]

2. Suppose you set 26H in the data-direction register. Now, which bit position of the port [2]
is set up as input and output. Draw a diagram of DDR, PORT register and show the
direction of each bit of the port using an arrow.

3. Consider a microcomputer system in which transfer of BUS control (DMA request [5]
processing) from the microprocessor to DMA device takes 250 microsecond and DMA
device to the microprocessor (DMA bus release) takes 150 microsecond. One of the
I/O devices has data transfer rate of 0.015 MB/sec and employs DMA.
Calculate the time (in the nanosecond) DMA takes to transfer a block of 15 bytes of
data using Cycle stealing mode. Suppose, data are transferred one byte in one cycle.

4. Write True/False [8]


a. DMA technique uses a microprocessor for data transfer operation.
b. The maskable interrupt is typically used as a power failure interrupt.
c. The speed of operation of the peripherals is usually faster compared to the
micro-computer CPU.
d. The memory-mapped I/O technique uses M/IO pin of 8086.
e. Interrupt driven I/O are useful when interfacing Mouse with the micro-
computer.
f. ROM is an example of secondary memory.
g. In interrupt driven I/O, the I/O device initiate data transfer.
h. If a maskable interrupt and a non-maskable interrupt happen simultaneously
in a micro-computer system then maskable interrupt will get priority

You might also like