Computer Science Principles Unit 4 Chapter 1 Optional Lesson: One-Way Functions - The Wifi Hotspot Problem

Learning Resource Type

Classroom Resource

Subject Area

Digital Literacy and Computer Science

Grade(s)

9, 10, 11, 12

Overview

In this lesson, students continue their exploration of computationally hard problems as they investigate a one-way function, a problem which is easy to construct in such a way that you know the solution, but it is computationally hard to solve. Students will begin the lesson by trying to solve the “Wireless Hotspot Problem” (also known as the vertex cover or dominating sets problem) to experience first-hand the challenge of solving it. They will then be instructed on how easy it is to create such a problem and will practice doing so themselves. In the Wrap-up, students are introduced to the concept of a one-way function and consider why such problems might be useful tools when constructing methods of encryption. If it’s easy to create a problem that is hard for a computer (or human!) to solve, then perhaps it is possible to make truly secure encryptions.

Students will be able to:
- describe the properties of a one-way function.
- construct a wireless hotspot map, starting from a solution key.
- explain why the wireless hotspot problem is a computationally hard problem.
- describe the difference between the Traveling Salesman Problem and the Wireless Hotspot Problem and why one-way functions are desirable when creating cryptographic methods.

Note: You will need to create a free account on code.org before you can view this resource.

Digital Literacy and Computer Science (2018) Grade(s): 09-12

DLCS18.HS.39

Identify a problem that cannot be solved by either humans or machines alone and discuss a solution for it by decomposing the task into sub-problems suited for a human or machine to accomplish.

UP:DLCS18.HS.39

Knowledge

Students know:
  • how to identify a problem.
  • how to decompose a problem.
  • how to identify possible solutions to a problem.

Skills

Students are able to:
  • identify a problem that cannot be solved by humans or machines alone.
  • discuss possible solutions using decomposition.
  • identify subproblems for either a human or machine to solve.

Understanding

Students understand that:
  • problems exist that cannot be solved by a human or machine alone.
  • identifying subproblems can make a complex problem easier to solve.
  • humans and machines can work together to solve complex problems.

CR Resource Type

Lesson/Unit Plan

Resource Provider

Code.org

License Type

Custom
ALSDE LOGO