Please enable JavaScript to use CodeHS

Hour of AI: Sorting with Decision Trees

button to let teacher start playing slides
Click to Start Lesson
Computer Science
Unplugged
Spanish
K
1st
2nd
Artificial Intelligence

Hour of AI: Sorting with Decision Trees

45min

Students will be able to explain how AI uses data to learn and make decisions and create a simple decision tree to sort items based on rules.

Prerequisites

_Computer Science_: Students should have experience interacting with technology.

Lesson Preparation

* _This is the Hour of AI version of the lesson. For the original version, see the lesson with the same title (without “Hour of AI”)._ * If time is limited, the Independent Practice section of the lesson may be omitted. * Print 1 copy of the Sorting with a Decision Tree Handout for each student. * Arrange the classroom to facilitate both group and individual activities.

Lesson Plan

Lesson Standards

Standard Description
AZ CS 1: 1.DA.IM.1 Identify patterns in data to make inferences or predictions.
AZ CS K-5: 1.DA.IM.1 Identify patterns in data to make inferences or predictions.
CA CS K-2: K-2.NI.6 Create patterns to communicate a message.
CA CS K-5: K-2.NI.6 Create patterns to communicate a message.
CO CS 2: CS.2.5.1a Students can demonstrate how to train a computer to recognize something.
CO CS 2: CS.2.5.1b Students can describe and provide examples of how people learn and how computers learn.
FL CS K-2: SC.K2.CS-CS.2.2 Solve age-appropriate problems (e.g., puzzles and logical thinking programs) with or without technology (i.e., computational thinking).
FL CS K-2: SC.K2.CS-CP.1.1 Identify different kinds of data (e.g., text, charts, graphs, numbers, pictures, audio, video, and collections of objects).
FL CS K-2: SC.K2.CS-CP.1.3 Propose a solution to a problem or question based on an analysis of the data and critical thinking, individually and collaboratively.
FL CS K-2: SC.K2.CS-PC.2.2 Communicate about technology using developmentally appropriate terminology.
FL GR1 CS Foundations: SC.1.PE.1.1 Explain that a computer program can only follow a set of instructions made by people to complete a task.
FL GR1 CS Foundations: SC.1.PE.2.3 Recognize the type of data needed to be collected and use it to solve a specific problem using models.
FL GR1 CS Foundations: SC.1.PE.3.3 Describe how data collected from models can be used to solve real-world problems.
FL GR1 CS Foundations: SC.1.TI.1.1 Discuss that individuals can use computing technology in the workplace or school to perform many important tasks and functions.
FL GR1 CS Foundations: SC.1.TI.1.2 Explore that individuals can use computing technology at home to perform many important tasks and functions.
FL GR1 CS Foundations: SC.1.TI.1.3 Explore Artificial Intelligence (AI)-powered devices.
FL GR2 CS Foundations: SC.2.PE.2.1 Collect data using a variety of computing methods.
FL GR2 CS Foundations: SC.2.PE.2.2 Explore dividing a collection of data or objects into like groups.
FL GR2 CS Foundations: SC.2.PE.2.3 Create data visualizations.
FL GR2 CS Foundations: SC.2.TI.1.1 Recognize that people use computing technology in the workplace or school to perform many important tasks and functions.
FL GR2 CS Foundations: SC.2.TI.1.2 Recognize that people use computing technology at home to perform many important tasks and functions.
FL GR2 CS Foundations: SC.2.TI.1.3 Identify and compare Artificial Intelligence (AI) devices to other devices.
FL GR2 CS Foundations: SC.2.TI.2.1 Evaluate if given information (written or visual) is accurate.
GA CS K-2: CSS.EL.K-2.1 Recognize that technology provides the opportunity to enhance relevance, increase confidence, offer authentic choice, and produce positive impacts in learning.
GA CS K-2: CSS.CT.K-2.5.2 Identify patterns.
GA CS K-2: CSS.DA.K-2.9.1 Understand that technology is everywhere and changes our lives
ID CS K-2: K-2.CT.2.1 Classify and sort information into useful order without using a computer (e.g. sorting objects by various attributes).
IL K-2: K-2.ET.E Create new or original work by applying emerging technologies.
KY CS K-5: E-DA-03 Analyze data for trends and relationships
MA DLCS K-2: K-2.CT.a.1 List the attributes of a common object, for example, cars have a color, type (e.g., pickup, van, sedan), number of seats, etc.
MA DLCS K-2: K-2.CT.c.1 Identify different kinds of information (e.g., text, charts, graphs, numbers, pictures, audio, video, collections of objects.)
NJ CS K-2: 8.1.2.DA.3 Identify and describe patterns in data visualizations.
NV CS 1: 1.AP.V.1 Model the way programs store and manipulate data by using numbers or other symbols to represent information.
NY CS 2-3: 2-3.IC.5 Identify and discuss how computers are programmed to make decisions without direct human input in daily life. 
NY CS K-1: K-1.CT.1 Identify and describe one or more patterns (found in nature or designed), and examine the patterns to find similarities and make predictions.
NY CS K-1: K-1.CT.2 Identify different kinds of data that can be collected from everyday life.
NY CS K-6: K-1.CT.1 Identify and describe one or more patterns (found in nature or designed), and examine the patterns to find similarities and make predictions.
NY CS K-6: K-1.CT.2 Identify different kinds of data that can be collected from everyday life.
OH CS 1: AI.P.1.b With guidance and support, use intelligent agents to help answer simple questions.
OH CS 1: AI.RR.1.a Use a decision tree to make a decision.
OH CS 2: AI.RR.2.a With guidance and support, create a simple decision tree (conditionals) to create a pathway for decisions
OH CS K: AI.P.K.b With guidance and support, access intelligent agents to demonstrate how they work.
OH CS K: AI.RR.K.a With guidance and support, use a simple decision tree to make a decision to visually and explicitly represent decisions and decision-making.
RI CS 1B: 1B-DA-IM-1 Use data to highlight or propose cause-and-effect relationships, predict outcomes, or communicate an idea.
RI CS K-5: 1B-DA-IM-1 Use data to highlight or propose cause-and-effect relationships, predict outcomes, or communicate an idea.
Texas 1 Technology Applications: 1.1.B Identify the simple patterns found in the solutions to everyday problems or tasks.
TN CS 1: 1.DA.2 Organize data using similarities and differences.
TN CS K-5: AIT.7 Infer and predict or propose relationships with data.
TN CS K-5 2022: 1.DA.2 Organize data using similarities and differences.
TN CS K-5 2022: 3.DA.1 Use data to highlight or propose cause-and-effect relationships, predict outcomes, or communicate an idea.
TX K-5 CS: 1.1.B Identify the simple patterns found in the solutions to everyday problems or tasks.
WI CS K-2: AP1.a.3.e Categorize a group of items based on the attributes of actions of each item, with or without a computing device.
WI CS K-2: DA2.b.1.e Sort objects into buckets, recognizing relevant and/or irrelevant data (e.g., one of these things is not like the other).
WI CS K-2: IC2.c.1.e Work with others as co- learners to solve a problem or reach a goal.

Rate this lesson plan