This question was asked inGPSC AE (Electrical) Class-2 R&B Department Paper 2025 – Series MQuestion 98 of 179 published · Gujarat Public Service CommissionOpen paper
Q216EasyPeripheral Interfacing

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

Answer & step-by-step solution
Correct answer: C. Programmable I/O ports
Quick explanation

In I/O mode, the 8255 Programmable Peripheral Interface configures Ports A, B and C as programmable input/output ports according to the control word and selected Mode 0, 1 or 2 behavior.

Concept & Reasoning

The 8255 has two broad control formats: I/O mode and BSR (Bit Set/Reset) mode. In I/O mode, port directions and handshake capabilities are programmed. Port C bits may also carry handshake/status signals in strobed modes.

How to Solve It in the Exam

8255 name itself: Programmable Peripheral Interface.

Important Exam Point

Do not confuse I/O mode with BSR mode for individual Port C bits.

Quick Trick

8255 name itself: Programmable Peripheral Interface.

Common Mistake

Calling the ports 'only output' despite programmable direction.

Solution diagram – In the I/O mode, the 8255 ports work as
Exam tipDo not confuse I/O mode with BSR mode for individual Port C bits.
Verified · SRO editorial desk Report
Try it before reading the solution — tap an option.0/1✓ 0✗ 0

More Peripheral Interfacing questions