How AI Learns from Data

Find out how machine-learning systems learn patterns from examples, and how this differs from AI that follows hand-written rules. Follow how a model is trained and tested, why the quality of its data matters and how bias gets in. Then learn how generative AI produces text and images, how to write good prompts, how to check what it makes, and how to use AI honestly and safely while weighing its effects on people and society.

Grade 8, Grade 9Lesson 9 of 10 in Computing for Ages 11 to 14 Course

What you will learn

  1. Recognize AI in everyday life, tell hand-written rules apart from learning from examples, and name the parts of a machine-learning system.
    • Recognize AI and describe what it does
      Say what makes a computer system AI, describe how it turns inputs into outputs, and find examples in daily life, games and public services.
    • Compare hand-written rules with learning from examples
      Explain the difference between rule-based systems and machine learning, and choose the right approach for a problem.
    • Name the parts of a machine-learning system
      Use the words data, feature, label, model, training and prediction correctly, and describe the steps of a machine-learning project.
  2. Follow how a classifier learns from labeled examples, measure how well it works on new data, improve it from evidence and compare the main ways of training.
    • Train a classifier from labeled examples
      Describe how a classifier uses labeled examples and features to learn, and follow the training process with real numbers.
    • Test a model on data it has not seen
      Explain why test data must stay separate from training data, calculate accuracy, read a table of results and recognize overfitting.
    • Investigate errors and improve a model
      Form a hypothesis about how a model works from its inputs and outputs, improve it by changing its data, and report honestly on what it can do.
    • Compare supervised and unsupervised learning
      Explain how training with labels differs from training without labels, and choose the right approach for a task.
  3. Judge whether training data is good enough, trace how bias enters a system, and check whether a system treats different groups fairly.
    • Judge the quality of training data
      Use clear questions to evaluate a data set, and explain how missing, rare or unrepresentative data shapes a model's output.
    • Trace where bias in AI comes from
      Define bias, explain the main ways it enters an AI system, and use real cases to show its effects.
    • Check for fairness and reduce bias
      Test how a system performs for different groups, explain why fairness needs human judgment, and describe ways to reduce harm.
  4. Explain how generative AI produces content, get better results with clear prompts, and check what it produces, including computer code.
    • Explain how generative AI creates content
      Tell predictive AI from generative AI, and explain how a large language model produces text one piece at a time.
    • Write and refine prompts
      Write clear prompts that say what you want, then improve the output step by step.
    • Check AI output for errors and bias
      Explain why generative AI makes things up, and use a clear routine to check facts, sources and fairness.
    • Review AI-generated code
      Weigh the benefits and limits of AI coding tools, and test and improve the code they produce.
  5. Know what AI cannot do, use generative tools honestly and safely, respond to deepfakes, and make reasoned judgments about AI's benefits and risks.
    • Recognize the limits of AI and when to rely on people
      Describe what AI does poorly, compare human and artificial intelligence, and decide when AI is the right tool.
    • Use generative AI honestly and safely
      Follow the rules for using AI in schoolwork, stay the main creator of your work, and protect your privacy and other people's rights.
    • Spot and respond to deepfakes and misleading AI content
      Explain what deepfakes are and why they matter, check suspicious content, and know what to do if you meet one.
    • Weigh AI's effects on work, privacy, ownership and the environment
      Describe the benefits and risks of AI for people and society, and reach a reasoned judgment about a real use of AI.

How AI Works study guide

5 chapters

1

See how AI turns data into answers

AI can recommend music, recognize speech, or control a game character. To understand these systems, start with what goes in and what comes out. Compare rules written by people with patterns learned from examples, then follow the parts of a machine-learning project. These distinctions help you choose an approach that fits a problem and see where people shape the result.

1.1 Find the input, task, and output

A phone finds beach photos without you naming every picture. A game guard chases a player. Both can use artificial intelligence, or AI: computing that tackles tasks usually linked with human thinking.

Follow the data

An AI system takes inputs and works out outputs to meet a goal. The output might be a prediction, a recommendation, a decision, or new content. Start with a robot vacuum. Distance sensors measure nearby objects. Those readings become data inside the computer. The system uses them to choose a change of direction before reaching a wall.

A sensor turns something in the world into data. A microphone records sound, a camera records images, and a motion sensor records movement. AI can also take input that someone types or that another program collects. It does not need its own sensors or a moving body.

Recognize patterns in pictures

A digital picture is a grid of pixels. Each pixel's color is stored as numbers. An image-recognition system works with patterns in these numbers, including edges, shapes, and textures. Its output can be a label such as “cat.” A photo search can use such labels to find pictures of beaches.

The input is the picture data, the task is recognizing what it shows, and the output is a label. Naming these three parts says much more than calling an app “smart.”

Notice different uses

AI can turn speech into text, translate a message, or recommend a song. A bank may flag an unusual payment for review. A medical system may help a doctor examine a scan. Generative tools create text, images, audio, video, or code. These are different tasks, with different inputs and outputs.

In a game, a guard might hear a noise, approach it, and chase the player. A programmer can write rules for all these actions. The guard still counts as game AI even though it learns nothing. AI is wider than machine learning.

Look past the appearance

A robot is a physical machine. AI is a way of handling a task. A spam filter has no body, while a factory arm may repeat fixed movements without AI. A calculator performing ordinary arithmetic is not AI just because it gives an answer quickly.

Many AI systems are narrow: they are built for one kind of task. A chess-playing program cannot recognize an animal simply because it plays chess well. People can bring experience from many parts of life to a new problem.

A chatbot may write, “I'm happy to help.” That shows it can produce friendly language. It gives no evidence that the system feels happy. Judge a system by the task it can perform and the evidence about its results, not by how human its words sound.

Key Takeaways

  • An AI system turns inputs into outputs to meet a goal.
  • AI can be software without a robot body.
  • Game AI can follow hand-written rules.
  • A narrow AI system is built for one kind of task.

1.2 Choose rules or learning from examples

Some problems have exact steps. Others have patterns that are hard to describe. Choosing a computing approach starts with the problem you need to solve.

Use clear instructions where they fit

Step-by-step instructions suit a task such as adding scores. Rule-based logic suits a clear condition: “If the player touches lava, remove one life.” People write these rules in advance. The computer applies them to the input.

An expert system is rule-based AI built from expert knowledge. A plant-care helper might ask about yellow leaves and wet soil. It follows if-then rules to suggest overwatering. Showing which rules fired makes its reasoning easier to check.

Learn a pattern where rules are hard to write

In machine learning, people supply examples and a learning algorithm finds patterns. For supervised learning, the examples include correct answers. Training on messages labeled “spam” and “not spam” produces a model that can classify a new message.

ApproachWhat people supplyWhat the system does
Rule-basedRules and input dataApplies the written rules
Supervised learningExamples with answersLearns a model for new inputs

Other learning methods can use examples without answer labels. Learning does not always mean copying supplied answers.

Compare two spam filters

A written rule checks for the phrase “you won.” It misses “y0u w0n” because the characters differ. Someone must change the rule to cover that spelling.

A trained filter can use several clues, such as unusual links and requests for money. It may catch the altered message through those patterns. It can still make mistakes, and developers need new examples when scams change.

The same difference appears in movie reviews. Give “great” a score of +1 and “bad” a score of −1. The phrase “The movie was not bad” then receives −1 and is wrongly called negative. A model trained on many labeled reviews can learn patterns involving whole phrases.

Match the approach to the task

Rule-based systems need no training data. They are predictable and often easy to explain. They become hard to build when the conditions are messy, such as recognizing every possible cat photo.

Machine learning helps when useful patterns are too complex to write by hand. It needs good examples, and its answers can be wrong. More complexity also makes some models hard to explain.

Ask: Can I write exact steps? Can I list clear conditions? If neither works well, do I have good data, and how serious would mistakes be? A grade average needs an exact calculation. A song recommendation can use learned patterns.

Real systems can combine approaches. A bank might use a model to score unusual payments, a fixed rule to block very large ones, and a person to review flagged cases. People still choose the goal, collect the data, and check the system.

Key Takeaways

  • Use exact steps for exact calculations.
  • Rule-based systems apply conditions written by people.
  • Supervised learning finds patterns in examples with correct answers.
  • Machine learning needs good data and can make mistakes.
  • One system can combine rules, models, and human review.

1.3 Keep data, training, and the model separate

A trained model is one part of a machine-learning system. To explain the whole project, keep the information, the learning steps, and the result of learning separate.

Name the parts

Data is the information available to a system. An example is one item, such as one movement recording. A feature is a measurable property of that item. A label gives its correct answer in supervised learning.

For a wristband, a feature could be movement strength. The label could be “walking” or “running.” The recording is the example; the class name attached to it is the label. Mixing those up hides what the computer actually receives.

Training finds patterns in the examples. A learning algorithm is the sequence of steps used to find them. A model is what training produces and keeps for use with new inputs, usually patterns stored as numbers. Different data can produce a different model even with the same learning algorithm.

Follow a project

A team wants a wristband to tell walking from running. It first defines those two classes. It records people doing each activity and labels the recordings. Most recordings train the model. Separate recordings check how it handles inputs it did not learn from.

If fast walking and slow running are often confused, the team studies those errors. It can collect more recordings of both, train again, and check the changed model. A project is a loop because evidence can send people back to an earlier step.

The main sequence is:

  1. Define the problem.
  2. Collect and, for supervised learning, label data.
  3. Train the model.
  4. Check its predictions on separate data.
  5. Improve it, check again, and decide how to use it.
Separate training from use

During training, the model changes as the algorithm finds patterns. During use, a finished model receives a new input and gives a prediction. Many models keep the same learned patterns until developers retrain them. Using a model does not mean it learns from every interaction.

“Prediction” does not always mean forecasting the future. Labeling a photo “cat” is a prediction about what is already in the picture. A prediction may be a category or a number. It is an output to check, not a fact guaranteed by the computer.

Include the physical computer

A learning system needs hardware, as well as data and algorithms. Training a large model involves huge numbers of calculations. A graphics processing unit, or GPU, can perform many calculations at once. This makes GPUs useful for training large models.

People and models both learn from examples, but they do so differently. A child can connect a few animal pictures with wider experience of living things. A model works from the patterns available in its data and usually needs many more examples.

Key Takeaways

  • Features describe an example; labels give its correct answer.
  • The learning algorithm trains; the model is the result.
  • Training changes a model, while use produces predictions.
  • Many models stay fixed until retraining.
  • Data, algorithms, and hardware all matter.
  • A prediction can describe a present input.
2

Train a model and check how it performs

A model's value depends on how well it handles new inputs. Follow a small classifier from labeled examples to a learned boundary, then check its mistakes and accuracy. Use separate data to improve and test it, and compare learning with and without labels. The aim is to understand what a score tells you and what evidence is still needed before using a model.

2.1 Learn a boundary from labeled examples

A classifier sorts inputs into categories called classes. It might label a message “spam” or “not spam.” Training gives it examples of what belongs in each class, including non-examples of the thing it should recognize.

Choose useful features

A feature should carry information about the class. Color and shape can help distinguish apples from lemons. The date of a photo is usually a poor clue. If all lemon photos happen to be taken on one date, a model could learn that accidental pattern.

A cat detector also needs pictures that are not cats. With only cats, it has no examples showing where the class should stop.

Train a tiny movement model

A wristband measures movement strength from 0 to 10. Walking recordings are 2, 3, 3, and 4. Running recordings are 7, 8, 8, and 9. Find the mean of each group:

walking mean=(2+3+3+4)÷4=3 running mean=(7+8+8+9)÷4=8

This simple learning method places a boundary halfway between them:

(3+8)÷2=5.5

The model calls readings above 5.5 “running”; readings at or below it are “walking.” A new reading of 6.2 is running, while 5.0 is walking. The training data produced the boundary. A person did not choose 5.5 in advance.

This model keeps a boundary, not a lookup table of the eight readings. Some other models keep their examples and compare new inputs with them. Both approaches aim to handle new inputs.

See a weight change

A weight says how much a feature counts. A tiny spam model adds word weights and flags scores of 3 or more. Initially, “free,” “prize,” and “click” each count 1; “homework” counts 0.

The labeled spam message “prize click” scores 2, so the model misses it. A simple update adds 1 to each word in that message. Now “prize” and “click” each count 2, and the message scores 4.

Check all four training messages again:

MessageNew scorePrediction
“free prize click”5Spam
“prize click”4Spam
“free homework”1Not spam
“homework”0Not spam

All four now match their labels. Many weighted models repeat prediction, error checking, and small weight changes. Other learning methods, such as the movement means, work differently.

Check labels and confidence

A wrong label changes training. If the running value 9 is mislabeled as walking, the walking mean becomes 4.2. The running mean becomes about 7.67. The new boundary is about 5.93, so a real running reading of 5.7 gets called walking.

Some classifiers give a confidence score, their estimate of how likely an answer is to be right. Near-boundary readings can be uncertain. Poor data can also produce confident mistakes, so confidence needs checking against real results.

Key Takeaways

  • A classifier needs labeled examples of every intended class.
  • Useful features help distinguish classes.
  • Training can learn a boundary or adjust feature weights.
  • Wrong labels can move a learned boundary.
  • Confidence is the model’s estimate, not a checked result.

2.2 Test on new data and read the errors

A model can perform well on examples it trained on and fail on new ones. Testing asks whether it learned a useful pattern beyond those familiar examples.

Keep test examples separate

Training data helps build the model. Test data checks its performance on examples it did not see during training. Testing on training examples is like giving a student the same questions whose answers they memorized.

One common split is 80% for training and 20% for testing. The split is a useful habit, not a required rule. With 200 photos, it gives 160 training photos and 40 test photos. If there are 100 cats and 100 dogs, randomly select within each class: 80 cats and 80 dogs for training, then 20 of each for testing. A purely random split across all photos might leave a rare class poorly represented.

Calculate accuracy

Accuracy is the share of predictions that match the checked labels:

accuracy=correct predictionsall predictions

For 34 correct answers out of 40:

34÷40=0.85=85%

The denominator counts every test example, including mistakes. Using only correct examples in both places would hide the errors.

Read a table of results

A confusion matrix compares real classes with predicted classes. It reveals mistakes that one overall score hides.

Real classPredicted catPredicted dogTotal
Cat18220
Dog41620

The correct cells are 18 cats and 16 dogs: 34 of 40 overall. For cats, the model gets 18 of 20 right, or 90%. For dogs, it gets 16 of 20 right, or 80%. The table shows which class needs more work.

People must check the real labels too. If a hand-applied tag is wrong, the comparison can unfairly count a correct prediction as an error.

Ask what a high score hides

Suppose 90 of 100 messages are real and only 10 are spam. A model saying “not spam” for every message scores 90%. It catches none of the spam. Check each class and the job the system is meant to do before praising its accuracy.

Overfitting means fitting training examples too closely, including accidental details, so performance is poor on new data. Training accuracy of 99% and test accuracy of 71% leave a gap of 28 percentage points. More varied data, a simpler model, or stopping training sooner may help.

More training can make overfitting worse. Also check the test conditions: good results on daylight photos do not tell you how well a model works at night. A test is a sample of situations, so it should match real use.

Key Takeaways

  • Test data must be separate from training data.
  • Accuracy divides correct predictions by all predictions.
  • A confusion matrix shows which classes are confused.
  • A high overall score can hide failure on a rare class.
  • A large training/test gap can warn of overfitting.
  • Test conditions should match real use.

2.3 Use errors to choose a useful improvement

An error tells you where to investigate. It does not tell you to add data at random. A useful change starts with a possible explanation that you can test.

Form a hypothesis

A hypothesis is an explanation to check against evidence. If a classifier labels several striped animals “tiger,” perhaps it relies too heavily on stripes. A striped shirt is a useful probe. If the model calls that a tiger too, the result supports the idea. Try inputs that separate the suspected clue from the intended subject.

Look for wrong labels, missing classes, too few examples, or examples from one setting. An outlier differs greatly from the other examples. Check it before removing it: a faulty sensor reading is different from a genuine rare event.

Work through an improvement

A bird-feeder model sorts robins and sparrows. The team holds 40 labeled photos aside as a validation set for comparing changes. Its first result is:

31÷40=77.5%

Most errors occur at dusk. The training photos were nearly all taken in daylight. The team hypothesizes that the model lacks low-light examples. It adds 60 new dusk photos showing both birds and trains again.

The changed model gets 36 of the same 40 validation photos right:

36÷40=90%

Using the same validation examples makes the before/after comparison useful. The new training photos must be separate pictures, not copies of those validation photos. Adding many more daylight robin pictures would not address the observed weakness.

Keep a final test untouched

The validation results helped guide the team's decisions. Repeatedly choosing changes from those results can make that score too flattering. Once changes are finished, use a separate test set that has played no part in them.

On 40 untouched test photos, the model gets 35 right:

35÷40=87.5%

Report 87.5% as the final test result.

Record the purpose and limits

A model card explains what a model is for, the training data, test performance, and limits. For example: “Sorts robins and sparrows in garden photos. Correct on 35 of 40 untouched test photos, or 87.5%. Untested in rain and on other birds.”

A model can change behavior when a weight changes. In the spam model, a lone “click” scores 2 and stays below the cutoff of 3. Raising its weight to 3 flags that same input. Controlled changes help reveal what the output depends on.

Keep checking after release. New scams, slang, or users can differ from old training data. Developers may need fresh examples, retraining, and new tests.

Key Takeaways

  • Start an improvement with evidence from errors.
  • Test a hypothesis with inputs that separate possible causes.
  • Validation data helps compare changes.
  • Use untouched test data for the final reported score.
  • Check outliers before removing them.
  • A model card records performance, purpose, and limits.
  • Keep checking after release as the world changes.

2.4 Decide whether training needs labels

Sometimes you know the categories you want. Sometimes you want to discover groups in the data. These aims call for different learning approaches.

Learn from correct answers

Supervised learning uses labeled examples. Each example includes the answer the model should learn to predict. A photo app can learn object names from labeled pictures. A model can also learn to predict a number, such as a house price from its size and location. Supervised learning is wider than classification.

The labels guide learning. They do not mean a person stands beside the model for every prediction. Creating labels takes time and money, and people can disagree or make mistakes.

Find groups without answer labels

Unsupervised learning uses data without supplied correct answers. It looks for structure. Clustering is one approach: examples with similar features are placed together.

A music service records weekly listening hours for pop and classical music. It has these pairs:

ListenerPop hoursClassical hours
A91
B82
C92
D18
E29
F27

A, B, and C have similar numbers. D, E, and F form another group. An algorithm can find these groups without anyone attaching “pop fan” or “classical fan” labels first.

Interpret the groups

The algorithm finds numerical patterns. A person then gives a useful meaning to the groups. The name “pop fans” is a human interpretation of the listening features. People also choose the data, features, and often the number of groups to seek.

Unsupervised learning avoids creating answer labels. But there is no ready list of correct labels for a simple accuracy check. People must judge whether the groups are useful for the task. A group may reveal a pattern worth investigating without explaining why that pattern exists.

Choose from the purpose
Question about the taskLikely approach
Predict a known class from examples with answersSupervised classification
Predict a number from examples with known valuesSupervised learning
Discover similar groups without answer labelsUnsupervised clustering

A shop can cluster customers by buying patterns. A bank can look for payments unlike ordinary patterns. The choice depends on what information is available and what the system must do.

Key Takeaways

  • Supervised learning trains on examples with correct answers.
  • Supervised outputs can be classes or numbers.
  • Unsupervised learning finds structure without answer labels.
  • Clustering groups examples with similar features.
  • People interpret clusters and judge their usefulness.
3

Check the data and look for unfair results

Training data is a selected picture of the world. Missing examples, wrong labels, and past unfair decisions can all shape what a model learns. Examine how those problems arise, then compare results for different groups. A fairness check needs both numbers and people: the numbers reveal uneven performance, while people judge the harm and decide what needs to change.

3.1 Ask whether the data fits real use

A model learns from the examples available to it. If those examples leave out important situations, training cannot fill the gaps by itself.

Check where data came from

Ask who collected the data and why. Check labels, missing information, age of records, and the range of people or situations included. Also ask whether collection had permission and protected privacy. A data set is a selection made by people, not a complete copy of the world.

Good data must fit the task. A large collection of clear daylight images is still a poor match for a camera used at dusk. Correct labels and enough variety matter alongside the number of examples.

Compare the sample with the users

Representative data reflects the population or conditions the system will meet. A voice assistant has 1,000 training clips: 900 adult voices and 100 child voices. That is 90% adults and 10% children. Half its users are children. The training data gives their voices much less space than real use does.

The assistant is likely to make more mistakes with children. Adding voices from children of different ages and accents addresses the missing range. Adding more adult clips would make the collection larger without solving that problem.

Representative does not mean every class must always have equal numbers. It means the collection needs to support the people, classes, and conditions relevant to the task. Rare but serious cases need deliberate attention too.

Notice a missing class

The zero problem occurs when an intended class has no training examples. A classifier trained to choose among known animal classes cannot name a zebra class that it has never been trained to output. With horses but no zebras, it may confidently call a zebra a horse.

This is different from having a few zebra examples. Zero examples provide no training information about that class. A useful fix must address the missing class and its examples.

Break an accidental pattern

Suppose nearly all wolf photos show snow, while dog photos show grass. A model might learn “snow means wolf.” A dog in snow then gets the wrong label. Even a test can look good if its photos repeat the same background pattern.

Use photos of both animals in several settings to separate animal features from backgrounds. A model should learn clues that carry information about the intended class.

Include unusual real events

Self-driving systems see many ordinary road scenes and few rare events. Yet a rare event, such as someone lying in the road, can be crucial. Teams seek rare examples, use simulations, and add safety rules.

Wrong labels, old records, few examples, and one-source collections can all weaken a model. More data helps when it improves these weaknesses. A million examples of the same narrow situation keep teaching the same narrow picture.

Key Takeaways

  • Check accuracy, labels, completeness, relevance, age, and permission.
  • Compare the data with the people and conditions of real use.
  • A missing class needs examples and a place among the outputs.
  • Accidental background patterns can mislead a classifier.
  • Rare cases can matter even when they are uncommon.
  • Useful variety matters more than raw data volume.

3.2 Trace how unfair patterns enter a model

Bias is a repeated pattern in which a system's errors or decisions unfairly favor or harm some groups. One random error is different from an uneven pattern. Several routes can bring bias into a system.

Uneven representation

In 2018, Joy Buolamwini and Timnit Gebru tested three commercial systems that classified gender from face photos. Error rates reached 34.7% for darker-skinned women, compared with at most 0.8% for lighter-skinned men. Two widely used face data sets they examined contained 79.6% and 86.2% lighter-skinned people. Looking separately at groups revealed a problem that a broad performance claim could miss.

An unfair past and subjective labels

A hiring tool reported in 2018 learned from about ten years of résumés, mostly from men. It marked down phrases such as “women's chess club captain.” Accurate records can preserve unequal past opportunities. Training on them can carry those patterns forward.

Labels can also contain judgments. People marking comments “rude” may disagree because of their backgrounds. A way of speaking that is normal in one community can be judged harshly by another. The model learns those labels too.

Choosing the wrong measure

A stand-in measure is something easy to measure in place of what really matters. A 2019 US study examined a health-care tool using past spending to estimate illness. Less had been spent on Black patients with the same needs, so the tool treated them as healthier than equally sick White patients.

The problem was not just a shortage of data. Spending was a poor stand-in for medical need because access and spending were unequal. Collecting more of the same spending records would keep that problem.

Removing a sensitive feature also leaves other clues. A zip code can carry information about income or background. Removing a group name does not erase every pattern linked with the group.

Design choices and stereotypes

People choose a model's goal, its success measures, and who is tested. A team with similar backgrounds may miss harms that affected people notice immediately.

Generative tools can repeat stereotypes. A narrow image collection may make “a doctor” produce mostly one group. Translation can add an unsupported gender too. Turkish uses the same pronoun in “O bir doktor. O bir hemşire.” A tool that outputs “He is a doctor. She is a nurse” has added a pattern the original did not specify.

Watch the feedback

A feedback loop can amplify a pattern. More police patrols in one area can produce more recorded incidents there. If those records guide the next patrol choices, the system may send still more patrols to that area.

Math does not remove the human choices behind data and design.

Key Takeaways

  • Bias is a repeated pattern of unfair results.
  • Data can preserve unequal representation or an unfair past.
  • Human labels and stand-in measures can introduce bias.
  • Other features can carry clues about a removed sensitive feature.
  • Design choices shape whose needs are tested.
  • Feedback loops can amplify an existing pattern.
  • Generated content can repeat stereotypes.

3.3 Compare group results and reduce harm

An overall score can hide who struggles with a system. A fairness check starts with the people affected and the consequences of mistakes.

Ask who bears the errors

Identify the users and anyone affected by the decisions. Ask which groups may be missing from data. Then test the system for each group. Compare rates as well as counts, because differently sized groups have different totals.

A face-unlock system is tested on 1,000 people. Group A has 800 people and 768 correct results. Group B has 200 people and 132 correct results.

768÷800=96% 132÷200=66%

Together, the correct results total 900:

900÷1000=90%

The overall 90% hides a large gap. Group A has 32 failures. Group B has 68 failures, despite having only a quarter as many people. Members of group B face a much higher failure rate.

Judge the harm, not just the rate

A poor song recommendation is easy to ignore. A wrong medical, hiring, loan, or police decision can seriously harm someone. Stronger checks are needed when mistakes have greater consequences.

Different mistakes matter differently too. Blocking a real payment inconveniences a customer. Missing fraud loses money. Ask who bears each cost and whether there is a way to correct it.

Fairness involves equal consideration, but there is more than one way to measure it. Different measures can conflict. People must decide which fits the purpose and the harm involved. A calculation can reveal an uneven result without settling every question about fairness.

Choose changes that fit the problem

Collect data representing the full range of users. Review labels for unfair judgments. Include people with different backgrounds on the team, and ask affected people about problems. Test results separately for relevant groups.

For the voice assistant with 900 adult and 100 child clips, gather more varied child voices. Train again and report results for adults and children separately. Repeat checks after release as users and conditions change.

Make review possible

Accountability means people take responsibility for how the system behaves. Tell people when AI affects a decision. Publish the purpose, performance, and limits in a model card. Provide a way to question a decision and have a responsible person review it.

A person in charge must have time and authority to examine the result. Simply accepting every output adds little protection.

Key Takeaways

  • Compare results separately for affected groups.
  • Use each group’s own total when calculating its accuracy.
  • Judge error costs as well as error rates.
  • People choose fairness measures that fit the situation.
  • Improve representation, labels, design, and review routes.
  • Keep checking fairness after release.
4

Generate, refine, and check AI content

Generative AI can produce fluent text, realistic images, and runnable code. Understanding how it creates these outputs helps you use them thoughtfully. Follow how a language model builds text, write a prompt with a clear purpose, and practice checking the result. Code needs its own close review: a program can run successfully while calculating the wrong answer.

4.1 Follow how a language model builds text

A spam classifier selects a class. A chatbot writes a reply. Both can learn from data, but the job they perform is different.

Distinguish prediction and generation

Predictive AI classifies inputs or forecasts outcomes. Generative AI creates content such as text, images, audio, video, and code. Generative models learn patterns from training examples too. Their output is not simply a stored answer retrieved on demand.

A large language model, or LLM, learns from huge amounts of text. It processes tokens, which can be whole words or pieces of words. It predicts what token could come next in the current text.

Build one continuation

Consider the words “The cat sat on the”. To make the process visible, imagine these made-up next-word chances:

ContinuationChance
“mat”0.55
“sofa”0.20
“floor”0.15
“moon”0.01
All other words together0.09

The chances add to 1. The model selects a continuation, adds it, then works out the next choice using the longer text. Repeating this process builds a whole answer. Real systems work in tokens, so one choice can be part of a word.

A model does not always select the most likely token. Some randomness lets it produce different continuations. Repeating the same prompt can therefore give different answers without the model having learned anything new between them.

Train an assistant's behavior

First, language models learn next-token prediction from large text collections. Further training on helpful replies and people's ratings shapes them into assistants. This training encourages useful responses and reduces harmful ones. It still leaves mistakes.

Image generators learn relationships between text descriptions and visual patterns. Many start with random noise and refine it through repeated steps toward a picture matching the prompt. Audio, video, and code tools learn patterns in their own kinds of examples.

Separate likely wording from checked facts

An LLM on its own is not a live search engine or a checked database. It generates text using learned patterns and the current context. It receives information about events after its training data through tools or user input. Even a tool that searches can misunderstand a page or report it incorrectly.

A smooth sentence can describe a nonexistent event. Generated content can also repeat stereotypes or closely resemble work in the training data. Being newly generated says how content was produced; it says nothing by itself about its accuracy or fairness.

Key Takeaways

  • Predictive AI estimates outputs; generative AI creates content.
  • Language models process words or word pieces called tokens.
  • A reply grows through repeated next-token choices.
  • Randomness can make repeated prompts produce different replies.
  • Assistant training improves behavior but leaves errors.
  • Fluent output still needs factual and bias checks.

4.2 Write a useful prompt and refine the reply

A prompt is the request you give a generative tool. Before writing it, decide what you need the output to help you do.

Give the tool a clear job

A strong prompt supplies useful details: the task, audience, context, format, tone, and limits. You do not need every detail in every prompt. Include what changes the kind of answer you need.

Compare “Write about volcanoes” with “Explain to a 12-year-old how a volcano erupts. Use no more than 80 words, one everyday comparison, and end with one question that checks understanding.”

The first leaves the focus and audience open. The second names the process, learner, length, style of example, and final format. Those details reduce guesses about what would be useful.

Replace vague requests

“Make it short” leaves the length unclear. “Use three bullet points of no more than ten words each” gives a limit that you can check. “Make it better” names no problem. “Use simpler words and add an example” tells the tool what change to try.

Context can matter as much as length. If a translation mistakes “the bank of the river” for a money bank, reply: “Here ‘bank’ means the side of a river. Please correct the translation.” You have identified the meaning that was lost.

Read, diagnose, and refine

Prompting often works as a conversation. Read the output before asking for more. Identify the most important gap, then give a clear new instruction. Check whether the change actually addresses that gap.

For example, an explanation may use words its audience has not learned. Ask for everyday words and a concrete example. If the new version is understandable but omits the main process, ask for the missing step. Refinement follows the problem you observe.

An example can show a desired style more clearly than a description. Provide one quiz question in the style you want and request three more. The example guides form; you still need to inspect the new questions and answers.

Compare versions against a purpose

Ask for several possible titles or poster ideas when choice would help. Compare them with the audience and purpose you decided at the start. A title that is clever but unclear may fit worse than a simple one that tells readers what the poster is about.

Keep checking separate

A precise prompt improves fit. It does not turn output into verified evidence. Asking the tool to “be accurate” can still produce wrong information. Check important claims using independent sources even when the reply follows every instruction.

Key Takeaways

  • Decide the purpose before writing the prompt.
  • Specify details that affect the needed output.
  • Replace vague requests with checkable instructions.
  • Refine the problem you observe in the reply.
  • Choose versions against your audience and purpose.

4.3 Check facts, sources, and representation

A chatbot can give a wrong answer in a confident voice. Hallucination is the term for false or made-up content presented as true.

Understand why mistakes appear

A language model produces likely text. That process does not by itself compare every claim with the world. Rare facts appear less often in training data and can be especially difficult. Training and scoring can also reward giving an answer instead of admitting uncertainty.

A hallucination may be a false date, an invented quotation, a nonexistent book, or a convincing-looking reference. In 2023, a US federal court penalized lawyers who filed citations to nonexistent court cases generated by a chatbot. Their failure to check turned the generated errors into errors in a real court filing.

Break a sentence into claims

Consider this reply: “The Eiffel Tower was finished in 1899 and is 500 meters tall.” It contains two claims to check: completion year and height.

The tower's official information gives 1889 and about 330 meters. Checking only the year leaves a second error in place. A whole paragraph can contain many claims, even when it reads as one smooth account.

Use a checking routine:

  1. Pick out the factual claims.
  2. Check them in trustworthy sources independent of the AI reply.
  3. Open named references and verify what they actually say.
  4. Check dates and calculations.
  5. Look for important missing information.

A reference can exist without supporting the claim beside it. Read the relevant part, not just the title. Asking the same chatbot “Are you sure?” can produce another unsupported answer, including a defense of the original mistake.

Spend checking effort where it matters

Recent events, specialist or local facts, exact quotations, references, and numbers deserve particular attention. A tool may lack fresh information or confuse details that look alike. Recalculate arithmetic from the stated values.

Also check validity for the task. A true statement about school rules in another place may not answer your question. A useful answer must fit the audience, location, and purpose, and include enough information.

Check for bias as well as errors

Accurate statements can still present an unfairly narrow picture. Ask whose viewpoints appear, whose are missing, and which roles different groups receive. If an image generator produces ten “scientist” pictures, examine who appears. Comparing equivalent prompts with different names can reveal uneven treatment too.

A fact check and a bias check ask different questions. The person who uses the output is responsible for the claims and representation they carry into their own work.

Key Takeaways

  • Hallucinations are false or invented content presented as true.
  • Split output into factual claims and check each important one.
  • Open references and check that they support the claim.
  • Recalculate numbers and check dates and local relevance.
  • Check representation and missing viewpoints as well as truth.
  • The person using the output is responsible for it.

4.4 Trace and test AI-generated code

AI coding tools can suggest a starting point, explain errors, and propose fixes. Their code still needs review. A program can run without crashing and return the wrong result.

Read the code before trusting it

Explain what each line does. Check unfamiliar functions in official documentation. Trace a small input by hand, then test normal, boundary, and unusual inputs. Also look for readable names and unnecessary complexity.

If a line is unclear, learn what it does before using it. A tool's explanation can help, but the actual code and its results still need checking.

Trace a skipped score

Suppose a tool supplies this Python function:

def average(scores):
    total = 0
    for i in range(1, len(scores)):
        total = total + scores[i]
    return total / len(scores)

A list holds values in numbered positions starting at 0. In [4, 6, 8], position 0 contains 4, position 1 contains 6, and position 2 contains 8. len(scores) is 3. Python's range stops before its end value.

The loop therefore visits positions 1 and 2. It adds 6, then 8, giving 14. The function divides by 3 and returns about 4.67. The intended mean is:

(4+6+8)÷3=6

The program runs, but its loop skipped the first value. Changing the start to range(0, len(scores)) makes it visit all three positions.

Test a boundary

The corrected loop still leaves a problem for an empty list, []. Its length is 0, so dividing the total by its length attempts division by zero. Decide what an empty input should mean before writing a guard.

One clear choice is to return a message:

def average(scores):
    if len(scores) == 0:
        return "No scores"
    total = 0
    for i in range(0, len(scores)):
        total = total + scores[i]
    return total / len(scores)

Check a typical list, a one-score list, and an empty list. Each probes a different part of the intended behavior.

Check names and claimed features

A plain Python list has no mean method. Code such as scores.mean() fails for that kind of object. A convincing function name is not evidence it exists. Check the object's documented operations.

Names such as total and scores help a reader follow the purpose. Names such as x and y2 make that harder. Simple code is easier to inspect and maintain when it meets the task.

Coding tools can save time, but relying on code you cannot explain blocks your learning. Protect private information in prompts, follow school rules, and acknowledge tool help. Responsibility for tested behavior stays with the person using the code.

Key Takeaways

  • Code that runs can still calculate the wrong result.
  • Explain and trace each line before relying on it.
  • Python list positions start at 0.
  • Test typical, boundary, and unusual inputs.
  • Check that unfamiliar functions exist for the object used.
  • Decide how empty input should behave before fixing it.
  • Clear names make code easier to review.
5

Make responsible choices about AI

Choosing whether to use AI means thinking about people as well as performance. Compare low-risk help with decisions that need human judgment. Keep your own role clear in schoolwork, check suspicious media before sharing, and weigh benefits against privacy and environmental costs. A reasoned decision explains who gains, who could be harmed, and what a simpler option could do.

5.1 Know when a person needs to decide

AI can process large amounts of data quickly. People bring experience, values, empathy, and responsibility. Choosing a tool means understanding these different strengths.

Recognize limits in new situations

A model can work well on one task and fail when inputs change slightly. Researchers showed that black and white stickers on a stop sign could make an image classifier read it as a speed-limit sign. A person could still recognize the stop sign. A small change in the input had disrupted the model's learned pattern.

Language tools can lose meaning too. A word-by-word translation of “It's raining cats and dogs” misses the meaning of heavy rain. Speech recognition may struggle with accents or names. Spell checkers, text-to-speech, translators, and autocomplete are useful, but important meaning needs checking by someone who understands the context.

Ask how an answer can be checked

Some models have millions of weights. Their result may come with no simple explanation a person can follow. That matters when someone needs to know why a decision affected them.

AI works from data patterns, without human lived experience or common sense grounded in a person's life. It may give no outward sign when it is wrong. A person can ask what a recommendation means for someone and whether it fits the wider situation.

Match checks to the consequences

Sorting holiday pictures by subject is low risk. A wrong label is easy to change. A spelling suggestion is useful if you read the change and check the meaning.

A decision about a program place or medical treatment has greater consequences. AI can help supply information, but a responsible person should decide. The harder an output is to check and the greater the harm of an error, the stronger the need for human judgment.

Before using AI, ask:

  • What task needs doing, and would a simpler method work?
  • Does suitable data exist for this situation?
  • How serious would a mistake be, and can I check it?
  • Does the task involve private information?
  • Is the energy and effort worthwhile?
Make human review real

A human in the loop reviews or approves output before it takes effect. This helps only when the person actually examines it. Automation bias is trusting a computer's answer too readily. A reviewer who clicks “approve” without checking can allow the same error through.

Human review needs enough understanding to question the output and enough authority to change it. For a high-stakes decision, a person's name on the process means little if they cannot challenge the recommendation.

Claims about AI's abilities also need checking. Ask who made the claim, what test was used, and which limits were reported. A successful demonstration on selected inputs may say little about the situation you face.

Key Takeaways

  • AI can fail when inputs differ from training examples.
  • People bring context, empathy, values, and responsibility.
  • Higher-stakes decisions need stronger checks and human judgment.
  • Human review helps when the reviewer truly examines the output.
  • Automation bias means trusting computer output too readily.

5.2 Keep learning, honesty, and privacy in view

Responsible use begins with a purpose. A tool should help you learn and create while you keep control of the work you submit.

Check the rules first

School rules can differ between tasks. A teacher may allow brainstorming for one assignment and forbid AI help for another. Check before starting. Services can also have minimum ages, so check the conditions of the service you plan to use.

An explanation in simpler words, extra practice questions, or starting ideas can support learning. Handing in generated writing as your own skips the thinking the task was meant to build.

Stay the main creator

For a report about a local river, a student asks for three possible angles. The student chooses one, researches it, and writes the report. AI supplied possible starting points; the student made the choices and did the main work.

Pasting in the assignment and handing in its generated reply does not serve that learning purpose. Changing a few words leaves the main thinking with the tool.

A useful acknowledgment names the role clearly: “I used an AI chatbot to suggest three topic ideas. I chose the topic, wrote the text, and checked the facts myself.” Use the acknowledgment format your school asks for. Honesty is about describing what actually happened.

Protect personal information

Information entered into a tool may be stored, read by staff, or used in future training, depending on the service. Keep full names, addresses, passwords, private photos, and health details out of prompts. This applies to other people's information too.

Remove identifying details before asking for help. “My friend” often gives enough context without naming the person. Think about what the request needs, then leave out unrelated personal information.

Respect other creators and subjects

Get permission before uploading someone's photo, voice, or written work. A realistic AI image should not be presented as a photograph of a real event. Follow school guidance on crediting images and check service terms.

Do not use a tool to bully, impersonate, or trick someone. The person making or sharing content remains responsible for its effects.

Choose people for personal support

A chatbot can sound warm without understanding your life. It can give unsafe advice. For health, safety, or personal worries, speak with a trusted adult or qualified professional. Friendly wording does not turn a tool into a doctor, counselor, or friend.

Key Takeaways

  • Check task rules and service conditions before use.
  • Use AI to support the thinking the task is meant to build.
  • Describe the help you actually used.
  • Keep private information out of prompts.
  • Get permission before uploading other people’s content.
  • Take personal worries to a trusted adult or qualified professional.

5.3 Check suspicious media before sharing it

A realistic voice or video can be generated or altered. A deepfake makes a person, place, or event falsely appear genuine. An obvious cartoon is different because viewers would not mistake it for real footage.

Understand what is at stake

Short recordings can be misused to create a convincing imitation. A cloned voice may pretend to be a relative asking for money. False clips can spread news that never happened or target a person with harassment.

Deepfakes also weaken trust in real evidence. People may dismiss a genuine recording as AI. The problem includes both believing false evidence and rejecting real evidence without a reason.

The underlying technology can have good uses with consent and clear labeling, such as film dubbing, special effects, or a synthetic voice for someone who has lost speech. Purpose, consent, and presentation matter.

Slow down and investigate

Content that makes you angry or scared can push you to share quickly. Pause and check:

  1. Who first posted it, and can that source be trusted?
  2. Can you find the original version?
  3. Do reliable sources report the same event?
  4. Do the date and place fit the claim?
  5. Does a reverse image search reveal an older or different use?

Many repeating posts may copy the same false source. Popularity is different from independent evidence.

Work through a school-closure claim

A new account shares a video of a mayor saying schools will close tomorrow. The official city website and local news have no such announcement. A reverse image search finds the background in an older speech.

These clues make the claimed announcement unreliable. Do not pass it on as news. Check through the school's or city's known communication channels. A missing announcement alone would not settle the video's origin; the checks together give reason to pause and investigate.

Do not rely on visible flaws

Odd hands, mismatched lip movement, or strange lighting can prompt a check. Good fakes may have no obvious flaw. Watermarks and labels help when present, but they can be absent or removed. Neither a realistic appearance nor a missing AI label establishes authenticity.

Respond to harm safely

Do not forward harmful content. Report the post and tell a trusted adult. Keep the post details or a record for reporting without spreading the material. If an image is sexual, record the account and link instead of copying the image. Fake sexual or humiliating images can cause serious harm, and making or sharing them can have legal consequences.

For a call asking for money or secrets, hang up. Call the person back through a number you already know. Hearing a familiar voice is not enough to verify who called.

Key Takeaways

  • Deepfakes falsely make generated or altered media seem genuine.
  • Check origin, independent reporting, date, and place.
  • Appearance and missing labels cannot establish authenticity.
  • Repetition across posts can come from one false source.
  • Report harmful content without spreading it.
  • Verify suspicious calls through a known contact route.

5.4 Weigh benefits, risks, and alternatives

A decision about AI should name both the benefit and the people who bear its risks. The same system can help one group while creating costs for another.

Consider work and access

AI can support earlier disease detection, captions, reading aloud, translation, and safer work. It can save time on repetitive tasks. These benefits depend on whether the system works well for the people using it.

Automation changes work. Some tasks shrink or disappear, new roles appear, and many jobs change. A chatbot may answer simple customer questions while staff handle difficult ones. People affected by these changes may need training and support. “AI changes tasks” is more useful than assuming every job has the same outcome.

Ask what happens to data and creative work

Recommendation systems can track viewing and buying. Face recognition can identify people in public. Ask what data is collected, who can access it, how long it stays, and whether people agreed.

Models have been trained on creative work without every creator being asked or paid. Questions about training permission and ownership of generated work remain disputed across countries. Communities' cultural knowledge and stories also deserve permission and respect. Do not assume that accessible material is free for any use.

Laws differ and change. A responsible evaluation names the privacy and ownership questions without pretending one worldwide rule settles them.

Count the physical resources

Large AI models usually train and run in data centers. These need electricity, hardware, and often cooling water. Manufacturing hardware uses resources, and generating electricity can produce carbon emissions. Smaller models can run on devices such as phones; those devices use energy and hardware too.

In its 2025 report, the International Energy Agency estimated that all data centers used about 415 terawatt-hours in 2024, around 1.5% of global electricity. It projected about 945 terawatt-hours in 2030, with AI driving much of the growth. A terawatt-hour is one billion kilowatt-hours. These figures cover all data centers, and the 2030 number is a projection.

Reach a reasoned judgment

A school considers face recognition for attendance. The benefit is a few minutes saved per class. The risks include sensitive face data, possible differences in errors between groups, and students having little choice. Calling the roll is an available alternative. One reasoned judgment is that the limited benefit does not justify these risks.

For another proposal, ask who gains, who could be harmed, how likely and serious the harms are, and which safeguards would help. Compare a simpler option. Then state a decision with reasons grounded in the situation.

Responsibility belongs with people who build, choose, and use systems. Misuse such as scams and surveillance needs attention alongside accidental errors.

Key Takeaways

  • AI brings benefits and changes tasks and jobs unevenly.
  • Check data collection, access, retention, and consent.
  • Ownership and training permission remain disputed across countries.
  • AI uses physical resources, including electricity and hardware.
  • The IEA figures describe all data centers and include a dated projection.
  • Compare benefits, harms, safeguards, and simpler alternatives.
  • People remain responsible for building and using systems.

How AI Works examples

5 Walkthroughs

1

Follow an AI system from input to output

12 steps
Identify an AI task, compare rules with learning, and separate a model from its training.
  1. 1
    IntroductionStart with a photo search

    A phone can find beach pictures without you labeling every photo. What enters the system, what task does it perform, and what comes out?

    Follow those parts first. Then compare a system following written rules with one trained on examples. This helps explain why AI can work without a robot body and why people still shape what a learning system does.

  2. 2
    ExplanationTrace the picture data

    A digital photo is a grid of pixels, stored as numbers. Image recognition looks for patterns such as edges, shapes, and textures. Its output can be a label like “beach.”

    The picture is the input. Identifying its subject is the task. The label is the output. A photo app can then use that label to organize a search result.

  3. 3
    ChallengeFind another input and output

    A robot vacuum senses a wall and turns before reaching it. Name its input and its output. Does the moving body itself make it AI?

    ---reveal---

    Distance readings are the input; the chosen change of direction is the output. A moving body alone does not establish AI. AI concerns how a task is handled, while a robot is a physical machine.

  4. 4
    ExampleTry a written spam rule

    A programmer writes: “If a message contains ‘you won’, mark it as spam.” The filter applies that condition exactly.

    A scammer changes the phrase to “y0u w0n.” The characters no longer match, so this rule misses the altered phrase. Someone needs to add or change a rule. The system has no learning process for discovering that new spelling.

  5. 5
    ExplanationTrain on labeled messages

    A supervised spam filter receives many examples labeled “spam” or “not spam.” A learning algorithm finds useful patterns in those examples and produces a model.

    The model may recognize other clues in an altered scam message, such as a strange link. It can still make mistakes. Developers choose the data and check whether the learned patterns work.

  6. 6
    ChallengeChoose a method for a score total

    A club needs the exact total of its members’ quiz scores. Should it train a model to estimate the total or write calculation steps? Explain the choice.

    ---reveal---

    Write exact calculation steps. Adding known scores has a clear method and a correct total. A learned estimate introduces avoidable errors; machine learning is useful when the needed pattern is difficult to write as exact instructions.

  7. 7
    ConnectionCombine approaches when needed

    A bank can combine a learned model, fixed rules, and a person. A model scores unusual payment patterns; a rule blocks certain very large payments; a person examines flagged cases.

    These approaches solve different parts of the task. “Uses AI” does not mean every part learns from examples. It is useful to ask which part produces each decision.

  8. 8
    ExplanationName an example’s parts

    A wristband records people walking and running. One recording is an example. Movement strength is a feature, a property the system can measure. “Walking” attached to a checked recording is its label.

    During training, the algorithm uses labeled examples to find a pattern. The resulting model is kept for classifying new recordings.

  9. 9
    AnalogySeparate the procedure from the result

    Think of a learning algorithm as a procedure for building a model. The data is the material it works on, and the model is what it produces.

    The same procedure can produce different models when given different examples. In the wristband project, collecting more slow-running examples can change the learned pattern without changing the learning algorithm itself.

  10. 10
    ChallengeSeparate training from using the model

    A finished wristband labels a new recording “running.” No retraining occurs. What is this output called, and has this use necessarily changed the model?

    ---reveal---

    The output is a prediction. It describes the present recording, so “prediction” need not mean a forecast. This use has not changed the model: many systems keep their learned patterns fixed until developers retrain them.

  11. 11
    ChallengeExplain the whole project

    A team records movement, labels recordings, trains a model, and installs it on a wristband. The wristband then classifies new recordings. Identify what the people supplied and what the model does during use.

    ---reveal---

    People supplied the goal, examples, labels, and training choices. During use, the learned model turns new motion inputs into class predictions. The training process built the model; it is separate from making each prediction.

  12. 12
    RecapQuestions to ask about a system

    For an unfamiliar system, ask:

    • What enters, and what output serves its goal?
    • Which decisions follow written rules?
    • Which patterns came from training examples?
    • What did people choose, and how was the result checked?

    These questions give you a concrete way to examine the system’s behavior.

2

Build a small classifier and report its results

18 steps
Learn a boundary, evaluate new inputs, improve with validation data, and choose a learning approach.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionA result needs a fair check
  2. 2
    ExampleFind the walking mean
  3. 3
    ExamplePlace the learned boundary
  4. 4
    ChallengeApply the learned model
  5. 5
    ExampleCorrect an error by changing weights
  6. 6
    ExplanationKeep the test unfamiliar
  7. 7
    ExampleCount correct results
  8. 8
    ChallengeLook behind a strong total
  9. 9
    Key InsightNotice a training–test gap
  10. 10
    ExampleFind the weak condition
  11. 11
    ExampleCheck a targeted change
  12. 12
    ChallengeChoose the final reported score
  13. 13
    TipInvestigate an unusual example
  14. 14
    ExplanationChoose whether answers are available
  15. 15
    ExampleRead two listener groups
  16. 16
    ChallengeChoose learning for a new goal
  17. 17
    ChallengeRepair a model report
  18. 18
    RecapRead a model report critically
3

Find missing examples and hidden unfairness

13 steps
Trace an error to the data and compare results for affected groups.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionStart with the people and conditions
  2. 2
    ExampleCompare voice data with users
  3. 3
    ChallengeChoose data that fills a gap
  4. 4
    Key InsightSeparate absence from rarity
  5. 5
    ExplanationTrace bias through human choices
  6. 6
    ExampleInspect a stand-in measure
  7. 7
    ChallengeLook for a remaining route into bias
  8. 8
    ConnectionFollow the new data back
  9. 9
    ExampleCalculate each group’s result
  10. 10
    ExampleCompare with the pooled score
  11. 11
    ChallengeDecide what an overall improvement leaves open
  12. 12
    ChallengePlan a response to an unfair result
  13. 13
    RecapQuestions for a fairness review
4

Ask for help and inspect the result

17 steps
Follow generation, refine a prompt, check evidence, and trace code before use.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionA useful reply still needs inspection
  2. 2
    ExplanationBuild text one token at a time
  3. 3
    ExampleChoose among possible continuations
  4. 4
    ChallengeExplain two different replies
  5. 5
    ExampleMake the request useful
  6. 6
    TipRefine the observed problem
  7. 7
    ChallengeFix a translation request
  8. 8
    ExplanationLook for generated claims
  9. 9
    ExampleCheck two facts separately
  10. 10
    ChallengeCheck what a citation supports
  11. 11
    ConnectionCheck representation too
  12. 12
    ExampleRead the loop’s positions
  13. 13
    ExampleCompare actual and intended results
  14. 14
    ChallengeTest after fixing the loop
  15. 15
    TipVerify unfamiliar operations
  16. 16
    ChallengeChoose evidence for a coding claim
  17. 17
    RecapInspect each output in a fitting way
5

Choose a responsible use of AI

14 steps
Judge risk, keep authorship honest, check suspicious media, and compare a proposal with alternatives.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionBegin with the decision people face
  2. 2
    ExplanationMatch oversight to the stakes
  3. 3
    ChallengeExamine a review process
  4. 4
    ExampleKeep the student’s thinking central
  5. 5
    ChallengeDecide whether editing is enough
  6. 6
    TipRemove information a prompt does not need
  7. 7
    ExplanationCheck the apparent event
  8. 8
    ExampleInvestigate a closure clip
  9. 9
    ChallengeVerify a familiar voice
  10. 10
    ExplanationLook beyond one user’s benefit
  11. 11
    ExampleCompare an attendance proposal
  12. 12
    ChallengeEvaluate a claimed improvement
  13. 13
    ChallengeSeparate a projection from a measurement
  14. 14
    RecapGive reasons for a choice

How AI Works practice questions

50 Practice Questions in 5 sets

Set 1: Evaluate results and choose useful improvements10 Practice Questions

Question 1 of 10

A team finishes training a classifier. What is the main purpose of examples kept out of training?
  1. To supply labels for examples already learned.
  2. To guarantee that its outputs will always be right.
  3. To check how it handles unfamiliar inputs.
  4. To increase its score on familiar training inputs.
Show answerHide answer
Answer: C
Examples kept out of training check whether the model works beyond the inputs it learned from. They provide evidence about unfamiliar cases, not a guarantee for every future input. Rechecking familiar training items can flatter a model that has learned accidental details.

Question 2 of 10

A test contains 30 glass objects and 20 paper objects. A classifier correctly labels 27 glass and 13 paper objects. What overall accuracy does it achieve?
  1. 80%
  2. 65%
  3. 85%
  4. 90%
Show answerHide answer
Answer: A
There are 40 correct results out of 50 objects, giving 80% accuracy. The 90% figure describes only glass, from 27 of 30, and leaves out the weaker paper results. Overall accuracy must count correct predictions and examples across both classes.

Question 3 of 10

A model scores 100% on training data and 68% on varied new test data. What training problem does this gap suggest?
  1. It has too many classes represented in its test examples.
  2. It must improve if training continues for more rounds.
  3. It has learned a pattern that works equally well everywhere.
  4. It may have fitted accidental training details too closely.
Show answerHide answer
Answer: D
The large training–test gap suggests overfitting: familiar details work well in training but fail on new inputs. More rounds of the same training can strengthen that problem instead of fixing it. Varied data, simpler models, or earlier stopping can help the model learn a more useful pattern.

Question 4 of 10

One sensor reading is much larger than the rest. What should the team do before deleting it?
  1. Delete it because unusual readings always weaken a model.
  2. Check whether it is an error or a genuine unusual event.
  3. Copy it many times because unusual readings always help.
  4. Relabel it to match the most common reading in the set.
Show answerHide answer
Answer: B
An unusual value is an outlier, but its cause needs investigation. A faulty reading may need removal, while a genuine rare event may be important to learn. Deleting all unusual values can remove the exact examples needed for difficult real situations.

Question 5 of 10

A bottle classifier makes most mistakes on crushed bottles. Training photos mainly show undamaged ones. What new training data best targets that weakness?
  1. More undamaged bottles copied from the original photo set.
  2. The validation photos, moved into training with their labels.
  3. More undamaged bottles from the same camera and background.
  4. New labeled crushed-bottle photos across both intended classes.
Show answerHide answer
Answer: D
New crushed-bottle examples directly address the condition where errors occur, and both classes remain represented. Moving validation photos into training would compromise that comparison by making its examples familiar. More undamaged images leave the observed shape variation largely unlearned.

Question 6 of 10

A leaf classifier was trained to output oak or maple. It has no birch class and receives a birch photo. What important limitation does this reveal?
  1. It has a birch label because every tree belongs to a class.
  2. It will add a birch class automatically during prediction.
  3. It cannot choose birch among its trained output classes.
  4. It must correctly reject the photo without prior training.
Show answerHide answer
Answer: C
The classifier can choose only from oak and maple, so its output classes omit the correct answer. Making a prediction does not create a trained birch class. This is the zero problem: the intended category and examples must be added if birch recognition is needed.

Question 7 of 10

A museum groups visitors by similar exhibit-viewing patterns. It has not assigned visitor-type labels. Who decides whether a discovered group deserves a name such as “history fans”?
  1. People interpret the patterns and judge a useful name.
  2. The algorithm reads a correct label attached to each visitor.
  3. The test labels supply the official meaning of each group.
  4. A higher training score establishes the group’s human meaning.
Show answerHide answer
Answer: A
Clustering can find similar patterns without knowing what a group means. People examine the features and decide whether a name and grouping are useful. No correct visitor-type labels were supplied here, so interpreting the groups is different from copying known class names.

Question 8 of 10

A delivery camera is used by day and night, but all its training and test pictures were taken at noon. What does a high test score leave unclear?
  1. How often its noon labels agree with its own training labels.
  2. How well the model handles nighttime delivery pictures.
  3. How many noon photographs belong to the available classes.
  4. How much its noon accuracy exceeds its training accuracy.
Show answerHide answer
Answer: B
The test covers only noon conditions, so it provides little evidence about night use. Keeping test photos separate is useful, but separation alone does not make their conditions representative. The team needs nighttime examples and checks that match where the model will be used.

Question 9 of 10

A team repeatedly chooses model changes using a 60-photo validation set and reaches 95%. It then gets 48 of 60 untouched test photos right, including many low-light errors. What should its report say?
  1. 95% on final test data, with low-light performance a limit.
  2. 87.5% final accuracy, averaging development and test scores.
  3. 80% on final test data, with low-light performance a limit.
  4. 80% final accuracy, with performance established for all lighting.
Show answerHide answer
Answer: C
The untouched test gives 48 divided by 60, or 80%, and its errors reveal a low-light limitation. The validation score guided choices, so it should not replace or be averaged into the final test result. Reporting the test score without the observed weak condition would leave users missing useful context.

Question 10 of 10

A club’s old selection records consistently favored students from one neighborhood. A model trained on those records repeats the pattern. The team removes neighborhood names, but routes to school reveal the same location information. What is the best explanation?
  1. Removing the field fixes the target; the remaining pattern needs no review.
  2. Routes describe travel only, so they cannot carry a location-linked pattern.
  3. Accurately copying records makes past favoritism safe to learn from.
  4. Past unfair decisions remain learnable through related features.
Show answerHide answer
Answer: D
The labels preserve past unfair decisions, and routes can act as related location clues after neighborhood names are removed. Both the target learned and the remaining features need review. Accurate copying of records does not erase unfairness in what those records represent.
Set 2: Recognize systems and apply a learned model10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A phone turns a spoken sentence into written words. What is the output of this AI task?
  1. The recording captured by the microphone.
  2. The written version of the sentence.
  3. The sound waves reaching the microphone.
  4. The speech examples used during training.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A game character attacks whenever the player comes within a distance chosen by its programmer. It never trains on examples. What approach controls this action?
  1. A learned category from labeled recordings.
  2. A cluster found among unlabeled recordings.
  3. A generated reply based on likely next tokens.
  4. A rule-based decision written by a person.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A recycling project stores each object’s mass and a checked tag saying “metal” or “plastic.” What is the mass in this data?
  1. A feature describing the object.
  2. A label giving the correct class.
  3. A model learned from the objects.
  4. A prediction made after training.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A reading app needs an exact page count and recommendations based on reading habits. How should it handle these two jobs?
  1. Learn both jobs from examples of readers’ past choices.
  2. Write fixed totals and fixed recommendations for all readers.
  3. Calculate the count; learn patterns for recommendations.
  4. Learn the count; use arithmetic for recommendations.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A classifier will distinguish bicycles from scooters. Its training data contains only labeled bicycle photos. What important kind of example is missing?
  1. More labeled bicycle photos from the same collection.
  2. Labeled scooter photos from the other intended class.
  3. Unlabeled copies of the existing bicycle photographs.
  4. Predictions made from the existing bicycle photographs.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A simple sorter puts its boundary halfway between two class means. One class has measurements 1, 3, and 5; the other has 7, 9, and 11. What boundary does training produce?
  1. 3
  2. 7
  3. 6
  4. 9
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A plant classifier correctly labels 42 of 50 new test photos. What is its test accuracy?
  1. 84%
  2. 8%
  3. 42%
  4. 92%
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A toy message model flags scores of 5 or more. The words “offer” and “link” each have weight 2. A message containing both is labeled unwanted but is missed. An update adds 1 to each of those weights. What happens to that message?
  1. Its score becomes 5, so it is flagged.
  2. Its score stays 4, so it is not flagged.
  3. Its score becomes 3, so it is not flagged.
  4. Its score becomes 6, so it is flagged.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A greenhouse has past records of temperature and the number of ripe tomatoes, and wants to predict that number for new conditions. What learning approach fits these records?
  1. Unsupervised learning with temperature as a class label.
  2. Supervised learning with ripe-tomato counts as answers.
  3. Rule-based logic with ripe-tomato counts as features only.
  4. Clustering with a correct harvest label for every group.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A parcel-damage classifier trains on 98 intact and 2 damaged examples, then scores 98% on those same examples. A manager calls it ready for sorting real parcels. What evaluation would best address the weaknesses in this claim?
  1. Use new parcels of both classes and inspect damage-class errors.
  2. Use new parcels of both classes and report only pooled accuracy.
  3. Inspect both classes using the familiar training parcels already scored.
  4. Use new intact parcels and inspect their error patterns separately.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Trace bias and improve the fit of AI output10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A gesture model serves left- and right-handed users, but its training recordings come only from right-handed adults. What collection would best fill the known gap?
  1. Recordings from varied left-handed users of the service.
  2. More right-handed adult recordings from the same contributors.
  3. Copies of the clearest right-handed examples already collected.
  4. More right-handed recordings with the class labels removed.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

An image generator repeatedly shows the same group in leadership roles and another group only as assistants. What should a reviewer investigate?
  1. Whether lifelike rendering makes the depicted roles reliable and fair.
  2. Whether avoiding group names guarantees the roles are unbiased.
  3. Whether the assigned roles repeat unfair stereotypes about the groups.
  4. Whether generating more of the same pattern will make the roles fair.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A voice system is correct for 171 of 180 users in group X and 14 of 20 users in group Y. What are the two group accuracy rates?
  1. X: 85.5%; Y: 7%.
  2. X: 95%; Y: 70%.
  3. X: 95%; Y: 14%.
  4. X: 90%; Y: 10%.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Comment labelers repeatedly mark a community’s ordinary slang as insulting. A model then blocks that slang. Where did this bias enter most directly?
  1. The count of calculations the hardware ran.
  2. The division that turns scores into percentages.
  3. The separate examples saved for the final test.
  4. The human judgments used as training labels.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A caption system was correct for 81 of 90 speakers in group P and 6 of 10 in group Q. After an update, results are 87 of 90 and 4 of 10. How should a reviewer describe the change?
  1. Overall accuracy rose, while both groups improved.
  2. Overall accuracy rose, while performance for Q fell.
  3. Overall accuracy stayed the same, while Q’s rate fell.
  4. Overall accuracy fell, while P’s rate rose.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A tool creates a new sound track from a short written description. What kind of AI task is this?
  1. Generative AI producing audio content.
  2. Predictive AI assigning a known class.
  3. Rule-based math computing an exact total.
  4. Image recognition labeling a photo.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A student needs a poster explanation of soil erosion for 13-year-olds, with room for only three short points. What prompt best specifies that purpose?
  1. “Explain soil erosion fully, using as much background as you need.”
  2. “Explain soil erosion briefly for an audience you choose yourself.”
  3. “Explain soil erosion clearly, in a format you think fits best.”
  4. “Explain soil erosion to 13-year-olds in three short poster points.”
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A school predicts need for extra learning support using past spending on tutoring. Some families bought little tutoring despite high need. The model gives those students low priority. What change best addresses the cause?
  1. Collect more spending records and keep the same need measure.
  2. Hide family names while leaving spending as the target measure.
  3. Replace spending as the need measure and recheck affected students.
  4. Collect more varied tutoring prices but keep spending as need.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A speech tool averages 94% accuracy. Users with one accent report repeated errors, but the team has no separate results for them. The tool will transcribe emergency messages. What response best fits both issues?
  1. Keep pooled evaluation and review only outputs marked uncertain.
  2. Raise pooled accuracy and rely on model confidence for urgent use.
  3. Test that accent separately and require meaningful human checks.
  4. Test that accent separately but release without arranging human checks.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A tool’s draft for a club announcement uses unfamiliar words. The facts and length already fit. What follow-up most directly improves the remaining problem?
  1. “Replace unfamiliar words with everyday words for our readers.”
  2. “Add more background so every part has a fuller explanation.”
  3. “Keep the wording and produce several longer versions for us.”
  4. “Change the topic and use a different style of announcement.”
Show answerHide answer

Save this lesson to see this answer.

Set 4: Check claims and test generated code10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

What piece of text does a language model select repeatedly while generating a reply?
  1. A whole sentence, chosen as one unit of text.
  2. A whole word, never split into pieces.
  3. A complete reply from a checked answer list.
  4. A token, which may be a word or word piece.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A prompt says, “Give four ideas for a school garden sign.” The student needs a choice of possible designs. What useful job can the tool perform?
  1. Establish which design all visitors will certainly prefer.
  2. Offer alternatives for the student to compare with the purpose.
  3. Verify that every generated fact on the sign is correct.
  4. Replace the need to consider the sign’s intended readers.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A reply cites an official report. The report exists, but its figures describe adults while the reply makes a claim about children. What does the source check show?
  1. The claim is verified because an official report was cited.
  2. The report must be false because its population is different.
  3. The source exists but does not support that claim as written.
  4. The claim becomes valid when the reply sounds more cautious.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A Python function starts with total = 0, adds scores[i] for i in range(1, len(scores)), then returns total / len(scores). What does it return for [3, 9, 12]?
  1. 7
  2. 8
  3. 10.5
  4. 24
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A photo-labeling tool sometimes mistakes clouds for snow, and a student can correct each label. A school also proposes using it to decide who may join a field trip. How should the two uses be judged?
  1. Good photo accuracy is enough to support either kind of decision.
  2. Low confidence is the only risk needing review in either use.
  3. Easy photo corrections have lower stakes than access decisions.
  4. The same model means the consequences should be judged the same.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A chatbot gives an undated answer about a new local recycling rule. Its link opens a real authority page for a different district and an earlier year. What evidence is needed before using the answer?
  1. Current guidance for the cited district, applied to the student’s district.
  2. Older guidance for the right district, treated as its current rule.
  3. A current local post copying the chatbot’s answer without evidence.
  4. Current guidance from the authority for the relevant district.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A generated function should count values greater than 10. It starts at the first list position, but checks value >= 10. The only test used was [12, 15]. What next test most directly exposes the logic error?
  1. [12, 16], whose intended count is 2.
  2. [10, 11], whose intended count is 1.
  3. [5, 8], whose intended count is 0.
  4. [], whose intended count is 0.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

An AI summary gives correct dates but discusses an invention only through the views of its sellers. What additional review is needed?
  1. Check missing viewpoints and how affected people are represented.
  2. Check only whether each date appears in an official calendar.
  3. Accept the summary because its factual dates already match.
  4. Ask for a more confident tone without changing the viewpoints.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A generated function divides a list total by its length. It returns 6 for [6]. The developer claims this proves the loop includes every value and handles all inputs. What tests best challenge both parts of that claim?
  1. An empty list and another list containing only a single value.
  2. A distinct-value list and the same values placed in reversed order.
  3. A list of repeated values and a second list with a single value.
  4. An empty list and a multi-value list with different numbers.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A school’s AI model scores 90% overall, with no separate group results. Advisers can reverse its recommendations but see only its score and must decide many cases quickly. Its decisions can end a student’s support. What must improve before relying on this review?
  1. Keep the pooled score, but allow more time to read each recommendation.
  2. Provide case and group evidence, with enough time to judge before acting.
  3. Publish group scores, but keep advisers’ rapid decisions based on scores alone.
  4. Keep the current process, but record every adviser’s approval for accountability.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Judge real uses and challenge misleading claims10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A task allows AI to suggest questions for planning a report. What should an acknowledgment describe?
  1. The tool’s name alone, without the role it played in the work.
  2. The tool’s actual help and the student’s own contribution.
  3. The help the student planned to use, whether it happened or not.
  4. Only changes made after generation, leaving out the initial help.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A dramatic video has no visible glitches and no AI label. It makes a surprising claim about a school. What is the best next step before sharing it?
  1. Treat the missing AI label as confirmation of real footage.
  2. Share it with a warning because realistic clips are rarely false.
  3. Ask the account that posted it to confirm its own claim.
  4. Check the original source and the school’s known channels.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A service automates routine appointment questions while workers handle unusual cases. What effect on work does this example show?
  1. Some tasks shift to AI while the human job changes.
  2. Every task in the job has already disappeared completely.
  3. The service no longer needs people with new or different skills.
  4. Only newly created jobs can be affected by automation.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A student must choose between using AI to sort personal landscape photos and letting it settle a classmate’s complaint. Why does the complaint need a different kind of judgment?
  1. It uses words, so AI can never supply any relevant information.
  2. It is harder to type, so a longer prompt alone settles fairness.
  3. It involves people’s context, values, and possible serious harm.
  4. It concerns a classmate, so every automated output is equally safe.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Twenty posts share a principal’s real fundraising audio from last year, adding a new payment link. The school’s current notice says that campaign ended last month. All posts trace to one new account. How should you assess the new payment request?
  1. Real audio does not verify the new request; check with the school directly.
  2. Real audio and repeated posts verify the new link despite the campaign date.
  3. The old audio settles the purpose, so only the link’s appearance needs checking.
  4. The campaign once existed, so a new payment link needs no separate confirmation.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A class may use AI to suggest survey questions. A student wants to paste classmates’ named responses into a chatbot to draft the report. What plan meets the permission and privacy concerns while preserving the student’s work?
  1. Remove names and use AI for the full analysis, acknowledging it as the writer.
  2. Use AI for permitted question ideas; analyze and write the report personally.
  3. Get teacher permission for AI reporting, then upload named replies without classmates’ consent.
  4. Keep AI to ideas, but upload named responses to make those ideas more relevant.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A company replaces staff ID cards with face recognition to save a few seconds per entry. It reports high average accuracy but no group results or retention policy. What information and comparison are most important before deciding?
  1. Group accuracy and entry speed, without checking how long face data stays.
  2. Data retention and average speed, without comparing errors between groups.
  3. Group accuracy and retention, without comparing the existing ID-card option.
  4. Group errors, face-data retention, and benefits compared with ID cards.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

The IEA’s 2025 report estimated 415 TWh for all data centers in 2024 and projected about 945 TWh in 2030. An editor writes, “AI electricity use more than doubled between 2024 and 2030.” What conclusion do the figures support?
  1. AI use is projected to more than double; the all-data-center totals measure it.
  2. All-data-center use more than doubled; both numbers describe observed results.
  3. All-data-center use is projected to more than double; no AI-only total follows.
  4. All-data-center use is projected to exactly double; no AI-only total follows.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A harmful fake video targets a student. What action helps address the harm without increasing its spread?
  1. Forward the clip to every classmate so they can judge it themselves.
  2. Report the post and tell a trusted adult without forwarding it.
  3. Publicly copy the clip into a warning post so it reaches more people.
  4. Download and repost the clip with a request for the creator to stop.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A chatbot names a real 2021 report but turns its “possible future effects” into events that supposedly happened in 2025. Several blogs repeat the chatbot’s sentence. How should you assess the claim?
  1. The source’s date and forecast status do not support the claimed event.
  2. The real report and repeated blogs jointly verify the later event.
  3. A forecast becomes an observed result once later writers repeat it.
  4. The report is irrelevant to every question because it predates 2025.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

82 Key Terms, each with its definition

A

Accountability
Accountability means that people take responsibility for AI systems and provide ways to explain or question decisions.
A route to human review gives rejected applicants a way to seek accountability.
Accuracy
Accuracy is the share of predictions that match the correct labels, found by dividing correct results by all results.
The cat-and-dog model has 85% accuracy because 34 of its 40 test predictions are right.
Acknowledgment
An acknowledgment honestly records the help used to create work, such as which parts an AI tool supported.
The student’s acknowledgment says AI suggested ideas while the student researched and wrote the report.
AI bias
AI bias is a repeated pattern in which a system’s errors or decisions unfairly favor or harm some groups or outcomes.
AI bias appears when a comment filter repeatedly treats one community’s ordinary language as rude.
Algorithm
An algorithm is a clear sequence of steps for carrying out a task, such as calculating a total or training a model.
An algorithm adds scores and divides by their count to calculate the mean.
Artificial intelligence
Artificial intelligence is computing that builds systems for tasks usually linked with human thinking, such as recognizing speech.
The game’s artificial intelligence makes a guard react when the player creates a noise.
Audience
An audience is the group an output is intended for, shaping suitable word choice, examples, and depth.
Naming a younger audience helps a prompt request everyday words and familiar examples.
Automation
Automation means using a system to carry out tasks people would otherwise do, changing the work left for people.
Automation lets a chatbot handle simple questions while staff deal with difficult cases.
Automation bias
Automation bias is the tendency to trust computer output too readily, overlooking reasons to question or check it.
A reviewer shows automation bias by approving every recommendation without reading its evidence.

B

Boundary case
A boundary case is an input at the edge of a program’s intended range, useful for finding missed behavior.
An empty list is a boundary case for a function that calculates a mean.

C

Carbon emissions
Carbon emissions are releases of carbon dioxide and related carbon gases, including emissions from some electricity generation.
Powering a data center with fossil-fuel electricity contributes to carbon emissions.
Class
A class is one of the categories a classifier can predict, such as walking, running, spam, or not spam.
Running is one class in a two-class movement task that sorts recordings into walking or running.
Classification
Classification is sorting inputs into named categories, such as identifying messages as spam or not spam.
Classification gives each new message a category based on its features.
Classifier
A classifier is a model that predicts a class for an input using patterns learned from labeled examples.
A bird classifier for robins and sparrows predicts robin or sparrow when it receives a garden photo.
Clustering
Clustering is an unsupervised method that places examples into groups based on how similar their features are.
Clustering puts listeners with many pop hours and few classical hours together.
Code trace
A code trace follows a program step by step, tracking values to see what the instructions actually do.
A code trace of an average function shows its loop adding only the last two scores, so the total reaches 14.
Confidence score
A confidence score expresses a model’s estimate of how certain its prediction is; it can be high for a wrong answer.
A high confidence score for a zebra labeled horse still needs checking against the picture.
Confusion matrix
A confusion matrix compares actual classes with predicted classes, showing correct results and types of mistakes.
A confusion matrix for a cat-and-dog model shows four dogs that were wrongly labeled cats.
Context
Context is information surrounding a request that helps a tool interpret the task or a word’s intended meaning.
Explaining that “bank” refers to a river supplies context for a translation.

D

Data
Data is information a computer can process, including numbers, text, images, sound, and sensor recordings.
A team collects motion data from people walking and running to train its wristband.
Data center
A data center is a facility housing computers that store and process information, including many large AI workloads.
A data center uses electricity and often cooling water while its computers run AI models.
Data quality
Data quality describes how accurate, complete, current, and suitable information is for the task it will support.
Wrong bird labels lower data quality even when the photos are clear and numerous.
Data-driven approach
A data-driven approach finds useful patterns in collected examples to help produce outputs for a task.
A data-driven approach recommends music from patterns in a listener’s past choices.
Decision boundary
A decision boundary separates regions of input values that a classifier assigns to different classes.
A movement model whose decision boundary sits at 5.5 predicts walking on one side and running on the other.
Deepfake
A deepfake is AI-generated or altered media that falsely appears to show a genuine person, place, or event.
A deepfake makes an older speech appear to announce a school closure that was never announced.

E

Example
An example is one item in a data set, such as a photo, message, or individual movement recording.
One recording of a person walking is an example in a data set of movement recordings.
Expert system
An expert system is rule-based AI that stores expert knowledge as if-then rules and applies them to a problem.
A plant-care expert system combines wet soil and yellow leaves to suggest overwatering.

F

Fact checking
Fact checking means verifying factual claims against trustworthy evidence, including the actual content of cited sources.
Fact checking finds two separate errors in a reply that gives a tower’s completion date and height.
Fairness
Fairness means giving affected people equal consideration; choosing a suitable measure requires human judgment.
A fairness review compares errors for different users and asks who bears the harm.
Feature
A feature is a measurable property of an example that a model can use, such as color, shape, or movement strength.
Movement strength is a feature used to help distinguish walking recordings from running recordings.
Feedback loop
A feedback loop occurs when a system’s decisions change the data it receives, which then reinforces those decisions.
Extra patrols produce more recorded incidents, creating a feedback loop if those records guide new patrols.

G

Generative AI
Generative AI uses learned patterns to create content such as text, images, audio, video, or computer code.
Generative AI suggests three possible titles for a student’s science poster.
GPU
A GPU is a graphics processing unit that can carry out many calculations at once, helping train large models.
A GPU handles many training calculations in parallel instead of doing them one at a time.
Group accuracy
Group accuracy is the share of correct predictions within one group, calculated using that group’s own total.
Group accuracy of 66% reveals a weakness hidden by a face-unlock system’s pooled score of 90%.

H

Hallucination
A hallucination is false or invented content a generative AI tool presents as true, such as a nonexistent reference.
An invented book title in a confident chatbot reply is a hallucination.
Human in the loop
A human in the loop is a person who reviews or approves an AI output before it takes effect and can challenge it.
A human in the loop checks evidence before accepting an AI-supported application decision.
Human judgment
Human judgment uses experience, context, values, and responsibility to decide what action fits a situation.
Human judgment is needed when weighing a serious decision’s effect on a person’s life.
Hypothesis
A hypothesis is a possible explanation that can be tested against evidence, such as the cause of repeated model errors.
For a bird camera that makes mistakes in low light, one hypothesis is that missing dusk examples explain them.

I

Image recognition
Image recognition is AI that finds patterns in image data to identify what a picture shows.
Image recognition lets a photo app find beach pictures without people labeling every photo.
Impersonation
Impersonation means pretending to be another person, including using generated writing, images, or voice to deceive others.
A cloned voice used to make a false request for money is impersonation.
Independent source
An independent source supplies evidence that does not depend on the AI reply being checked.
A tower’s official information is an independent source for checking a chatbot’s claim about the tower’s height.
Input
An input is data a system receives to work on, such as sensor readings, a picture, or typed words.
A vacuum uses distance readings as input when deciding whether to change direction.

L

Label
A label is the correct answer attached to an example for supervised learning, such as its animal class.
A checked “sparrow” label on a photo tells the training process which bird appears in it.
Large language model
A large language model, or LLM, learns from large text collections and generates text by predicting successive tokens.
A large language model builds a chatbot reply one token at a time.
Logic error
A logic error makes a program produce unintended results even though its instructions may run without an error message.
Skipping the first score creates a logic error in an average function.

M

Machine learning
Machine learning is a branch of AI in which systems learn patterns from data to improve at a task.
Machine learning lets a wristband learn from motion recordings labeled walking or running.
Method
A method is an operation belonging to a type of object in a program; its availability depends on that object’s type.
A plain Python list has no mean method, so a proposed call to one needs a documentation check.
Misinformation
Misinformation is false or misleading information that can spread through posts, messages, and generated media.
Many posts repeat the same misinformation without adding independent evidence.
Model
A model is the result of training, kept so the system can handle new inputs, usually as learned numerical patterns.
A movement wristband’s model keeps a learned boundary for making new movement predictions.
Model card
A model card is a short report explaining a model’s purpose, training data, test performance, limits, and risks.
A bird camera’s model card warns that its performance in rain has not been tested.

N

Narrow AI
Narrow AI is an AI system designed for one kind of task, without general human abilities across other tasks.
A chess program is narrow AI: its skill at chess does not let it identify an animal.
Non-example
A non-example is an input outside a target class that helps a model learn what does not belong to that class.
A bicycle photo is a non-example for a classifier learning to recognize cats.

O

Outlier
An outlier is a data point very different from the others; it may be a recording error or a genuine unusual case.
A very high motion reading is an outlier the team checks before deciding whether to keep it.
Output
An output is a result a system produces, such as a label, decision, recommendation, or piece of generated text.
The image-recognition system gives “cat” as its output for a photograph.
Overfitting
Overfitting happens when a model fits training details too closely and performs poorly on unfamiliar examples.
A large gap between training and test accuracy is a warning sign of overfitting.
Ownership
Ownership concerns rights over data or creative work, including questions about permission for AI training and generated work.
Ownership questions arise when an image is used for model training without its creator’s agreement.

P

Percentage point
A percentage point is a unit for the difference between percentages, found by subtracting their percentage values.
Training accuracy of 99% and test accuracy of 71% differ by 28 percentage points.
Permission
Permission is agreement that an action is allowed, such as uploading another person’s photo or using AI for a task.
The student asks permission before uploading a friend’s recorded voice.
Personal data
Personal data is information about identifiable people, such as names, addresses, private photos, or health details.
Removing personal data lets a student ask for writing help without naming a classmate.
Prediction
A prediction is a trained model’s output for an input; it can describe something present or forecast something later.
The label “running” is a movement wristband’s prediction for a new movement recording.
Predictive AI
Predictive AI uses learned patterns to classify inputs or estimate outcomes, such as possible fraud or future weather.
Predictive AI flags an unusual payment for a bank’s staff to review.
Prompt
A prompt is the instruction or question given to a generative tool, including any helpful context and output requirements.
The prompt asks for a short explanation aimed at a 12-year-old reader.
Prompt refinement
Prompt refinement is adjusting a request after examining its output, using a clear instruction to address a specific problem.
Prompt refinement asks for simpler words after a reply uses unexplained technical terms.

R

Rare event
A rare event happens infrequently, so training data may contain few examples even when handling it is essential.
A person lying in the road is a rare event a driving system must still handle safely.
Representative data
Representative data reflects the range of users, examples, or conditions that a system is intended to meet.
Training on varied child voices makes the data more representative of young users.
Retraining
Retraining means training a model again, often with improved or newer examples, to change what it has learned.
Retraining on varied dusk photos helps fix a bird camera’s observed weakness with dusk scenes.
Reverse image search
A reverse image search uses a picture to find matching or related images online, helping trace its earlier uses.
A reverse image search finds a supposedly new background in an older speech.
Rule-based system
A rule-based system applies conditions and actions that people wrote in advance to decide what to do.
A rule-based system marks a message as spam when it matches a listed phrase.

S

Stand-in measure
A stand-in measure, or proxy, is a quantity used in place of what a team really wants to measure.
Past spending is a poor stand-in measure for illness when access to care has been unequal.
Stereotype
A stereotype is a fixed, oversimplified idea about a group that can be repeated in model data and generated outputs.
An image generator repeats a stereotype when it shows only one group in a professional role.
Supervised learning
Supervised learning trains a model on examples paired with correct answers so it can predict answers for new inputs.
Supervised learning can predict a house price from examples with known sale prices.

T

Terawatt-hour
A terawatt-hour, or TWh, measures energy and equals one billion kilowatt-hours; it can describe annual electricity use.
The IEA used the terawatt-hour to report annual electricity use across all data centers.
Test data
Test data is a separate collection used to measure a finished model’s performance on examples kept out of development choices.
Untouched test data gives a finished bird classifier a score of 35 correct predictions out of 40.
Token
A token is a text unit processed by a language model; it may be a whole word, word piece, or punctuation mark.
The model’s next token may complete part of a word instead of adding a whole new word.
Training
Training is the process in which a learning algorithm uses examples to produce or change a model.
During training, a spam model changes its word weights after incorrect predictions.
Training data
Training data is the collection of examples a learning algorithm uses to find patterns and build a model.
The team keeps training data apart from photos reserved for a final performance test.

U

Unsupervised learning
Unsupervised learning finds structure in data without supplied answer labels, such as groups with similar features.
A music service uses unsupervised learning to discover groups with similar listening habits.

V

Validation set
A validation set is separate data used to check and compare changes while a model is being developed.
Using the same validation set lets a team compare a bird model before and after retraining.
Validity
Validity here means that output is accurate and suitable for the task, audience, location, and purpose.
A correct answer about another country’s school rules can lack validity for a local question.

W

Watermark
A watermark is a visible or hidden marker that can identify content as AI-generated, though it may be missing or removed.
An absent watermark cannot establish that a shared video is genuine.
Weight
A weight is a number in a model that controls how much a feature contributes to its calculation or prediction.
Increasing the weight for “click” can raise a message’s score in a spam model.

Z

Zero problem
The zero problem is a complete absence of training examples for an intended class, leaving a gap in what a classifier learns.
No zebra examples create a zero problem for a classifier intended to recognize zebras.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started