Lesson 1: Representation Matters
45 minutes
Overview
In Chapter 1 of this unit, students learn the different representation systems that computers use to represent information. In this first lesson, students get an overview of what data is and how it is used to solve problems. Students start off with a brief discussion to come to a common understanding of data. They then split into groups and use a data set to make a series of meal recommendations for people with various criteria. Each group has the choices of meals represented in a different way (pictures, recipes, menu, nutrition) that gives an advantage for one of the recommendations. Afterward, groups compare their responses and discuss how the different representations of the meal data affected how the students were able to solve the different problems and see that the same objects can be represented in a number of different ways.
Question of the Day: How does data affect decisions we make every day?
Standards
DA - Data & Analysis
- 2-DA-07 - Represent data using multiple encoding schemes.
Agenda
Objectives
Students will be able to:
- Choose the best way to represent some information based on how it will be used.
- Provide examples of how representing data in different ways can affect its ability to solve different problems.
Preparation
- Print copies of the Meals Data resource so that each group can get one of the four pages
- Print one copy of the activity guide for each group
- Check the "Teacher's Lounge" forum for verified teachers to find additional strategies or resources shared by fellow teachers
- If you are teaching virtually, consider checking our Virtual Lesson Modifications
Links
Heads Up! Please make a copy of any documents you plan to share with students.
For the teachers
- Representation Matters - Slides
For the students
- Representation Matters - Activity Guide
Teaching Guide
Before the Lesson
Preparing for the Unit
Getting Started with Code.org: Consider watching our Getting Started with Code.org video series for an overview of how to navigate lesson plans, setup a classroom section, and other important features of the Code.org platform. Each video also has a support article if you'd prefer to read or print instructions - click here to learn more.
Setup a Classroom Section: You can use a class section in Code.org to manage your students, view their progress, and assign specific curriculum - click here to learn more.
If you are using a learning management system, there may be additional steps to sync your classes with Code.org:
- Click here for steps to setup your classes with Google Classroom
- Click Here for steps to setup your classes with Clever
Become a Verified Teacher: Lesson plans and levels have additional resources and answer keys for Verified Teachers, which is quick process that verifies your position at an educational institution. Click here to complete a form and you should have access to verified teacher resources in ~1 business day. Verified teachers also have access to the "Teacher's Lounge" section of the forums.
Get Inspired: Consider watching our Teacher Tips video playlist, featuring current CS Discoveries teachers.
Technical Requirements: For the very best experience with all Code.org content, we recommend consulting with your school or district's IT department to ensure specific sites are allowed and are not blocked. Click here to see a list of sites to unblock.
You can also find mobile and tablet support details, hardware recommendation information such as minimum Internet connection speed, smallest screen size supported, and other hardware recommendations, as well as a list of supported browsers and platforms at the same technical requirements website.
Warm Up (5 minutes)
Remarks
Today we're going to start talking about data and how it's used in computer science. Before we start, let's take a few minutes to think about what data is.
Journal
Prompt:
- What is data?
- How do you use data in your life?
- How can data help you solve problems?
Offer Encouragement: If students have a hard time getting started, remind them that this is really just a brainstorm, and they will be working on answering these questions for the entire unit. Data may have different definitions depending on context (mobile phone plan, math class, etc.). Encourage the students to think of different situations in which they have used data, and remind them that there is no one "right" answer.
Discuss: Give students a few minutes to think on their own about what data is, and then allow them to share quietly with a partner. After all students have had a chance to speak to each other, share as a whole class, writing their ideas down in the front of the classroom.
Discussion Goal: Students should understand that data is information that has been collected about the world. They should see that data could be any type of information, not just numbers.
Remarks
These are all great ideas. We're going to spend the rest of the unit looking more closely at what data is, where it comes from, and how it can help us in computer science. For now, we're going to define data as "Information that’s been collected to help us to answer a question or solve a problem."
Question of the Day: How does data affect decisions we make everyday?
Activity (35 minutes)
Group: Put students into groups of 3-5
Distribute: Give each group a copy of the activity guide and one of the four versions of the Meals Data resource. Make sure at least one group has a picture resource, one the menu resource, one group the nutrition resource, and one group the recipe resource.
Answer Keys & Exemplars: An answer key or exemplar is provided for verified teachers as part of the resources in this lesson plan. If you do not see an answer key or exemplar listed as a resource, follow these steps to become a verified teacher.
Display: Read through the instructions for this activity. Each group of students will make a meal recommendation to four different people, and they must justify their recommendation with only their group’s data. Because different groups have different data sets, the difficulty of the recommendations will vary from group to group.
Circulate: Allow students to complete the activity in their groups. Monitor conversations to ensure groups are discussing each others ideas, and making reference to the data they have.
Dealing with Frustration: Because each group will only have adequate information for one of the four recommendations, students may become frustrated that they cannot find the "right" answer. Reassure them that there's not always a "right" recommendation, and that the most important part of the exercise is for them to explain why they made their choice.
Representation Matters
Person 1
“I am allergic to eggs.”
Although the menu and pictures may help somewhat, the recipe data set is the only one that tells the students the ingredients in each meal.
Questions and Assumptions about the Given Data: During the discussion, some students may note that chilaquiles often have eggs. This is a good chance to point out that if the data about the meal was collected in a way that didn't include information about the ingredients, then they didn't have enough information and made the best decision based on the data that they had. Remind students that although it's reasonable to make certain assumptions, that only with the relevant data can they be confident in their decisions.
Person 2
“My doctor said to eat less sodium.”
Those with the nutrition data should see which meal has the lowest sodium content.
Person 3
“I’m trying to save money.”
Those with the menu data set should see prices for each meal.
Using the Data You Have: For any of these questions, students may have reasons to choose a different answer, or complain that it's not fair that they did not have all the information that they needed. Remind them that the activity is about using the data they have in a reasonable way, not necessarily getting a particular answer.
Person 4
“I want to post a nice picture of it online.”
While the recommendation for this one is more subjective, the group with the picture data set is in the best position to make an informed recommendation.
Reflection
After making the recommendations, groups should choose the recommendation that they thought was the easiest to make, and explain their reasoning.
Share-Out: When all groups have completed the worksheet, come back together as a class and ask one person from each group to share the answers and reasoning for each recommendation. As the groups share answers and reasoning, allow them to see each other's data sets.
Display: As groups share the datasets they used, use the slides to highlight their data so the entire class can see
Prompt: Now that you've seen all of the different ways we represented the four meals, think about what makes a way of representing something good or bad. Do you think any of the representations were better or worse than others? What made them better or worse?
Discuss: Allow students to reflect on their own before discussing with a partner. Ask a few partners to share with the class.
Students should understand that different representations are good for solving different problems. As they explain which representations are better or worse, make sure that they are justifying their choices within the context of particular problems they were asked to solve in the activity. They should recognize that each representation had advantages and disadvantages for different problems, and identify how the nature of each problem lent itself to a particular representation.
Remarks
When we collect information about the world, we have to make choices about what is important for us to include in our representations. The choices that we make affect what kinds of problems we can solve with our data. In the next few lessons, we'll talk about how computers represent data and how we use that data to solve problems.
Wrap Up (5 minutes)
Journal
Prompt: Today, you saw four different ways of representing a meal, and how those different representations were useful for solving different problems.
- Why were some representations more useful than others?
- If you were to create a way of representing a meal, what would be the most important things for you to think about?
Reflection
Code Studio: Have students answer 5 quick survey questions at the beginning of this unit. Once at least 5 students have completed the survey you will be able to view the anonymized results in the Teacher Dashboard. Some of these questions will be asked again at the end of the first project, which can be helpful in seeing student growth and shifts in attitudes throughout the unit.
This work is available under a Creative Commons License (CC BY-NC-SA 4.0).
If you are interested in licensing Code.org materials for commercial purposes contact us.