Recall & Review
beginner
What is polling in embedded systems?
Polling is a method where the CPU repeatedly checks the status of a device or condition in a loop to see if it needs attention.
Click to reveal answer
beginner
What is interrupt-driven execution?
Interrupt-driven execution lets the CPU respond immediately when a device signals an event, pausing current tasks to handle it.
Click to reveal answer
beginner
Name one advantage of polling.
Polling is simple to implement and easy to understand because the CPU controls when it checks devices.
Click to reveal answer
beginner
Name one advantage of interrupt-driven execution.
Interrupts allow the CPU to do other work and only respond when needed, improving efficiency and responsiveness.
Click to reveal answer
beginner
What is a disadvantage of polling compared to interrupts?
Polling wastes CPU time checking devices even when no event occurs, which can slow down the system.
Click to reveal answer
Which method waits actively by checking device status repeatedly?
✗ Incorrect
Polling involves the CPU repeatedly checking the device status in a loop.
What happens in interrupt-driven execution when a device signals an event?
✗ Incorrect
The CPU stops its current work to respond immediately to the interrupt.
Which method is more efficient for CPU usage?
✗ Incorrect
Interrupts let the CPU do other tasks and only respond when needed, saving CPU time.
Which method is simpler to implement for beginners?
✗ Incorrect
Polling is straightforward because it just checks device status in a loop.
What is a common drawback of interrupt-driven execution?
✗ Incorrect
Interrupts require careful handling to manage multiple events and priorities.
Explain the difference between polling and interrupt-driven execution in embedded systems.
Think about how the CPU waits for events in each method.
You got /4 concepts.
List advantages and disadvantages of polling and interrupt-driven execution.
Consider what makes each method easy or hard to use and how they affect CPU work.
You got /4 concepts.