Updating search results...

Search Resources

20 Results

View
Selected filters:
  • conditionals
3. Modifying Variables with Twine
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students use pair programming to trace, annotate and debug a prewritten Twine story. Students then add modifications to the existing code and extend the story.

Subject:
Algorithms and Programming
American History
Computer Science
Material Type:
Lesson Plan
Author:
CodeVA Curriculum
Jon Stapleton
Valerie Fawley
Date Added:
11/28/2023
4.5 Conditionals & Randomization Coding Practice (ECS+Python)
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson, students will explore the “Testing Random Numbers” program to learn how to generate random numbers and use if-statements to make comparisons. Then, they will create a “Roll the Dice Game” to learn how to work conditionals and random numbers. At the end, students will create a simple program applying their knowledge of randomization and conditional control structures. This lesson is part of CodeVA's ECS+Python lesson set, providing alternative units for the Exploring Computer Science curriculum covering basic Python coding concepts.

Subject:
Algorithms and Programming
Computer Science
Impacts of Computing
Material Type:
Lesson Plan
Author:
CodeVA Curriculum
Date Added:
12/05/2022
4.6 Loops & Logic Coding Practice (ECS+Python)
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson, students will implement Python programs that use “while” loops and logical operations as they consider how they might make their programs more interactive and control the flow of commands in their programs. They’ll read and modify examples, explore the new concepts through paired programming, and complete a short mini-project where they will demonstrate their new skills. This lesson is part of CodeVA's ECS+Python lesson set, providing alternative units for the Exploring Computer Science curriculum covering basic Python coding concepts.

Subject:
Algorithms and Programming
Computer Science
Impacts of Computing
Material Type:
Lesson Plan
Author:
CodeVA Curriculum
Date Added:
12/05/2022
4.7 Conditionals, Randomization & Loops Project (ECS+Python)
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson, students will implement Python programs that use “while” loops and logical operations as they consider how they might make their programs more interactive and control the flow of commands in their programs. They’ll read and modify examples, explore the new concepts through paired programming, and complete a short mini-project where they will demonstrate their new skills. This lesson is part of CodeVA's ECS+Python lesson set, providing alternative units for the Exploring Computer Science curriculum covering basic Python coding concepts.

Subject:
Algorithms and Programming
Computer Science
Material Type:
Lesson Plan
Author:
CodeVA Curriculum
Date Added:
12/05/2022
CS Fundamentals 4.10: Conditionals with Cards
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

This lesson demonstrates how conditionals can be used to tailor a program to specific information. We don’t always have all of the information we need when writing a program. Sometimes you will want to do something different in one situation than in another, even if you don't know what situation will be true when your code runs. That is where conditionals come in. Conditionals allow a computer to make a decision, based on the information that is true any time your code is run.

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Fundamentals 2019-2020
Date Added:
10/22/2019
CS Fundamentals 4.12: While Loops in Farmer
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

By the time students reach this lesson, they should already have plenty of practice using `repeat` loops, so now it's time to mix things up.

_While loops_ are loops that continue to repeat commands while a condition is met. `While` loops are used when the programmer doesn't know the exact number of times commands need to be repeated, but does know what condition needs to be true in order for the loop to continue repeating. For example, students will be working to fill holes and dig dirt in Farmer. They will not know the size of the holes or the height of the mountains of dirt, but the students will know they need to keep filling the holes and digging the dirt as long as the ground is not flat.

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Fundamentals 2019-2020
Date Added:
10/22/2019
CS Fundamentals 4.13: Until Loops in Maze
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson, students will learn about `until` loops. Students will build programs that have the main character repeat actions `until` they reach their desired stopping point.

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Fundamentals 2019-2020
Date Added:
10/22/2019
CS Fundamentals 4.14: Harvesting with Conditionals
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students will practice `while` loops, `until` loops, and `if / else` statements. All of these blocks use conditionals. By practicing all three, students will learn to write complex and flexible code.

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Fundamentals 2019-2020
Date Added:
10/22/2019
CS Fundamentals 8.11: If/Else with Bee
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Up until this point students have been writing code that executes exactly the same way each time it is run - reliable, but not very flexible. In this lesson, your class will begin to code with conditionals, allowing them to write code that functions differently depending on the specific conditions the program encounters.

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Fundamentals 2019-2020
Date Added:
10/22/2019
CS Fundamentals 8.12: While Loops with the Farmer
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

By the time students reach this lesson, they should already have plenty of practice using `repeat` loops, so now it's time to mix things up.

_While loops_ are loops that continue to repeat commands while a condition is met. `While` loops are used when the programmer doesn't know the exact number of times commands need to be repeated, but does know what condition needs to be true in order for the loop to continue repeating. For example, students will be working to fill holes and dig dirt in Farmer. They will not know the size of the holes or the height of the mountains of dirt, but the students will know they need to keep filling the holes and digging the dirt as long as the ground is not flat.

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Fundamentals 2019-2020
Date Added:
10/22/2019
CS Fundamentals 8.13: Conditionals in Minecraft: Voyage Aquatic
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

This lesson was originally created for the Hour of Code, alongside the Minecraft team. Students will get the chance to practice ideas that they have learned up to this point, as well as getting a sneak peek at conditionals!

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Fundamentals 2019-2020
Date Added:
10/22/2019
CS Fundamentals 8.14: Until Loops in Maze
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson, students will learn about `until` loops. Students will build programs that have the main character repeat actions `until` they reach their desired stopping point.

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Fundamentals 2019-2020
Date Added:
10/22/2019
CS Fundamentals 8.15: Harvesting with Conditionals
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students will practice `while` loops, `until` loops, and `if / else` statements. All of these blocks use conditionals. By practicing all three, students will learn to write complex and flexible code.

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Fundamentals 2019-2020
Date Added:
10/22/2019
CS Principles 2019-2020 5.10: Building an App: Color Sleuth
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

This lesson attempts to walk students through the iterative development process of building an app (basically) from scratch that involves the use of `if` statements. Following an imaginary conversation between two characters - Alexis and Michael - students follow the problem solving and program design decisions they make for each step of constructing the app. Along the way they decide when and how to break things down into functions, and of course discuss the logic necessary to make a simple game.

The last step - writing code that executes an end-of-game condition - students must do on their own. How they decide to use `if` statements to end the game will require some creativity. The suggested condition - first to score 10 points - is subtly tricky and can be written many different ways.

At the conclusion of the lesson there are three practice Create PT-style questions as well as resources explaining the connection between this lesson and the actual Create PT. Depending on how you use these materials they can easily add an additional day to this lesson.

Subject:
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Principles 2019-2020
Date Added:
10/22/2019
Introduction to Westward Expansion
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson, students engage in a historical jigsaw activity focused on westward expansion. The lesson ends with a coding project where students create “postcards” by coding with Twine, expressing the perspectives of different groups experiencing the effects of westward expansion.--

Subject:
American History
Computer Science
Cross-Curricular
Material Type:
Lesson Plan
Author:
CodeVA Curriculum
Jessica Newsome
Date Added:
11/28/2023
Micro:Bit Puzzle Box Lesson Sequence (ECS+Micro:Bit)
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson sequence, students will work in teams to learn the MakeCode and Micro:Bit Development platform. They’ll develop basic programming skills, implementing input, output, variables, and conditional control structures. At the end of the sequence, students will compete in a “puzzle box” challenge, attempting to create a puzzle using their Micro:Bit, code, and craft supplies and earning points based on how challenging their puzzle is to solve.

Subject:
Algorithms and Programming
Computer Science
Material Type:
Lesson Plan
Author:
CodeVA Curriculum
Date Added:
09/27/2023
Netflix Recommendation Program
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

This lesson is used to show how conditionals can help filter a dataset. This lesson uses python and a large csv file of Netflix Content to filter through PG-13 movies and output recommendations based on user genre choce. This lesson can be taught using any python IDE and intended to be a live programming demonstration with students. Students will then extend this concept using a dataset of their own choice or other datasets given to them to explore.

Subject:
Algorithms and Programming
Material Type:
Lesson Plan
Author:
CHRISTA VAN OLST
Date Added:
06/09/2022
Where Am I? 5 Geographic Regions of North America
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students will apply their knowledge of the characteristics of the five major regions to create if-statements. As a warm-up students will complete a table using IF statements.During student-facing project, students will:Create 2-3 additional variables within the conditions chart that will direct the flow to determine the correct region.Record responses provided by their partner on an excel spreadsheet.Students will use responses provided to draw a conclusion of which region their partner is “located”. 

Subject:
Algorithms and Programming
Computer Science
Data and Analysis
Material Type:
Lesson Plan
Author:
CodeVA Curriculum
Jessica Newsome
Date Added:
11/30/2022