Lesson 3: Exploring Problem Solving

Overview

In this lesson students apply the problem solving process to three different problems in order to better understand the value of each step. They will solve a word search, arrange seating for a birthday party, and plan a trip. The problems grow increasingly complex and poorly defined to highlight how the problem solving process is particularly helpful when tackling these types of problems. The lesson concludes with students reflecting on their experience with the problem solving process. They will justify the inclusion of each step and will brainstorm questions or strategies that can help them better define open-ended problems, as this is often the most critical step.

This lesson will likely take two class periods or more to complete. The first two problems may fit into a single class period but the third will need to be moved to a second day.

Purpose

This lesson provides students with more practice with the problem solving process in a variety of contexts. It highlights the fact that the problem solving process is particularly helpful when approaching poorly defined problems. The final brainstorm of the lesson provides students with some strategies and questions they can ask to better define problems for themselves, since this is often the most critical step. The problems seen in this lesson also help to drive a discussion in the following lesson about the types of problems that computers are well-suited to solve.

Assessment Opportunities

  1. Apply the problem solving process to approach a variety of problems

    On page 5 of the Activity Guide, check the chart to make sure that students are putting in reasonable steps for each of the problems.

  2. Assess how well-defined a problem is and use strategies to define the problem more precisely

    For the last question on page 5 of the Activity Guide, make sure that students have at least one question or strategy that would be an effective way to better define a problem.

Agenda

Warm Up (5 min)

Activity (75 min)

Wrap Up (20 min)

View on Code Studio

Objectives

Students will be able to:

  • Apply the problem solving process to approach a variety of problems
  • Assess how well-defined a problem is and use strategies to define the problem more precisely

Preparation

  • Print the activity guide for each student
  • Spend a few minutes exploring Google Maps - Website
  • Scratch paper for the Birthday Party problem
  • Poster to record strategies for defining problems in wrap up discussion

Links

Heads Up! Please make a copy of any documents you plan to share with students.

For the Teachers

For the Students

Teaching Guide

Warm Up (5 min)

Setting the Stage

Teaching Tip

Jump Right In: This lesson involves 3 separate problems and will almost certainly span at least 2 class periods. Since the point here is primarily to give students a chance to use the problem solving process, just jump right in and save the reflection and discussion for the end of the class.

Remarks

Yesterday we talked about many different types of real life problems and learned the four steps of the problem solving process. With such a wide variety of problems and strategies, it's important to be able to think critically about how best to use the problem solving process. Today we're going to look at a wide variety of problems, talk about what makes them different, and reflect on how the problem solving process helped us solve them.

Group: For all three activities students should be working together in groups, even if they record their results individually. Groups of 2-4 will likely work best.

Distribute: Hand out the activity guide, one copy for each student. For now they can be face down so that the word search isn't visible.

Activity (75 min)

Solving Problems

Teaching Tip

Integrating the Problem Solving Process: This word search can actually take several minutes, especially if students are approaching without some kind of strategy. Remind them that one step is to Prepare before they just jump in and start hunting.

Make It a Race: Making this problem a race is a good way to drive motivation and also ensure that groups don't share the locations of words once they've found them.

Key: A key showing possible solutions can be found online following the link provided above.

Once students are in pairs ask them to flip over their activity guides and begin the first challenge. They'll be finding the 8 words in a 20 by 20 grid of letters.

Circulate: Walk around the room observing how students are addressing the problem. Make sure that groups are not sharing locations of words. Encourage them to think about how making a plan might help them address this task.

Once all groups have finished, bring the class back together. Have students flip to the last page of the activity guide where there is a table to record their experiences with the problem. They will record what parts of solving this problem fall within each step of the problem solving process.

Discuss: Briefly discuss with students what parts of the activity they felt fell into each step of the problem solving process. Some possible points to make after students share are below.

  • Define: This problem was already very well defined. Not all problems will be, though.
  • Prepare: Developing a plan with a team (such as divvying up the words, splitting the grid into separate sections that each member searches in, or just being methodical about looking for words) makes this problem much easier to solve than random searching.
  • Try: Patience and persistence is important to see your plan through
  • Reflect: If your early plans are not working you can regroup and choose a new plan

Teaching Tip

Integrating the Problem Solving Process: This problem is particularly challenging if you don't Define the problem well. If you take it at face value, your job is to randomly guess and check where to put individual people until you find a solution. It is much easier if you define the problem as place groups of friends instead. Make groups of 2 or 3 you know need to be together and then figure out which groups can't be at the same table.

This isn't the only approach to the problem, and you shouldn't rush to introduce it as such. Rather, encourage students to discuss with one another what they know needs to be true at the end and whether different approaches might help.

Draw Pictures: Students will likely do better if they draw pictures. You may wish for students to use a journal or scratch paper as a place to brainstorm ideas.

Extending the Problem: If one group finishes far before others you could give them a blank sheet of paper and ask them to solve the problem again but with a new condition of your choosing (e.g. pick two people sitting at the same table in their solution and ask whether they can solve the problem now that those two people are also in a fight.)

Birthday Guests

Move the class on to the birthday guests problem. Groups may still work together on their solutions but shouldn't share with other groups.

Circulate: As before, circulate around the room noting the types of strategies that groups are using. Remind them to use the steps of the problem solving process to help them if they're getting stuck.

Once groups have finished solving the problem ask them to move to the last page of the activity guide to record how they used the problem solving process to solve this problem.

Discuss: Briefly discuss with students what parts of the activity they felt fell into each step of the problem solving process. Some possible points to make after students share are below.

  • Define: The problem seems to be a problem of seating individuals. If you instead think of it as a problem of seating groups of people who would like to be together there are many fewer possible solutions to consider.
  • Prepare: Ask students to share what types of strategies they considered before just starting to assign people to seats.
  • Try: As before, patience and persistence is important to see your plan through
  • Reflect: If early strategies are not working groups may have regrouped and tried a more structured approach

Teaching Tip

Integrating the Problem Solving Process: This problem is intentionally very open-ended and in fact has students develop the criteria they'll use to measure success. This problem does the best job of highlighting all 4 steps of the process and walks students more intentionally through the Define, Prepare, Try, and Reflect stages.

Practice with the Tool: The tool provided can be confusing to use if students haven't used it before. It is not the focus of the lesson but you will likely need a few minutes to get used to using it yourself if you want to be able to help students with it. Make sure you are comfortable generating directions both to and from the school.

When to Stop: This problem could easily take a 50 minute class period. Let students know ahead of time that there are time limits on what they're doing and encourage them to think how they would improve their route using the problem solving process if they had more time to iterate.

Plan a Trip

Students will need to work online for this problem to use Google Maps - Website or some other tool that will allow them to plan a trip.

Demonstrate: Move the class on to the Plan a Trip problem. Each member of the group will individually be developing a plan for a trip that follows criteria they'll develop as a team. Before sending groups off you'll want to demonstrate how the tool they're using will work. A good set of steps to show them might be.

  • Find your school on the map.
  • Search for something familiar to students close to the school.
  • Generate directions from the school to the other location, choosing the method of travel (walking/bus/car/etc.)
  • Highlight where the tool shows the total time of the trip

Prompt: Give students time to choose the goals they'll use to plan their trip. For example there may be certain kinds of activities they'd like to do, places they definitely want to include, people they want to visit, etc.

Circulate: Once groups have goals, they will move through the activity by developing a plan to visit the places in one school day. Give them a time limit on this part of this process, e.g. 15 minutes, to make sure they focus on the key elements on their plan rather than perfecting it. They should record key information about their plan in their activity guides.

Bring groups back together and have them share their initial plans. On the activity guides they can record the feedback their classmates give them on their plans.

Once groups have discussed what they like or don't like about their classmates' proposed plans, they can re-examine them and make improvements. Are there other things they'd like to do? Do they have new goals? Give them several minutes to make improvements to their plans before deciding on a final version.

Bring the class back together and have them record the different steps of the problem solving process that they used in their activity guides.

Discuss: Briefly discuss with students what parts of the activity they felt fell into each step of the problem solving process. Some possible points to make after students share are below.

  • Define: This problem was not well-defined. They needed to decide for themselves what a "good" itinerary looked like, and this definition could have even shifted throughout the process.
  • Prepare: Narrowing down a list of possible destinations is helpful. You may also choose to make the point that this entire activity is an example of preparation. You can't go on every possible trip and then pick the best one, so you need to do the kind of planning they're doing here.
  • Try: As before, patience and persistence is important to see your plan through
  • Reflect: In this problem reflection came primarily through feedback from peers. Some destinations might not end up being that interesting to other group members. Some trips are fun but require too much driving. Feedback is an important part of the reflect step, especially in group work.

Wrap Up (20 min)

Discussion Goal

Goal: Students have practiced using the problem solving process on a number of different problems. Help them synthesize the notes they have been keeping to better understand the role of each step and the value of the problem solving process in general. A sample set of conclusions is below but you should allow students to share your own insights before offering your own.

Define: without defining a problem you might solve the wrong problem, not know where to start, or not know when you're finished

Prepare: Even well-defined problems usually have many possible approaches. Make each try more likely to succeed by first examining your options and anticipating challenges

Try: Without trying you'll never get anywhere. It's important to be persistent and patient so long as your plan still may work

Reflect: You'll likely not solve the problem the first time or there will be a better way to solve it. Learn from your past attempts and get ready to start the process again.

The Problem Solving Process: While you may notice you're using it even for small and trivial problems, this process is incredibly useful for large, complex, poorly-defined, or open-ended problems. It helps you make progress when the way forward may not always be clear.

Understanding the Problem Solving Process

Prompt: You just solved a number of very different problems. With your tables review the notes you took on each of the problems. Be ready to report out on the following questions

  • For each step in the problem solving process, what is their purpose? Why are they included?
  • Are there any kinds of problems that the problem solving process is particularly helpful at solving?

Discuss: After tables have discussed their responses for several minutes invite the whole class to share their rationale for including each step in the process. Once each step has been discussed, move on to the second question. This question may have many responses and you should allow students to share their thoughts and experiences. If it doesn't arise naturally as you leave the conversation offer some or all of the ideas mentioned in the discussion goals.

Discussion Goal

Goal: As a final closing to the lesson, highlight the fact that defining a problem well often makes the rest of the process much easier. This brainstorm should result in a poster of questions or other kind of shared list that you can point to throughout the year to help students better define problems.

Connections: On the final project of the unit students will be asked to use some of these questions to better define a problem of their choosing. In particular they will be asked to consider:

  • Who in particular the problem affects. What specifically do they need? In what kind of situations?
  • Why the problem exists? (And why does that problem exist?) Keep asking to get to the heart of the problem.
  • How could I be able to tell the problem had been solved? What could I observe or measure?

You can add these questions to the poster at the end of the conversation if they do not naturally arise.

Prompt: The problem solving process is particularly helpful when we encounter poorly-defined problems. We saw today that without a well-defined problem the rest of the problem solving process is difficult to follow. What are some questions or strategies we can use to help us better understand and define problems before we try to solve them.

Discuss: Have groups share quickly before taking suggestions from the class as a whole and recording them on a poster. Ensure that the three strategies indicated in the discussion goal also make their way onto the poster.

Remarks

Excellent work everyone. We now understand a great deal about the problem solving process. This is going to be an incredibly useful tool that we'll use repeatedly throughout the year as we dig deeper into understanding the world of computer science.

Standards Alignment

View full course alignment

CSTA K-12 Computer Science Standards (2017)

AP - Algorithms & Programming
  • 1B-AP-08 - Compare and refine multiple algorithms for the same task and determine which is the most appropriate.
  • 1B-AP-11 - Decompose (break down) problems into smaller, manageable subproblems to facilitate the program development process.
  • 1B-AP-16 - Take on varying roles, with teacher guidance, when collaborating with peers during the design, implementation and review stages of program development.