You are on page 1of 3

First Term Exam / second Attempt

University of Mosul
Time: 90 Minutes
College: Engineering Date: 10 / 2 / 2020
Dept.: Electrical Engineering Lecturer: Dr. Mohammed Younis
Class: 4rd Year Mr. Fawaz Yaseen
Subject: Computer Interfacing Systems Code: ENEE20T4072

Q Mark Question
1 20
Identify the choice that best completes the statement or answers the question
NOTE: Choose only one option (i.e. either a, b, c, d) for each question
(Answer any four (4) of the following questions)

1. The pin that clears the control word register of 8255 when enabled is
a) CLEAR b) SET c) RESET d) CLK

2. The device that receives or transmits data upon the execution of input or
output instructions by the microprocessor is
a) control word register b) read/write control logic
c) 3-state bidirectional buffer d) none
3. In 8253 , the mode that is used to interrupt the processor by setting a
suitable terminal count is
a) mode 0 b) mode 1 c) mode 2 d) mode 3
4. In 8279 , when a key is pressed, a debounce logic comes into operation in
a) scanned keyboard special error mode
b) scanned keyboard with N-key rollover
c) scanned keyboard mode with 2 key lockout
d) sensor matrix mode

5. In 8259, the register that stores the bits required to mask the interrupt
inputs is
a) In-service register b) Priority resolver
c) Interrupt Mask register d) None
2 30 (Answer any three (3) the following questions)
a) What are the functions performed by INTEL 8251A?
b) Show the output of OUT2 if 8254 counter operating in mode 2 . Assume
that GATE1 = 1 and CLKl = 1 MHz, and the clock count N =1000.
c) Which is the highest priority interrupt?
d) What is the difference between synchronous and asynchronous
transmission?

(1_3)
3 25 What must be address bus inputs of the circuit in figure1 if port C of PPI number (8)
is to be accessed?

4 25 Write an instruction sequence to set up the counter 1 of the 82c54 in Fig. 2 as


follows:

Counter 0: Binary counter operating in mode 0 with an initial value of 1234H.


Counter 1: BCD counter operating in mode 2 with an initial value of 0100H.
Counter 2: Binary counter operating in mode 4 with an initial value of 1FFFH.

(2-3)
Microprocessor Supporting Chips Data Sheets Summary

1-8254 control word


2- 8254

(3-3)

You might also like