Electrical Engineering › Microprocessors & Microcontrollers

Peripheral Interfacing MCQ [Free PDF] – 5 Objective Questions with Answers

Every Peripheral Interfacing question asked in GPSC AE Electrical — solve, check instantly, then read the formula and exam tip.

5 PYQs4 subtopics1 examUpdated 23 Oct 2026
Topic practice0/5✓ 0✗ 0

Operating Modes (2)

Q1Moderate
In mode 2, if N is loaded as the count value, then after (N − 1) cycles, the output becomes low for
View answer & solution
Correct answer: A. 1 clock cycle
Quick explanation

In Mode 2 (rate generator), after N counts the output produces a LOW pulse lasting exactly one input clock period, then automatically reloads and repeats. Thus the LOW interval is one clock cycle.

LOW pulse width = 1 clock period
Verified · SRO editorial deskSolution page → Report
Q2Easy
In the I/O mode, the 8255 ports work as
View answer & 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.

Verified · SRO editorial deskSolution page → Report

8237 DMA (1)

Q3Easy
The pin that clears the command, request and temporary registers and internal first/last flipflop when it is set is
View answer & solution
Correct answer: D. RESET
Quick explanation

The RESET input initializes the DMA controller by clearing command, request and temporary registers and resetting internal sequencing such as the first/last flip-flop. Therefore RESET is the required pin.

RESET asserted → controller internal state initialized/cleared
Verified · SRO editorial deskSolution page → Report

Interrupt Acknowledge (1)

Q4Hard
The number of idle states (Ti), that is allowed between two INTA cycles, to meet the 8259A speed and cascade address output delay is
View answer & solution
Correct answer: C. 3
Quick explanation

The 8259A interrupt-acknowledge sequence may require idle timing between INTA̅ cycles to satisfy PIC speed and cascade-address delays. Under the specified interface convention, three idle states Ti are allowed, matching the final key.

Verified · SRO editorial deskSolution page → Report

Mode 1 Handshaking (1)

Q5Moderate
If the value of the pin STB (Strobe Input) falls to low level, then
View answer & solution
Correct answer: A. Input port is loaded into input latches
Quick explanation

In strobed input operation, a LOW pulse on STB̅ tells the 8255 that valid peripheral data is present and causes the input port data to be loaded into the input latch. The corresponding buffer-full/status logic is then updated.

STB̅ LOW → input data latched → IBF set (per mode timing)
Verified · SRO editorial deskSolution page → Report