Q1
Q1 What is the role of a microprocessor in a computer system?
To manage input/output
To store data
To process instructions
To provide power to the system
Q2
Q2 Which of the following best describes a microprocessor?
A type of software
A hardware component
A storage device
An input device
Q3
Q3 What are the main components of a microprocessor?
ALU and Control Unit
Control Unit and RAM
ALU and Registers
RAM and ROM
Q4
Q4 In which unit of the microprocessor does arithmetic and logic operations take place?
Memory
I/O Interface
ALU
Control Unit
Q5
Q5 What does the Control Unit in a microprocessor do?
Executes instructions
Stores data
Fetches and decodes instructions
Handles I/O operations
Q6
Q6 Which component of a microprocessor performs logical operations such as AND, OR, and NOT?
Memory
Control Unit
Registers
ALU
Q7
Q7 How does a microprocessor communicate with memory?
Using interrupts
Using buses
Using direct connections
Using DMA
Q8
Q8 Which assembly instruction loads data from memory into a register in a typical microprocessor?
MOV
STORE
ADD
JUMP
Q9
Q9 A microprocessor system stops functioning after running a simple program. What could be a likely cause?
Incorrect addressing mode
Faulty ALU
Improper instruction
Improper power supply
Q10
Q10 What is the role of the ALU in a microprocessor?
Storing data
Performing arithmetic and logic operations
Fetching instructions
Controlling I/O operations
Q11
Q11 Which of the following best describes the Control Unit in a microprocessor?
Executes instructions
Manages input/output
Fetches and decodes instructions
Handles memory allocation
Q12
Q12 How does the microprocessor interact with external devices?
Through registers
Through buses
Through interrupts
Through memory
Q13
Q13 What is the function of registers in a microprocessor?
Store data temporarily
Store instructions
Fetch instructions
Control I/O devices
Q14
Q14 Which of the following components is essential for executing instructions in a microprocessor?
Control Unit
ALU
Both ALU and Control Unit
Memory Unit
Q15
Q15 What is the function of a Program Counter (PC) in a microprocessor?
Stores instructions
Holds the address of the next instruction
Performs logic operations
Handles interrupts
Q16
Q16 Which of the following is responsible for managing data flow between the microprocessor and memory?
Data bus
Control Unit
Address bus
ALU
Q17
Q17 Which instruction in assembly language can exchange the contents of two registers?
MOV
XCHG
CMP
ADD
Q18
Q18 In assembly, which instruction would be used to transfer a value directly into the accumulator?
MOV
LDAX
LDA
STORE
Q19
Q19 Which instruction is used to increment the contents of a register in assembly language?
INC
ADD
MOV
SUB
Q20
Q20 A microprocessor is fetching incorrect instructions during execution. What could be the issue?
Faulty Control Unit
Incorrect instruction format
Faulty ALU
Faulty Program Counter
Q21
Q21 A system fails to transfer data correctly between memory and microprocessor. What could be the issue?
Faulty data bus
Faulty Control Unit
Faulty ALU
Improper power supply
Q22
Q22 What is an Instruction Set Architecture (ISA)?
A set of memory locations
A set of instructions the CPU can execute
A hardware component
An interface for external devices
Q23
Q23 Which part of the microprocessor interprets and executes the ISA?
ALU
Registers
Control Unit
Data Bus
Q24
Q24 What type of instructions does an ISA typically include?
Memory management
Arithmetic and logical
I/O operations
All of the above
Q25
Q25 Which type of ISA allows for variable-length instructions?
RISC
CISC
DSP
Both RISC and CISC
Q26
Q26 In which type of ISA are most instructions executed in a single cycle?
RISC
CISC
VLIW
Stack-based ISA
Q27
Q27 What does the term "load-store architecture" refer to in an ISA?
Memory is directly manipulated
Data is loaded into registers before being operated on
Instructions operate directly on memory
Registers and memory are interchangeable
Q28
Q28 Which instruction is used in an ISA to compare two values in registers?
CMP
MOV
ADD
SUB
Q29
Q29 In assembly, what does the instruction ADD R1, R2, R3 do?
Adds R1 to R2 and stores in R3
Adds R2 and R3 and stores in R1
Adds R1 and R3 and stores in R2
Adds R2 to R3 and stores in R1
Q30
Q30 Which instruction is used to branch to a different part of the program in assembly language?
MOV
CMP
JMP
ADD