What is a microprocessor?
Show answer & solution
Answer: (A) A central processing unit on a single integrated circuit
It needs external memory and I/O.
Electrical Engineering · Digital Electronics & Microprocessors
32 questions, each with the answer and a worked solution.
Practice interactively and track your score →What is a microprocessor?
Answer: (A) A central processing unit on a single integrated circuit
It needs external memory and I/O.
What is the data bus width of the Intel 8085 microprocessor?
Answer: (B) 8 bits
It is an 8-bit microprocessor.
How much memory can the 8085 address with its 16-bit address bus?
Answer: (D) 64 KB
2¹⁶ = 65,536 locations.
How much memory can the 8086 address with its 20-bit address bus?
Answer: (A) 1 MB
2²⁰ = 1,048,576 locations.
What is the function of the program counter (PC)?
Answer: (C) It holds the address of the next instruction to be fetched
It increments automatically after each fetch.
What is the function of the stack pointer?
Answer: (C) It holds the address of the top of the stack in memory
The stack stores return addresses and data.
What is the accumulator in a microprocessor?
Answer: (D) A register that holds one operand and the result of arithmetic and logic operations
Most 8085 instructions use the accumulator.
What does the zero flag indicate?
Answer: (C) The result of the last operation was zero
Flags are used for conditional jumps.
What does the carry flag indicate?
Answer: (B) A carry out of or borrow into the most significant bit
It is used in multi-byte arithmetic.
What are the main steps of an instruction cycle?
Answer: (A) Fetch, decode and execute
Each step may take one or more machine cycles.
Which 8085 interrupt is non-maskable and has the highest priority?
Answer: (C) TRAP
TRAP is used for critical events such as power failure.
What is direct memory access (DMA)?
Answer: (B) Data transfer between memory and I/O devices without CPU involvement in each transfer
A DMA controller takes control of the buses.
Which bus in a microprocessor system is bidirectional?
Answer: (A) Data bus
The address bus is unidirectional from the CPU.
What is the main difference between Harvard and von Neumann architectures?
Answer: (D) Harvard uses separate memories and buses for program and data; von Neumann shares them
Many microcontrollers use Harvard architecture.
What is the main feature of RISC processors?
Answer: (B) A small set of simple instructions executed quickly, often in one clock cycle
ARM processors are RISC designs.
Which type of memory loses its contents when power is switched off?
Answer: (D) RAM
RAM is volatile memory.
How is an EPROM erased?
Answer: (A) By exposure to ultraviolet light
EEPROM and flash are erased electrically.
What is the main difference between SRAM and DRAM?
Answer: (C) SRAM uses flip-flops and needs no refresh; DRAM uses capacitors and must be refreshed
SRAM is used for cache memory.
What is cache memory?
Answer: (D) Small, fast memory that stores frequently used data and instructions close to the CPU
It reduces average memory access time.
Which addressing mode includes the operand itself in the instruction?
Answer: (A) Immediate addressing
Example: MVI A, 05H in the 8085.
What is an opcode?
Answer: (C) The part of an instruction that specifies the operation to be performed
The operand specifies data or address.
What is the purpose of segment registers in the 8086?
Answer: (B) To form 20-bit physical addresses from 16-bit offsets
Physical address = segment × 16 + offset.
What is pipelining in a processor?
Answer: (D) Overlapping the fetch, decode and execute stages of successive instructions
The 8086 has a 6-byte instruction queue.
What is memory-mapped I/O?
Answer: (B) I/O devices are assigned memory addresses and accessed with memory instructions
I/O-mapped I/O uses separate address space.
What is an assembler?
Answer: (C) A program that translates assembly language into machine code
Each assembly instruction corresponds to a machine instruction.
What is an interrupt?
Answer: (A) A signal that temporarily stops the current program so the processor can service an event
An interrupt service routine handles it.
What does the HLT instruction do in the 8085?
Answer: (C) Stops program execution until reset or an interrupt
The processor enters a halt state.
What is the purpose of the ALU in a processor?
Answer: (A) To perform arithmetic and logic operations
It works with registers and flags.
What is the clock frequency of the classic 8085 microprocessor?
Answer: (B) About 3 MHz
The crystal frequency is twice the operating frequency.
Which flag in the 8085 is set when the result has an even number of 1s?
Answer: (C) Parity flag
The parity flag indicates even parity.
What is the physical address in the 8086 for segment 1000H and offset 0020H?
Answer: (C) 10020H
1000H × 10H + 0020H = 10020H.
What is a subroutine?
Answer: (D) A group of instructions that can be called from different parts of a program and returns afterwards
CALL and RET instructions are used.