Prime Code Challenge: Math Encryption Project
Created bySharon Rundle
0 views0 downloads

Prime Code Challenge: Math Encryption Project

Grade 6Math40 days
5.0 (1 rating)
In the Prime Code Challenge, 6th-grade students become mathematicians and code designers, using properties of prime numbers, geometric patterns, and probability to develop a secure coding system. They explore prime factorization to create secret codes, apply number patterns to generate complex codes, and utilize mathematical operations to encode and decode messages. The project culminates in refining their coding system and assessing its reliability using probability, connecting mathematical concepts to real-world scenarios of protecting sensitive information.
Prime NumbersCode DesignPrime FactorizationAlgorithmsNumber PatternsEncryptionProbability
Want to create your own PBL Recipe?Use our AI-powered tools to design engaging project-based learning experiences for your students.
📝

Inquiry Framework

Question Framework

Driving Question

The overarching question that guides the entire project.How can we, as mathematicians and code designers, use the properties of prime numbers, geometric patterns, and probability to develop a secure and innovative coding system that protects sensitive information in real-world scenarios?

Essential Questions

Supporting questions that break down major concepts.
  • How can prime factorization be used to create a secret code?
  • How do prime and composite numbers differ, and why is this important for code security?
  • How can patterns in number sequences help us generate more complex codes?
  • In what real-world scenarios is secure coding essential?
  • How can we use mathematical operations and properties to encode and decode messages?
  • How do geometric principles, like tessellations and angles, inspire creative coding techniques?
  • How can probability help us assess the strength and reliability of our codes?

Standards & Learning Goals

Learning Goals

By the end of this project, students will be able to:
  • Understand and apply the properties of prime, composite, square, and triangular numbers.
  • Use prime factorization to design and implement a secure coding system.
  • Apply number patterns and sequences to generate complex codes.
  • Utilize mathematical operations, including brackets and arithmetic combinations, to encode and decode messages.
  • Incorporate geometric principles, such as tessellations and angle relationships, to enhance coding techniques.
  • Assess code reliability using probability.
  • Solve practical problems related to area and spatial reasoning to optimize code design.
  • Communicate mathematical reasoning and problem-solving strategies effectively.
  • Design algorithms that use rules to generate sets of numbers and identify emerging patterns.

Victorian Curriculum

VC2M6N02
Primary
identify and describe the properties of prime, composite, square and triangular numbers and use these properties to solve problems and simplify calculations (VC2M6N02)Reason: Directly addresses the use of prime numbers in code design.
VC2M6A01
Primary
recognise and use rules that generate visually growing patterns and number patterns involving rational numbers (VC2M6A01)Reason: Supports creating complex codes from patterns.
VC2M6A02
Primary
find unknown values in numerical equations involving brackets and combinations of arithmetic operations, using the properties of numbers and operations (VC2M6A02)Reason: Essential for encoding/decoding messages.
VC2M6A03
Primary
design and use algorithms involving a sequence of steps and decisions that use rules to generate sets of numbers; identify, interpret and explain emerging patterns (VC2M6A03)Reason: Central to algorithm design for codes.
VC2M6M02
Secondary
establish the formula for the area of a rectangle and use it to solve practical problems (VC2M6M02)Reason: Could be applied to optimize coding layouts or spatial aspects of code.
VC2M6M04
Secondary
identify the relationships between angles on a straight line, angles at a point and vertically opposite angles; use these to determine unknown angles, communicating reasoning (VC2M6M04)Reason: May inspire geometric coding techniques.
VC2M6SP01
Secondary
compare the parallel cross-sections of objects and recognise their relationships to right prisms (VC2M6SP01)Reason: Relates to spatial reasoning and code structure.
VC2M6SP03
Secondary
recognise and use combinations of transformations to create tessellations and other geometric patterns, using dynamic geometry software where appropriate (VC2M6SP03)Reason: Can inspire creative coding techniques using patterns.
VC2M6P01
Supporting
describe probabilities using fractions, decimals and percentages; recognise that probabilities lie on numerical scales of 0–‍1 or 0%–100%; use estimation to assign probabilities that events occur in a given context, using common fractions, percentages and decimals (VC2M6P01)Reason: Useful for assessing code reliability.

Entry Events

Events that will be used to introduce the project to students

Prime Rewards Program

A local business owner needs help creating a customer loyalty program based on prime numbers. Students explore prime factorization to develop unique customer codes and rewards, connecting math to real-world business strategies.
📚

Portfolio Activities

Portfolio Activities

These activities progressively build towards your learning goals, with each submission contributing to the student's final portfolio.
Activity 1

Prime Number Pioneers

Students will begin by exploring the definitions and properties of prime and composite numbers. They will identify prime numbers within a given range and differentiate them from composite numbers.

Steps

Here is some basic scaffolding to help students complete the activity.
1. Define prime and composite numbers.
2. List all numbers from 1 to 100.
3. Identify and highlight the prime numbers.
4. Explain why the remaining numbers are composite.

Final Product

What students will submit as the final product of the activityA chart or table that lists prime numbers up to 100 and explains the difference between prime and composite numbers with examples.

Alignment

How this activity aligns with the learning objectives & standardsAddresses VC2M6N02 by focusing on understanding and identifying prime numbers, which is fundamental for the entire project. It also introduces composite numbers and their relationship to prime numbers.
Activity 2

Factorization Masters

Students will learn how to break down composite numbers into their prime factors using factor trees and division methods. They will practice prime factorization with various numbers to understand its uniqueness.

Steps

Here is some basic scaffolding to help students complete the activity.
1. Learn how to create factor trees.
2. Practice prime factorization using factor trees for at least 10 different numbers.
3. Learn the division method for prime factorization.
4. Practice prime factorization using the division method for the same 10 numbers.

Final Product

What students will submit as the final product of the activityA collection of factor trees or division ladders showing the prime factorization of various composite numbers.

Alignment

How this activity aligns with the learning objectives & standardsFocuses on VC2M6A02 by requiring students to use mathematical operations to find factors, and VC2M6N02 by applying prime factorization to solve problems related to code creation.
Activity 3

Code Creation Algorithm

Students will develop an algorithm to generate a unique code for each customer based on prime factorization. They will assign each letter of the alphabet a number and then use prime factorization of that number to create a unique code.

Steps

Here is some basic scaffolding to help students complete the activity.
1. Assign each letter of the alphabet a number (A=1, B=2, etc.).
2. Choose a customer's name and convert each letter to its corresponding number.
3. Find the prime factorization of each number.
4. Combine the prime factors in a specific way to create a unique code.
5. Write out the algorithm clearly, explaining each step.

Final Product

What students will submit as the final product of the activityA written algorithm that explains how to generate a unique code for a customer, along with sample codes for different names.

Alignment

How this activity aligns with the learning objectives & standardsDirectly aligns with VC2M6A03, as students design an algorithm to generate a unique code based on prime factors. Also supports VC2M6N02 by using prime number properties.
Activity 4

Pattern-Based Code Expansion

Students will explore how number patterns and sequences, such as Fibonacci, can be used to generate more complex codes. They will create codes using these sequences and mathematical operations, including brackets and arithmetic combinations, to encode messages.

Steps

Here is some basic scaffolding to help students complete the activity.
1. Research different number patterns like Fibonacci, triangular numbers, etc.
2. Choose a number pattern and create a rule for generating a code based on it.
3. Incorporate arithmetic operations (addition, subtraction, multiplication, division) and brackets into the code.
4. Encode a message using the code.
5. Provide instructions on how to decode the message.

Final Product

What students will submit as the final product of the activityA detailed explanation of how number patterns and arithmetic operations can be used to generate complex codes, along with sample encoded and decoded messages.

Alignment

How this activity aligns with the learning objectives & standardsThis activity supports VC2M6A01 by having students recognize and use number patterns, and VC2M6A02 by incorporating brackets and combinations of arithmetic operations to encode and decode messages.
Activity 5

Code Refinement and Reliability Assessment

Students will refine their coding system based on feedback and testing. They will also assess the reliability of their codes using probability, determining the likelihood of code duplication or being cracked.

Steps

Here is some basic scaffolding to help students complete the activity.
1. Test the coding system with different names and inputs.
2. Gather feedback on the system's strengths and weaknesses.
3. Refine the algorithm based on the feedback.
4. Use probability to assess the likelihood of code duplication.
5. Write a report discussing the code's reliability and potential improvements.

Final Product

What students will submit as the final product of the activityA refined coding system with an assessment of its reliability, including a discussion of potential weaknesses and suggestions for improvement.

Alignment

How this activity aligns with the learning objectives & standardsThis activity builds upon the previous activities and reinforces VC2M6N02, VC2M6A01, VC2M6A02, and VC2M6A03 by applying all the learned concepts to refine and test the code system. It also introduces VC2M6P01 by assessing code reliability using probability.
🏆

Rubric & Reflection

Portfolio Rubric

Grading criteria for assessing the overall project portfolio

Prime Code Challenge Rubric

Category 1

Prime Number Fundamentals

This category assesses the student\'s ability to accurately identify and explain prime and composite numbers, which is foundational for the coding project.
Criterion 1

Prime Number Identification and Explanation

Accuracy in identifying and listing prime numbers up to 100. Clear differentiation between prime and composite numbers with relevant examples.

Exemplary
4 Points

Accurately lists and identifies all prime numbers up to 100 with clear, comprehensive explanations and examples of both prime and composite numbers.

Proficient
3 Points

Accurately lists and identifies most prime numbers up to 100 with good explanations and examples of prime and composite numbers.

Developing
2 Points

Identifies some prime numbers correctly but includes errors or omissions. Explanations of prime and composite numbers are basic and may lack clarity.

Beginning
1 Points

Struggles to identify prime numbers correctly and provides unclear or incorrect explanations of prime and composite numbers.

Category 2

Prime Factorization Techniques

This category evaluates the student\'s ability to perform prime factorization using factor trees and division methods.
Criterion 1

Prime Factorization Proficiency

Skill in creating factor trees or using division ladders to perform prime factorization. Accuracy and completeness in breaking down composite numbers.

Exemplary
4 Points

Demonstrates mastery in creating factor trees and using division ladders for prime factorization. Accurately and completely breaks down a wide variety of composite numbers with detailed steps.

Proficient
3 Points

Proficiently creates factor trees and uses division ladders for prime factorization. Accurately breaks down most composite numbers with clear steps.

Developing
2 Points

Creates factor trees and uses division ladders with some errors or omissions. Struggles to accurately break down composite numbers consistently.

Beginning
1 Points

Struggles to create factor trees or use division ladders effectively. Shows limited understanding of prime factorization.

Category 3

Code Creation Algorithm Design

This category focuses on the student\'s ability to design an algorithm for generating unique customer codes using prime factorization.
Criterion 1

Algorithm Design and Code Generation

Clarity and completeness of the algorithm for generating unique customer codes based on prime factorization. Effectiveness in producing distinct codes for different inputs.

Exemplary
4 Points

The algorithm is exceptionally clear, comprehensive, and effectively generates unique customer codes with detailed explanations and justifications for each step.

Proficient
3 Points

The algorithm is clear, complete, and effectively generates unique customer codes with good explanations for each step.

Developing
2 Points

The algorithm is somewhat unclear or incomplete, resulting in inconsistent code generation. Explanations may be vague or missing.

Beginning
1 Points

The algorithm is unclear, incomplete, and ineffective in generating unique codes. Lacks explanations and demonstrates a limited understanding of algorithm design.

Category 4

Complex Code Generation

This category assesses the student\'s ability to use number patterns and arithmetic operations to generate complex codes, including the clarity and accuracy of encoding and decoding instructions.
Criterion 1

Pattern-Based Code Complexity

Application of number patterns and arithmetic operations to generate complex codes. Clarity and accuracy of encoding and decoding instructions. Complexity and security of the generated code.

Exemplary
4 Points

Demonstrates innovative use of number patterns and arithmetic operations to generate exceptionally complex and secure codes with crystal-clear encoding and decoding instructions.

Proficient
3 Points

Effectively uses number patterns and arithmetic operations to generate complex codes with clear and accurate encoding and decoding instructions.

Developing
2 Points

Shows basic understanding of number patterns and arithmetic operations but struggles to generate truly complex codes. Encoding and decoding instructions may be unclear or contain errors.

Beginning
1 Points

Demonstrates limited understanding of number patterns and arithmetic operations. Unable to generate complex codes or provide clear encoding and decoding instructions.

Category 5

Code Reliability and Improvement

This category evaluates the student\'s ability to refine their coding system based on feedback and testing, and to assess its reliability using probability.
Criterion 1

Code Refinement and Reliability

Thoroughness in testing the coding system, incorporating feedback, and refining the algorithm. Accurate assessment of code reliability using probability, and insightful discussion of potential improvements.

Exemplary
4 Points

Conducts extremely thorough testing, incorporates feedback effectively, and significantly refines the algorithm. Provides a highly accurate assessment of code reliability using probability and offers insightful, actionable suggestions for improvement.

Proficient
3 Points

Conducts thorough testing, incorporates feedback, and refines the algorithm. Provides an accurate assessment of code reliability using probability and offers practical suggestions for improvement.

Developing
2 Points

Conducts limited testing, partially incorporates feedback, and makes some refinements to the algorithm. Assessment of code reliability is basic and suggestions for improvement are limited.

Beginning
1 Points

Conducts minimal testing, struggles to incorporate feedback, and makes few or no refinements to the algorithm. Unable to assess code reliability effectively or suggest meaningful improvements.

Reflection Prompts

End-of-project reflection questions to get students to think about their learning
Question 1

Looking back at the 'Prime Code Challenge,' what was the most surprising thing you learned about prime numbers and their use in creating codes?

Text
Required
Question 2

On a scale of 1 to 5, with 1 being 'not at all' and 5 being 'very much,' how much did you enjoy applying mathematical concepts to create a practical coding system?

Scale
Required
Question 3

Which part of the 'Prime Code Challenge' did you find most challenging?

Multiple choice
Required
Options
Designing the initial code
Refining the code based on feedback
Assessing the reliability of the code using probability
Working with number patterns and sequences
Applying geometric principles to coding
Question 4

If you could change one thing about your approach to designing the coding system, what would it be and why?

Text
Required
Question 5

How confident are you in your ability to explain the relationship between prime factorization and code security to someone else?

Scale
Required