Skip to content
elevatedevco

Robotics & IoT

AI and the Internet of Things

Learn AI and the Internet of Things: 33 practice questions and answers with an interactive quiz — from the offline AI Learning app.

Intermediate33 questions33 quiz questions

Questions & Answers

Tap a question to reveal its answer. Written for self-study and interview preparation.

What does 'IoT' (Internet of Things) mean?

IoT stands for the Internet of Things. It means everyday physical objects, like lights, watches, and fridges, that have sensors and internet connections so they can collect data and talk to each other or to the cloud. This lets these 'smart' devices be monitored or controlled remotely.

How do AI and IoT work together?

IoT devices collect lots of data using sensors, and AI is the 'brain' that analyzes that data to find patterns and make smart decisions. For example, a smart thermostat (IoT) uses AI to learn your daily routine and adjust the temperature automatically. Together they turn raw sensor data into useful actions.

What is a sensor in an IoT device?

A sensor is a component that detects changes in the physical world, such as temperature, light, motion, or sound, and turns them into electronic data. IoT devices rely on sensors to 'feel' their environment. For example, a motion sensor detects movement and can trigger a light to switch on.

Give an example of a smart home device that uses AI.

A smart speaker like a voice assistant is a common example. It listens for your voice (IoT sensor: microphone) and uses AI to understand your words and respond, such as playing music or answering questions. Other examples include smart thermostats and AI-powered security cameras.

Why do many IoT devices send their data to 'the cloud'?

Many IoT devices are small and have limited computing power and storage, so they send data to the cloud, which is a network of powerful remote servers. The cloud can store huge amounts of data and run heavy AI computations that the tiny device cannot. The results can then be sent back to the device.

What is 'edge computing' in IoT, and why is it useful?

Edge computing means processing data on or near the device itself instead of sending everything to a distant cloud server. It is useful because it is faster (less delay), saves internet bandwidth, and can keep sensitive data more private. For example, a self-driving car must react instantly, so it processes camera data at the 'edge' rather than waiting for the cloud.

A fitness tracker counts your steps and estimates calories burned. How is this an example of AI plus IoT?

The fitness tracker is an IoT device because it has motion sensors and connects to your phone or the cloud. It uses AI to interpret the sensor signals, recognizing the pattern of movement as 'steps' and estimating calories. This combination of sensing plus smart interpretation is AI working with IoT.

What does it mean to say IoT devices learn 'from examples'?

It means the AI inside or connected to the device is trained on many examples of data so it can recognize patterns later. For instance, a smart camera is shown thousands of pictures of people and packages so it learns to tell them apart. After this training, it can identify new situations it has never seen before.

What is a smart thermostat and how does it use machine learning?

A smart thermostat is an internet-connected device that controls heating and cooling in a home. It uses machine learning by recording when you adjust the temperature and learning your routine over time. After learning, it can automatically set comfortable temperatures and even save energy when you are away.

Name one important privacy concern with smart home IoT devices.

Smart home devices, like cameras and voice assistants, can record audio and video inside your home, which is very private. If this data is stored or sent insecurely, hackers or companies could misuse it. That is why it is important to use strong passwords and understand what data a device collects.

What is an 'actuator' in an IoT system?

An actuator is a part that performs a physical action based on a command, such as a motor that opens a door or a switch that turns on a light. While sensors take in information, actuators put decisions into effect. AI may decide what to do, and the actuator carries out the action.

How can AI and IoT help save energy in a building?

Sensors can detect whether rooms are occupied and measure light and temperature, while AI analyzes this data to turn off lights, fans, or air conditioning when they are not needed. Over time, the AI learns usage patterns and predicts the best settings. This reduces wasted electricity and lowers costs.

What is a 'smart city' and how do AI and IoT contribute to it?

A smart city uses connected sensors and AI to improve services like traffic, lighting, water, and waste collection. For example, IoT sensors track traffic flow and AI adjusts traffic lights to reduce jams. The goal is to make cities safer, cleaner, and more efficient.

In agriculture, how can IoT sensors and AI help farmers?

IoT sensors in fields can measure soil moisture, temperature, and humidity, sending this data for analysis. AI then advises farmers when to water crops, where pests may appear, or the best time to harvest. This 'smart farming' saves water and increases crop yields.

What is the main difference between a regular device and a 'smart' (IoT) device?

A regular device works on its own and is not connected to a network, like a basic light bulb you flip with a switch. A smart IoT device is connected to the internet, can collect and send data, and often be controlled remotely or automatically. The internet connection and data ability are what make it 'smart'.

Why is a strong internet connection important for many IoT systems?

Many IoT devices constantly send sensor data to the cloud and receive instructions back, so they need a reliable connection. If the network is slow or drops, the device may delay decisions or stop working correctly. This is one reason edge computing is used for tasks that must work even without good internet.

What is predictive maintenance in industrial IoT?

Predictive maintenance uses sensors on machines to monitor things like vibration, heat, and sound, and AI analyzes this data to predict when a part might fail. This lets companies fix machines before they break down. It saves money and prevents unexpected stoppages in factories.

A simple Python rule turns on a fan if temperature is above 30. Write a small example.

You can use a basic if-statement to act on a sensor reading. If the temperature value is greater than 30, the program decides to turn the fan on; otherwise it keeps it off. This is a simple rule-based version of what IoT controllers do (real AI systems learn more complex patterns).

temperature = 32  # reading from a sensor
if temperature > 30:
    fan_on = True
else:
    fan_on = False
print('Fan on?', fan_on)
What is a wearable device, and give an AI-powered example.

A wearable is a small IoT device you wear on your body, such as a smartwatch or fitness band. An AI-powered example is a smartwatch whose sensor reads your pulse and uses AI to compare it against learned patterns of normal and abnormal rhythms; if it detects an unusually high or irregular heartbeat, it warns you to see a doctor. It combines body sensors with AI pattern recognition.

How do self-driving cars combine AI and IoT sensors?

Self-driving cars are packed with IoT sensors like cameras, radar, and LiDAR that constantly sense the road, other cars, and pedestrians. AI processes all this data in real time to steer, brake, and accelerate safely. The car must decide in milliseconds, so much of this happens with edge computing inside the vehicle.

What does 'real-time data' mean for an IoT system?

Real-time data means information that is processed and acted on almost instantly as it is collected, with very little delay. Many IoT systems, like alarm sensors or traffic cameras, need real-time data so they can respond immediately. Delays could make the response useless or unsafe.

Why should IoT devices have software updates?

Software updates fix bugs, add features, and most importantly patch security holes that hackers could use. Because IoT devices connect to the internet, an outdated device can be an easy target for attacks. Keeping devices updated helps protect both the device and your network.

What is one ethical concern when AI in IoT devices makes automatic decisions?

One concern is fairness and accountability: if an AI device makes a wrong or biased decision, like a security system mis-identifying a person, it can be hard to know who is responsible. There are also concerns about consent and whether people know their data is being collected. Designers should make AI decisions explainable and fair.

How can AI help an IoT security camera be more useful than a plain camera?

A plain camera just records video, but an AI-powered camera can understand what it sees. It can tell the difference between a person, a pet, and a passing car, and only alert you for important events. This reduces false alarms and saves you from watching hours of footage.

What is 'training data' and why does its quality matter for IoT AI?

Training data is the collection of examples used to teach an AI model to recognize patterns. If the data is good and varied, the AI makes better decisions; if it is poor or biased, the AI makes mistakes. For an IoT voice assistant, training data with many accents helps it understand more people fairly.

Why might an IoT device process data locally instead of always using the cloud?

Processing data locally (on the device or edge) is faster because it avoids the round-trip to a distant server, and it keeps private data on the device. It also keeps working if the internet goes down. This is important for time-sensitive tasks like detecting a fall or controlling a machine.

What is an example of IoT being used in healthcare beyond wearables?

Hospitals use connected medical devices, such as smart infusion pumps and monitors, that send patient data to nurses' stations in real time. AI can analyze this data to alert staff if a patient's condition worsens. This helps doctors and nurses respond faster and care for more patients safely.

What does it mean for IoT devices to 'communicate' with each other?

It means devices share data and coordinate actions over a network, often without a human in the middle. For example, a motion sensor can tell a smart light to turn on and a camera to start recording at the same time. This machine-to-machine communication makes automated systems possible.

Loop through three temperature readings and print a warning if any is above 35. What Python tool fits best?

A for-loop combined with an if-statement fits best, because you check each reading one at a time. The loop goes through the list of readings, and the if-statement prints a warning whenever a value is too high. This is a simple model of an IoT system scanning sensor data.

readings = [31, 36, 34]
for temp in readings:
    if temp > 35:
        print('Warning: high temperature', temp)
What is a potential downside of relying too much on AI-driven IoT devices?

If we depend too heavily on automated devices, a malfunction, hack, or internet outage could cause big problems, and people may lose skills they no longer practice. There are also privacy and security risks because the devices constantly collect data. It is wise to use these systems with backups and good safety practices.

How does a voice assistant turn your spoken words into an action?

The microphone (an IoT sensor) records your voice and sends it to AI speech-recognition software that converts the sound into text. Then AI figures out what you mean and triggers the right action, like playing a song or setting a timer. Many of these steps happen in the cloud and the answer comes back in seconds.

Why is data security especially important for IoT devices in your home?

Home IoT devices are connected to your private network and can access cameras, microphones, and personal habits, so a security breach could expose very sensitive information. Hackers could even use a weak device to attack other devices on the network. Using strong, unique passwords and keeping software updated greatly reduces these risks.

What is 'machine-to-machine' (M2M) communication, and how is it different from people using the internet?

Machine-to-machine communication is when devices exchange data directly with each other automatically, without a person typing or clicking. Unlike a human browsing the web, M2M happens continuously in the background, like a weather sensor sending readings to a server every minute. This automated data flow is a core part of how IoT systems work.

Put it into practice with AI Learning

This topic — and hundreds more — comes from our free, offline AI Learning app. Practice Q&A, quizzes and cheat sheets anywhere, no account needed.

  • Free
  • No account
  • Works offline
Coming soon toGoogle Play