Electrical Engineering · updated 23 Oct 2026

Microprocessors & Microcontrollers MCQ – 22 previous year questions with solutions

Every Microprocessors & Microcontrollers question asked in GPSC DEE Electrical, GPSC AE Electrical — arranged topic by topic, with the exam and paper shown on each question.

22 PYQs5 topics2 papersFree PDF
Chapter practice0/22✓ 0✗ 0

8051 Microcontroller MCQs 9

Open 8051 Microcontroller page →

8051 Microcontroller › 8051 Architecture (1)

Q1Easy
Consider the following statements regarding 8051 architecture:
1. It is an 8-bit microcontroller.
2. It has Harvard architecture.
3. It has separate program and data memory spaces.
Which of the above statements is/are correct?
View answer & solution
Correct answer: D. 1, 2 and 3
Quick explanation

The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. Key relation: Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.

Exam focus: Remember 07H for stack pointer reset. Common trap: 00H is not the reset value of the 8051 stack pointer.

Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Verified · SRO editorial deskSolution page → Report

8051 Microcontroller › ADC Interfacing (1)

Q2Easy
Consider the following statements regarding ADC interfacing to 8051:
1. ADC converts analog signal to digital.
2. Start of conversion signal is required.
3. End of conversion signal indicates completion.
Which of the above statements is/are correct?
View answer & solution
Correct answer: B. 1, 2 and 3
Quick explanation

An n-bit ADC divides its input range into roughly 2^n quantization levels. Quantization error is inherent in finite resolution, while sampling frequency determines whether the signal can be reconstructed without aliasing. Key relation: LSB≈V_FS/2^n; ideal quantization error ≈±0.5 LSB.

Exam focus: More bits improve amplitude resolution; higher sample rate improves time/frequency representation. Common trap: Resolution is not simply 1/n and sampling rate is not irrelevant.

LSB≈VFS/2^n; ideal quantization error ≈±0.5 LSB.
Verified · SRO editorial deskSolution page → Report

8051 Microcontroller › Addressing Modes (1)

Q3Easy
Consider the following statements regarding 8051 Addressing modes:
1. Immediate addressing includes operand in instruction.
2. Direct addressing uses memory address explicitly.
3. Indirect addressing uses register to hold address.
Which of the above statements is/are correct?
View answer & solution
Correct answer: D. 1, 2 and 3
Quick explanation

The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. Key relation: Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.

Exam focus: Remember 07H for stack pointer reset. Common trap: 00H is not the reset value of the 8051 stack pointer.

Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Verified · SRO editorial deskSolution page → Report

8051 Microcontroller › CPU Registers (1)

Q4Easy
Consider the following statements:
1. Accumulator is used for arithmetic and logic operations.
2. Program Counter holds the address of next instruction.
3. Stack Pointer points to 00H on reset in 8051 Microcontroller.
Which of the above statements is/are correct?
View answer & solution
Correct answer: A. 1 and 2 only
Quick explanation

The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. On reset the stack pointer is 07H, so the first PUSH stores at 08H. Key relation: Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.

Exam focus: Remember 07H for stack pointer reset. Common trap: 00H is not the reset value of the 8051 stack pointer.

Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Verified · SRO editorial deskSolution page → Report

8051 Microcontroller › Instruction Set (1)

Q5Easy
Consider the following statements regarding 8051 instructions:
1. MOV instruction transfers data between registers/memory.
2. ADD instruction affects flags.
3. INC instruction affects carry flag.
Which of the above statements is/are correct?
View answer & solution
Correct answer: C. 1 and 2 only
Quick explanation

The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. Key relation: Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.

Exam focus: Remember 07H for stack pointer reset. Common trap: 00H is not the reset value of the 8051 stack pointer.

Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Verified · SRO editorial deskSolution page → Report

8051 Microcontroller › Interrupts (1)

Q6Easy
Consider the following statements regarding 8051 interfacing to peripherals:
1. 8051 supports multiple interrupt sources.
2. Interrupts can be enabled/disabled.
3. Interrupt priority can be configured.
Which of the above statements is/are correct?
View answer & solution
Correct answer: A. All of the above
Quick explanation

The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. Key relation: Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.

Exam focus: Remember 07H for stack pointer reset. Common trap: 00H is not the reset value of the 8051 stack pointer.

Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Verified · SRO editorial deskSolution page → Report

8051 Microcontroller › Memory Architecture (1)

Q7Easy
Consider the following statements regarding 8051 Architecture:
1. 8051 has 4KB on-chip program memory (standard version).
2. Internal RAM is 128 bytes.
3. External memory can be interfaced.
Which of the above statements is/are correct?
View answer & solution
Correct answer: A. All of the above
Quick explanation

The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. Key relation: Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.

Exam focus: Remember 07H for stack pointer reset. Common trap: 00H is not the reset value of the 8051 stack pointer.

Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Verified · SRO editorial deskSolution page → Report

8051 Microcontroller › Memory Interfacing (1)

Q8Easy
Consider the following statements regarding Memory interfacing in 8051:
1. Address decoding is required for memory interfacing.
2. Chip select signal is used to enable memory device.
3. Multiple devices can share data bus.
Which of the above statements is/are correct?
View answer & solution
Correct answer: B. 1, 2 and 3
Quick explanation

The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. The standard core has 4 KB on-chip program ROM and 128 bytes internal RAM, supports external memory, multiple interrupts and configurable interrupt priority. Key relation: Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.

Exam focus: Remember 07H for stack pointer reset. Common trap: 00H is not the reset value of the 8051 stack pointer.

Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Verified · SRO editorial deskSolution page → Report

8051 Microcontroller › Stack (1)

Q9Easy
Consider the following statements regarding Stack in 8051:
1. Stack operates on LIFO principle.
2. PUSH increases stack pointer.
3. POP decreases stack pointer.
Which of the above statements is/are correct?
View answer & solution
Correct answer: D. 1, 2 and 3
Quick explanation

The classic 8051 is an 8-bit Harvard-style microcontroller with separate code and data spaces. On reset the stack pointer is 07H, so the first PUSH stores at 08H. Key relation: Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.

Exam focus: Remember 07H for stack pointer reset. Common trap: 00H is not the reset value of the 8051 stack pointer.

Reset SP=07H; classic internal RAM=128 bytes; standard ROM=4 KB.
Verified · SRO editorial deskSolution page → Report

Peripheral Interfacing MCQs 5

Open Peripheral Interfacing page →

Peripheral Interfacing › Operating Modes (2)

Q10Moderate
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
Q11Easy
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

Peripheral Interfacing › 8237 DMA (1)

Q12Easy
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

Peripheral Interfacing › Interrupt Acknowledge (1)

Q13Hard
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

Peripheral Interfacing › Mode 1 Handshaking (1)

Q14Moderate
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

8086 & Advanced Processors MCQs 4

Open 8086 & Advanced Processors page →

8086 & Advanced Processors › Bus Arbitration (1)

Q15Moderate
The highest priority usage than any other usage is
View answer & solution
Correct answer: A. Transfer with LOCK (active low) signal
Quick explanation

A bus transfer protected by the active-low LOCK̅ signal has highest priority because the processor is explicitly preventing other bus masters from taking control during an indivisible/critical bus operation.

LOCK̅ asserted → bus ownership retained for critical operation
Verified · SRO editorial deskSolution page → Report

8086 & Advanced Processors › Bus Control (1)

Q16Hard
A valid HOLD request is ascertained only after the completion of
View answer & solution
Correct answer: D. 34 clock cycles and 80286 is RESET
Quick explanation

Under the 80286 bus-timing convention used by the question, a valid HOLD request is recognized only after completion of the specified bus-cycle sequence with the processor state/reset condition shown in the correct option. The official final answer is the 34-clock, 80286 RESET condition.

Verified · SRO editorial deskSolution page → Report

8086 & Advanced Processors › CPU Blocks (1)

Q17Easy
Consider the following statements:
1. A microprocessor is a programmable digital device that performs arithmetic and logic operations.
2. Control unit generates timing and control signals.
3. ALU performs memory read/write operations.
Which of the above statements is/are correct?
View answer & solution
Correct answer: A. 1 and 2 only
Quick explanation

A CPU can be viewed as datapath + control. The datapath contains registers and ALU; the control unit decides which operation occurs and when, including read/write control signals to memory and I/O. Key relation: Conceptual data path: Memory/I-O ↔ buses/registers → ALU → registers; control unit generates READ, WRITE, enable and timing signals.

Exam focus: ALU = compute; control unit = coordinate; registers = fast temporary storage. Common trap: Attributing every CPU action, including memory bus control, to the ALU.

Conceptual data path: Memory/I-O ↔ buses/registers → ALU → registers; control unit generates READ, WRITE, enable and timing signals.
Verified · SRO editorial deskSolution page → Report

8086 & Advanced Processors › Memory Segmentation (1)

Q18Easy
When a stack segment is initialised, then
View answer & solution
Correct answer: A. SS and SP are initialised
Quick explanation

A usable 8086 stack requires both SS (Stack Segment) and SP (Stack Pointer) to be initialized. SS identifies the stack segment base and SP gives the offset of the current top of stack.

Physical address = 16×SS + SP
Verified · SRO editorial deskSolution page → Report

8085 Microprocessor MCQs 3

Open 8085 Microprocessor page →

8085 Microprocessor › Conditional Branching (1)

Q19Moderate
If the zeroth condition is satisfied then, for execution, the JNZ instruction takes
View answer & solution
Correct answer: D. 4 clock cycles
Quick explanation

JNZ tests the zero flag and branches when Z=0. The timing depends on whether the jump is taken; under the processor/timing convention intended by this question, when the 'zero condition' is satisfied the execution path takes four clock cycles, matching the final key.

Z = 0 → jump taken Z = 1 → no jump
Verified · SRO editorial deskSolution page → Report

8085 Microprocessor › Instructions (1)

Q20Easy
DAA instruction is used to perform which type of addition?
View answer & solution
Correct answer: A. BCD addition
Quick explanation

DAA (Decimal Adjust Accumulator) is used after adding packed BCD numbers so the binary result in the accumulator is corrected to a valid BCD representation. Hence it is associated with BCD addition.

If low nibble >9 or AC=1 → add 06H If high nibble >9 or CY=1 → add 60H
Verified · SRO editorial deskSolution page → Report

8085 Microprocessor › Interrupts (1)

Embedded & Real-Time Systems MCQs 1

Embedded & Real-Time Systems › Interrupt-Driven Systems (1)

Q22Easy
The complete software system is divided into
View answer & solution
Correct answer: D. All of the mentioned
Quick explanation

An interrupt-driven software system is organized into a main program plus the interrupt service routines required for the subprocesses/peripherals. Since the listed items are constituent parts of the complete software structure, 'all of the mentioned' is correct.

System software = main/background program + required ISRs
Verified · SRO editorial deskSolution page → Report

Microprocessors & Microcontrollers MCQ FAQs

How many Microprocessors & Microcontrollers MCQs are on SarkariResultOut?

22 previous year Microprocessors & Microcontrollers questions across 5 topics, each with the exam it was asked in, the verified answer and a step-by-step solution.

Which exams asked these Microprocessors & Microcontrollers questions?

GPSC AE Electrical · AE R&B · 2025 · Series M; GPSC DEE Electrical · DEE Master paper · 2026.

Can I download Microprocessors & Microcontrollers MCQs as a PDF?

Yes. Tap “Download Microprocessors & Microcontrollers PDF” — it is free after a quick sign-in and includes every answer and solution.