Free lesson · Module 1, lesson 1 of 6

What AI is, and what it is not

Tell a program that follows written rules from one that learned patterns from examples (the spam filter, the maps app, the phone keyboard), and sort six everyday apps into the two kinds.

The video for this lesson is being prepared

About 9 minutes, narrated in English, Hindi and Odia. The notes and the quiz below are open now.

Lesson notes

For the student

Welcome to the course. You already use artificial intelligence (AI) many times a day. This first lesson gives you one question that tells an AI program from an ordinary one.

Two ways to make a program

  • Rules: a person writes every step in advance, and the program follows them exactly. A bill calculator works out units used × rate, the same bill every time
  • Examples: the program is shown many cases and finds the pattern itself. Most spam filters today learn from a huge number of mails that people marked as spam or as safe; many also keep a few written rules, such as blocked senders
  • Nobody wrote down the pattern of spam; the filter learned it
  • Making a program learn from examples is called machine learning

What AI is, and what it is not

  • When people say AI today, they almost always mean the examples kind: a program that learned patterns from data. (Some older systems built from hand-written rules were called AI too.)
  • A learned program handles cases it has never seen. For the same reason, it is sometimes wrong: a real mail can land in spam
  • Not every fast or clever app is AI: a calculator only follows rules
  • AI is not a person thinking inside your phone; it is a program that learned patterns

The one question

  • Could a person write down every step in advance? Yes: the rules kind. No, it learned from many examples: the examples kind
  • Signs of learning: it copes with new cases no one listed, and now and then it guesses wrong
  • Many apps mix both kinds. A maps app can follow written steps to find the shortest road, and usually learns traffic from past trips. Sort each feature, not the whole app

The sorts from the lesson

  • The spam filter: examples (no list could hold every new spam mail)
  • Ravi's phone: the calculator, the alarm and the fare chart follow rules; the keyboard's next-word suggestion learned from typed text
  • The six apps: rules for the bill reminder (1 day before the due date), the exam result (pass at 33 marks or more) and the form that rejects a mobile number that is not 10 digits; examples for voice typing, the photo gallery grouping faces and the maps app's arrival time in traffic

The trap

  • Wrong: anything fast or clever is AI; AI understands like a person; a learned program is always right; a whole app is AI or not AI
  • Right: ask whether a person could write every step; learned means patterns from examples; expect a learned program to slip sometimes; sort each feature on its own

Try it

  • Start a notes file for this course, in a notebook or a notes app. You will add to it in every module
  • Write down five features of your own phone, for example the torch, the alarm, the photo gallery, voice typing and the keyboard. Sort each into rules or examples, with a one-line reason
  • Then ask a chat assistant: "Sort these five phone features into two kinds: follows rules a person wrote, or learned from examples. Give one reason for each." Paste your list after it
  • New to chat assistants? Do this step after lesson 3, which shows how to start one
  • Compare its sort with yours. Where you disagree, ask it why, then decide for yourself with the one question: could a person write down every step?

Lesson quiz

Checked in your browser. Nothing is sent or saved.

5 questions

Question 1 · easy

A program is made from written rules. What does that mean?

Question 2 · easy

When people say AI today, what do they almost always mean?

Question 3 · medium

A college app has four features. Which one learned from examples?

Question 4 · medium

Meena's shopping app has four features. Which one follows written rules only?

Question 5 · hard

Arjun, a clerk in Cuttack, uses office software with five features:
- 1: puts today's date on every letter
- 2: blocks a leave request longer than 30 days until a manager approves it
- 3: flags a sentence in a draft letter that may sound rude, even with words it has never seen
- 4: totals the month's travel claims
- 5: groups photos of old files by what they show (receipts, letters, maps), even photos it has never seen

Which features learned from examples?

Next: Generative AI: machines that make new things