4. Electronics and Systems
Microcontrollers — Quiz
Test your understanding of microcontrollers with 5 practice questions.
Practice Questions
Question 1
Which of the following statements most accurately describes the fundamental difference between a microprocessor and a microcontroller?
Question 2
When a microcontroller is used in an application requiring precise timing for multiple concurrent tasks, such as motor control and sensor data acquisition, which advanced software concept is most likely to be implemented to manage these tasks efficiently?
Question 3
Consider a microcontroller with a $12\text{-bit}$ Analog-to-Digital Converter (ADC) and a reference voltage of $5\text{ V}$. If a sensor provides an analog voltage output that ranges from $0\text{ V}$ to $3.3\text{ V}$, what is the maximum digital value the ADC will output when the sensor is at its highest output voltage?
Question 4
Which of the following communication protocols is most suitable for connecting a microcontroller to multiple sensors or actuators on a single bus, where each device has a unique address and communication occurs with a master-slave relationship, often using only two wires for data and clock?
Question 5
A microcontroller is programmed to control a stepper motor, requiring precise angular positioning. Which type of output signal from the microcontroller is essential for controlling the motor's rotation in discrete steps and direction?
