AI in transport and communication
The highway's closed near Ramban. A text says you won ₹50,000 — and the phone has already binned it as spam. Two jobs AI does millions of times a day.
- Build a route rule with IF
- Label messages and find the spam clues
- Tell a written rule from a learned pattern
AI in transport and communication
The highway's closed near Ramban. A text says you won ₹50,000 — and the phone has already binned it as spam. Two jobs AI does millions of times a day.
- Build a route rule with IF
- Label messages and find the spam clues
- Tell a written rule from a learned pattern
Story
Learn it
Two everyday jobs use the two techniques you learned in Unit 1. A map app predicts how long a drive will take, a number, so that is regression, learned from millions of past journeys. A spam filter decides spam or not spam, a group, so that is classification, learned from clues in many messages. Both are useful, both can be wrong, and neither knows about this morning's landslide unless someone reports it.
Words to know
estimating travel time from past journeys: time of day, day of the week, current speeds. It is regression.
unwanted messages, often scams, sent to many people.
a classifier that sorts messages into spam and not spam.
a clue the model looks at, such as the word "WINNER", an unknown sender, or a strange link.
a real message wrongly sent to spam.
a scam that wrongly gets through.
an official notice, such as J&K Traffic Police saying a highway is closed.
Step by step: how a spam filter learns
- Labelled examples: thousands of messages that people marked spam or not spam.
- Find the features: in the spam ones, words like WIN, prize, URGENT and links from unknown numbers keep appearing.
- Learn the pattern: messages with several of these clues are probably spam.
- Classify a new message: "CONGRATULATIONS! You won ₹50,000. Click now!" has a prize, urgency and a link → spam.
- Mistakes both ways: your teacher's message about a "prize-giving" might be blocked (a false positive); a scam in Urdu might get through (a false negative), if the filter learned mostly from English.
A written rule vs a learned pattern: "IF the advisory says Closed, THEN don't travel" is a rule a person wrote. A map app's travel time is a pattern it learned. The rule knows today's news only because a person typed it in, and the pattern knows only the past.
Careful: official advisories come first. For highway closures and avalanche warnings, follow J&K Traffic Police and the district administration, even if an app says the road looks fine. And never click a link you didn't expect, even if the filter let it through.
Your missions
route-rule.ods (10 made-up trips) · messages.ods (12 made-up texts)The route rule
pairs10 min- 1
Open
route-rule.ods: Day · Snow last night? (Y/N) · Advisory (Open/Closed) · Leave time · Decision. - 2
In E2, build a rule with IF:
=IF(C2="Closed";"Don't travel";IF(B2="Y";"Travel with care";"Travel")). Fill it down. - 3
Talk: this is a rule someone wrote. A map app learns travel times from data. Which one would know about today's landslide?
Spam or not spam?
pairs8 min- 4
Open
messages.ods. Predict: how many of the 12 are spam? Note it. - 5
Label each
SpamorNot spam, and in Clue type the feature that decided it — prize, link, urgent, unknown number. - 6
Which clue appears most in spam? That's the pattern a spam filter learns. Check the teacher's key: did you call a real message spam?
No laptop today?
With the 10 trips and 12 messages printed, pairs write each decision and label on paper; the teacher tallies the most common spam clues on the board.
Debate it
A spam filter learned mostly from English messages. Scam messages in Urdu or Kashmiri keep getting through to people's phones.
Who is hurt most by this? What would the filter need to learn from?
Check yourself · practice, not a test
In the app, students answer these one at a time and each answer is checked straight away. It's practice, never a mark — anything they miss comes back later for another go.
1.A map app predicting "8 hours 30 minutes" to Jammu is an example of…
- AClassification
- BRegression
- CClustering
- DSorting
2.A spam filter sorting messages into "spam" and "not spam" is an example of…
- AClassification
- BRegression
- CClustering
- DDrawing a chart
3.Which features might make a spam filter suspicious? (choose all)
- AThe word "WINNER"
- BA strange link
- CA message from your teacher's saved number
- D"Reply URGENTLY"
4.If a map app shows the highway as open, you can ignore the traffic police advisory that says it is closed.
TrueFalse
**AI predicts the road and filters the inbox, and for safety, trust official warnings over any app.**
Typing practice
Skill: numbers and symbols inside sentences, Term 2 (7 min)
- On typing.com, practise a numbers row review lesson.
- Then type exactly:
NH-44: closed at Ramban. Travel time 8 hrs 30 min. - Watch the hyphen, the colon and the full stops.
Written and designed by Faizan Ayoub. © 2026 Faizan Ayoub. All rights reserved.