wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Programmable I/O Port 8255

Total questions: 46

Worksheet time: 23mins

Name
Class
Date
1.

Programmable peripheral input-output port is another name for

a)

serial input-output port

b)

parallel input-output port

c)

serial input port

d)

parallel output port

2.

Port C of 8255 can function independently as

a)

input port

b)

output port

c)

either input or output ports

d)

both input and output ports

3.

All the functions of the ports of 8255 are achieved by programming the bits of an internal register called

a)

data bus control

b)

read logic control

c)

control word register

d)

none of the mentioned

4.

The data bus buffer is controlled by

a)

control word register

b)

read/write control logic

c)

data bus

d)

none of the mentioned

5.

The input provided by the microprocessor to the read/write control logic of 8255 is

a)

RESET

b)

A1

c)

WR(ACTIVE LOW)

d)

All of the mentioned

6.

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 of the mentioned

7.

The port that is used for the generation of handshake lines in mode 1 or mode 2 is

a)

port A

b)

port B

c)

port C Lower

d)

port C Upper

8.

If A1=0, A0=1 then the input read cycle is performed from

a)

port A to data bus

b)

port B to data bus

c)

port C to data bus

d)

CWR to data bus

9.

The pin that clears the control word register of 8255 when enabled is

a)

CLEAR

b)

SET

c)

RESET

d)

CLK

10.

In the I/O mode, the 8255 ports work as

a)

reset pins

b)

set pins

c)

programmable I/O ports

d)

only output ports

11.

In BSR mode, only port C can be used to

a)

set individual ports

b)

reset individual ports

c)

set and reset individual ports

d)

programmable I/O ports

12.

The feature of mode 0 is

a)

any port can be used as input or output

b)

output ports are latched

c)

maximum of 4 ports are available

d)

all of the mentioned

13.

The strobed input/output mode is another name of

a)

mode 0

b)

mode 1

c)

mode 2

d)

none

14.

If the value of the pin STB (Strobe Input) falls to low level, then

a)

input port is loaded into input latches

b)

input port is loaded into output latches

c)

output port is loaded into input latches

d)

output port is loaded into output latches

15.

The pulse width of the signal INIT at the receiving terminal must be more than

a)

10 microseconds

b)

20 microseconds

c)

40 microseconds

d)

50 microseconds

16.

The signals that are provided to maintain proper data flow and synchronization between the data transmitter and receiver are

a)

handshaking signals

b)

control signals

c)

input signals

d)

none

17.

The feature of mode 2 of 8255 is

a)

single 8-bit port is available

b)

both inputs and outputs are latched

c)

port C is used for generating handshake signals

d)

all of the mentioned

18.

The device that enables the microprocessor to read data from the external devices is

a)

printer

b)

joystick

c)

display

d)

reader

19.

The example of output device is

a)

CRT display

b)

7-segment display

c)

Printer

d)

All of the mentioned

20.

The input and output operations are respectively similar to the operations,

a)

read, read

b)

write, write

c)

read, write

d)

write, read

21.

The operation, IOWR (active low) performs

a)

write operation on input data

b)

write operation on output data

c)

read operation on input data

d)

read operation on output data

22.

The latch or IC 74LS373 acts as

a)

good input port

b)

bad input port

c)

good output port

d)

bad output port

23.

While performing read operation, one must take care that much current should not be

a)

sourced from data lines

b)

sinked from data lines

c)

sourced or sinked from data lines

d)

sinked from address lines

24.

To avoid loading during read operation, the device used is

a)

latch

b)

flipflop

c)

buffer

d)

tristate buffer

25.

What must be the contents of the control word of Intel 8255 for Mode 0 (operation) and for the following ports configuration : Port A-output, Port B-output, Port Clower-Output, Port Cupper-input

a)

85 H

b)

86 H

c)

87 H

d)

88 H

26.

Ports are used to connect the CPU to which of the following units? 1. Printer 2. Floppy disk drives 3. Video display unit 4. Incoming power supply Select the correct answer using the codes given below

a)

1 and 2

b)

2 and 3

c)

3 and 4

d)

1 and 3

27.

When the 82C55 is reset, its I/O ports are all initializes as

a)

output port using mode 0

b)

Input port using mode 1

c)

output port using mode 1

d)

Input port using mode 0

28.

Which pins are general purpose I/O pins during mode-2 operation of the 82C55?

a)

PA0 - PA7

b)

PB0-PB7

c)

PC3-PC7

d)

PC0-PC2

29.

Which is the commonly used programmable interface and particularly used to provide handshaking:

a)

8251

b)

8254

c)

8259

d)

8255

30.

Which provide a mechanism to establish a link between the microprocessor and i/o device

a)

Input interface

b)

Output interface

c)

Both a and b

d)

None of these

31.

In which the processor uses a protection of the memory address to represent I/O ports

a)

Memory mapped I/O

b)

I/O memory mapped

c)

Both a and b

d)

None of these

32.

The standard I /O is also called

a)

I/O mapped I/O

b)

Isolated I/O

c)

Both a and b

d)

None of these

33.

The processor of knowing the status of device and transferring the data with matching speeds is called

a)

Handshaking

b)

Peripheral

c)

Ports

d)

None of these

34.

Which is designed to automatically manage the handshake operation?

a)

8251

b)

8254

c)

8255

d)

8259

35.

Which mode is used for single handshake in 8255?

a)

Mode 0

b)

Mode 1

c)

Mode 2

d)

None of these

36.

Which mode is used for double handshake in 8255?

a)

Mode 0

b)

Mode 1

c)

Mode 2

d)

None of these

37.

Which mode is used for simple input or output without handshaking?

a)

Mode 0

b)

Mode 1

c)

Mode 2

d)

None of these

38.

Which PORT C pins are used for port B in 8255 mode 1?

a)

PC0-PC2

b)

PC3-PC7

c)

PC6-PC7

d)

PC3-PC5

39.

Which are used for port A in 8255 mode 1?

a)

PC0-PC2

b)

PC3-PC7

c)

PC6-PC7

d)

PC3-PC5

40.

Which are used for handshake lines for port A in 8255 mode 2?

a)

PC0-PC2

b)

PC3-PC7

c)

PC6-PC7

d)

PC3-PC5

41.

A handshake signal in a data transfer is transmitted

a)

Along with the data bits

b)

Before the data transfer

c)

After the data transfer

d)

Either along with the bits or after the data transfer

42.

How many ports do 8255 have?

a)

3

b)

4

c)

5

d)

6

43.

How many modes do 8255 have?

a)

3

b)

4

c)

5

d)

6

44.

Which of the following mode of 8255 is Strobed Bi-directional I/O?

a)

Mode 0

b)

Mode 1

c)

Mode 2

d)

Mode 4

45.

Which of the following port can be programmed nibble wise (separately)?

a)

Port A

b)

Port B

c)

Port C

d)

Port D

46.

Port A and UPPER nibble of Port C come under ----- Group.

a)

A

b)

B

c)

C

d)

None