Artificial Intelligence
Advanced
40 mins
Teacher/Student led
+75 XP
What you need:
Chromebook/Laptop/PC or iPad/Tablet

How AI Works

In this lesson, you'll uncover the basics of artificial intelligence in simple terms. Explore how computers 'learn' through data and patterns, without needing maths or coding skills. By the end, you'll grasp AI's core ideas and real-world impact.
Learning Goals Learning Outcomes Teacher Notes

Teacher Class Feed

Load previous activity

    1 - Introduction

    In this lesson, you will explore the fundamental principles of artificial intelligence (AI) in straightforward terms. You will examine what it means for a computer to 'learn', without requiring any mathematical or programming knowledge. By the conclusion of this lesson, you will have a clear understanding of the core concepts of AI and be able to consider its implications in the real world.

    We will begin with the essentials: What does it mean for a computer to 'learn'? In contrast to humans, computers do not acquire knowledge from experiences in the identical manner. Rather, AI 'learns' by analysing numerous examples and identifying patterns within them. Consider the process of teaching a friend to identify various fruits: you present examples of apples, bananas, and oranges repeatedly until they comprehend. AI employs a comparable approach using data.

    To enhance your understanding, let us draw a parallel with human learning. Humans often learn through observation, practice, and refinement based on feedback. AI, however, relies on vast amounts of data to simulate this process.

    Prepare to explore further โ€“ this lesson will employ everyday examples to render AI concepts accessible and comprehensible.

    2 - The Power of Data

    Data forms the essential foundation of artificial intelligence. It can be compared to the fuel that powers an engine; without high-quality data, AI systems cannot function effectively. AI relies on datasets, which are extensive collections of organised information, including images, text, or numerical values, to undergo training and enhance performance.

    To illustrate, consider the process of developing an AI capable of recognising animals. This involves providing the system with thousands of labelled photographs, such as those marked as 'cat', 'dog', or 'bird'. The greater the diversity within the data, the more proficient the AI becomes in accurate identification. However, if the dataset is restrictedโ€”for instance, containing only images of white catsโ€”the AI may encounter difficulties when presented with images of black cats or other variations.

    Furthermore, the quality and quantity of data directly influence the AI's ability to generalise knowledge to new situations. High-quality data is accurate, relevant, and representative of real-world scenarios, ensuring that the AI learns robust patterns rather than misleading ones. For example, in healthcare applications, AI trained on diverse patient data can better predict diseases across different populations.

    Key Aspects of Data in AI

    • Volume: Large amounts of data allow AI to identify subtle patterns.
    • Variety: Including different types and sources prevents limitations in understanding.
    • Accuracy: Correct labelling and reliable information lead to trustworthy outcomes.
    Activity: Allocate 5 minutes to list three types of data that could be used to train an AI system: one involving images, one involving text, and one involving numbers. Explain why variety in data is important for effective AI learning.
    Remember, data is fundamental โ€“ it is the primary means by which AI acquires knowledge and improves its capabilities.

    3 - Spotting Patterns

    Once an AI system has access to data, its next crucial task is to identify patterns within that data. This process can be likened to connecting the dots in a puzzle, where the AI algorithms systematically search for similarities and recurring features, such as specific shapes, colours, or words that frequently appear together.

    To illustrate this concept, consider the way you might teach a young child to recognise different animals. You would point out distinguishing characteristics: for instance, cats typically have whiskers and long tails, whereas dogs often have floppy ears and wagging tails. An AI performs a similar analysis but on a much larger scale, processing vast amounts of data to detect these patterns and use them to make informed predictions or decisions.

    In the realm of artificial intelligence, spotting patterns is fundamental to enabling machines to 'understand' and respond to the world. For example, an AI trained to predict weather might observe that sunny days are frequently followed by clear skies with minimal rainfall, allowing it to forecast future conditions based on historical trends.

    Key Elements of Pattern Recognition in AI

    • Similarities: Identifying common features across multiple examples.
    • Repetition: Noting elements that occur frequently in the data.
    • Predictions: Using detected patterns to anticipate outcomes in new situations.
    Activity: Allocate 5 minutes to draw a simple mind map in your notebook illustrating patterns you observe in everyday life, such as in weather conditions (for example, sunny days often mean no rain). Then, explain how an AI system could utilise similar patterns to perform a useful task, such as recommending clothing based on the forecast.
    Patterns are the foundation of AI's ability to make sense of the world โ€“ they form the basis of its intelligent behaviour.

    4 - Training and Testing

    How AI Prepares for Real-World Applications

    In this section, we will examine the process by which AI systems are prepared for real-world tasks. This process consists of two primary stages: training and testing. These stages enable the AI to develop its capabilities and then evaluate its performance.

    Training: The Development Stage

    During the training stage, the AI is provided with a substantial dataset, which includes examples and corresponding correct answers. The system analyses this data to identify patterns and refine its understanding. This can be compared to studying for an examination by reviewing notes and examples repeatedly, adjusting one's knowledge based on the information encountered.

    Testing: The Evaluation Stage

    Following the training stage, the AI undergoes testing, where it is presented with new data that it has not encountered previously. This stage assesses the AI's ability to apply its learned knowledge effectively. If the performance is satisfactory, the AI is considered ready; otherwise, further training or improved data may be required. For instance, an AI designed to identify fruits would be trained on numerous images of apples and oranges, and then tested on unfamiliar images to determine its accuracy.

    Key Takeaways

    • Training: Developing knowledge from data and making adjustments to improve accuracy.
    • Testing: Evaluating performance on new data to ensure general applicability.
    • Improvement Loop: If testing reveals deficiencies, return to the training stage for refinements.
    Activity: Allocate 5 minutes to write a short paragraph explaining the difference between training and testing. Use the analogy of preparing for a sports match โ€“ training builds skills through practice, while testing evaluates performance in an actual game.
    Remember: Training establishes the foundation, while testing confirms effectiveness โ€“ together, they ensure the reliability of AI systems.

    5 - Inputs and Outputs

    Understanding Inputs and Outputs in AI

    Artificial intelligence operates much like a machine: it receives data as input and produces results as output.

    Inputs may consist of various forms of data, such as:

    • A photograph
    • A spoken question
    • A set of numerical values

    The outputs could include:

    • A classification label (e.g., identifying an object as a cat)
    • A generated response (e.g., a translated sentence)

    Everyday Example

    Consider providing a voice command to a smart speaker as an input. The resulting output might be the playback of a requested song. Behind the scenes, the AI analyses the input based on patterns it has learned during training, transforming the raw data into meaningful and useful actions.

    Why It Matters

    The effectiveness of an AI system depends on how well it processes inputs to generate accurate outputs. For example:

    • Facial recognition: Input = an image of a face โ†’ Output = identification of the individual.
    • Translation app: Input = a sentence in English โ†’ Output = the same sentence in French.

    This demonstrates the core mechanism by which AI interacts with and responds to the world. Inputs are the data provided to the AI (text, images, sounds, numbers, etc.), processing is the internal analysis where the AI applies learned patterns, and outputs are the results produced โ€” such as predictions, decisions, or generated content.

    Activity: Allocate 5 minutes to list two examples of inputs and their possible outputs for an AI application on your mobile phone (e.g., a translation tool). For each example, briefly explain how the input is processed to produce the output.
    Remember: Understanding inputs and outputs shows how AI converts data into practical and beneficial actions.

    Unlock the Full Learning Experience

    Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our Digital Skills Curriculum.

    Copyright Notice
    This lesson is copyright of Coding Ireland 2017 - 2025. Unauthorised use, copying or distribution is not allowed.
    ๐Ÿช Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more