Quiz
Quiz
Quiz
QUIZ
1.What is a microcontroller, and how does it differ from a microprocessor?
2.What is bit manipulation in microcontroller programming, and why is it important in embedded systems?
3.What is the role of timers in generating precise delays in microcontrollers, and how do they improve upon software-based delay
loops?
4.What is the difference between a timer and a counter in a microcontroller?
6.Which of the following methods is commonly used to generate a time delay in microcontrollers?
• Correct Answer :D
• Correct Answer: c
Describe the difference between UART (Universal Asynchronous Receiver/Transmitter) and SPI (Serial Peripheral
Interface) in microcontroller serial communication.
• A) General-purpose processors
• B) Digital Signal Processors (DSPs)
• C) Graphics Processing Units (GPUs)
• D) Both A and B
• Correct Answer: D
16.Which design technology emphasizes the collaboration of hardware and software components?
• A) System-on-Chip (SoC)
• B) Hardware-Software Co-design
• C) Very Large Scale Integration (VLSI)
• D) Field-Programmable Gate Arrays (FPGA)
• Correct Answer: B
18.According to Moore's Law, what is the expected trend regarding the number of transistors on a microchip?
19.Which of the following addressing modes uses a register to hold the address of the operand?
• A) Direct addressing
• B) Indirect addressing
• C) Register addressing
• D) Immediate addressing
• Correct Answer: C
20.In which addressing mode is the operand specified explicitly in the instruction itself?
• A) Register addressing
• B) Direct addressing
• C) Immediate addressing
• D) Indirect addressing
• Correct Answer: C
• A) The address of the operand is determined by the sum of a base address and an index value.
• B) The operand is stored in the instruction itself.
• C) The address of the operand is located in a register.
• D) The operand is accessed through a fixed memory address.
• Correct Answer: A
22.Which addressing mode allows for the use of a constant value as an operand in an instruction?
• A) Direct addressing
• B) Register addressing
• C) Immediate addressing
• D) Relative addressing
• Correct Answer: C
23.In indirect addressing mode, how is the effective address of the operand determined?