Tap an option to check your answer — the correct answer and full explanation appear after you choose.
Electronics & Communication EngineeringEmbedded SystemsPPSCFPSCNTSID: ECE-104
Which communication protocol is commonly used to connect a sensor to a microcontroller?
AHDMI
BUSB-C
CBluetooth
DI2C ✓ Correct answer
✓ Correct answer: I2C
Full explanation
The correct answer is I2C. I2C is a communication protocol commonly used to connect sensors and other small parts to a microcontroller. Why the others are wrong: HDMI - HDMI carries video and audio to a screen, not sensor data to a microcontroller. USB-C - USB-C is a connector for charging and linking larger devices, not the usual protocol for a sensor. Bluetooth - Bluetooth is a wireless link for nearby devices, not the usual wired protocol for connecting a sensor to a microcontroller.
Electronics & Communication EngineeringEmbedded SystemsPPSCFPSCNTSID: ECE-109
In an embedded system, what is the main job of a microcontroller?
ATo print documents.
BTo play music only.
CTo control the device by running its stored program. ✓ Correct answer
DTo connect to the internet only.
✓ Correct answer: To control the device by running its stored program.
Full explanation
The main job of a microcontroller is to control the device by running its stored program. Why the others are wrong: To print documents. — Printing documents is the job of a printer, not a microcontroller. To play music only. — A microcontroller can do many control jobs, not only play music. To connect to the internet only. — A microcontroller does control work, not only internet connection. So the correct answer is To control the device by running its stored program.
Electronics & Communication EngineeringEmbedded SystemsPPSCFPSCNTSID: ECE-114
In an embedded system, what is a GPIO pin used for?
ATo store the program of the device
BTo connect the microcontroller to outside parts such as sensors and lights ✓ Correct answer
CTo print words on paper
DTo make the device heavier
✓ Correct answer: To connect the microcontroller to outside parts such as sensors and lights
Full explanation
To connect the microcontroller to outside parts such as sensors and lights. A GPIO pin is a connection point that lets the microcontroller send signals out to parts such as lights, or take signals in from parts such as sensors. Why the others are wrong: To store the program of the device — the program of the device is stored in memory, not in a GPIO pin. To print words on paper — a GPIO pin does not print anything, printing is done by a printer. To make the device heavier — a GPIO pin is a small connection point, it is not added to make the device heavier.
Electronics & Communication EngineeringEmbedded SystemsPPSCFPSCNTSID: ECE-119
In an embedded system, what is a real-time system?
AA system that must give its answer within a fixed short time ✓ Correct answer
BA system that works only at night
CA system with no sensor
DA system that stores films
✓ Correct answer: A system that must give its answer within a fixed short time
Full explanation
The correct answer is a system that must give its answer within a fixed short time. A real-time system must give its answer within a fixed short time, or the answer is useless. Why the others are wrong: A system that works only at night — a real-time system can work at any time of day. A system with no sensor — a real-time system often uses sensors, and having no sensor is not what makes it real-time. A system that stores films — storing films is not what makes a system a real-time system.