+
Interactive
Khan Academy

Practice: Using While Loops

For Students 6th - Higher Ed
Test your knowledge of loops with this short online quiz about using the while statement in JavaScript code. Get five questions correct in a row and you're done!
+
Interactive
Khan Academy

Project: Build-a-House

For Students 6th - Higher Ed
Start with a basic house created in JavaScript code and practice programming with loops as you add rows of windows, grass, flowers, or trees. How about some apples growing in the trees? You get the idea. Your coding students can let...
+
Interactive
Khan Academy

Challenge: Lined Paper

For Students 6th - Higher Ed
Now create your own graph paper with this JavaScript programming activity! First, change the while loop that draws horizontal lines into a for loop. Then, add another for loop that draws the vertical lines. For an added challenge,...
+
Interactive
Khan Academy

Challenge: A Loopy Ruler

For Students 6th - Higher Ed
Now try writing your first while loop! This activity guides you through creating a small JavaScript program that marks the top of the screen with a ruler. Use the while loop to write the numbers across the screen.
+
Interactive
Khan Academy

Challenge: A Loopy Landscape

For Students 6th - Higher Ed
Drawing trees and grass over and over again is the perfect time to add a while loop to your computer code. This activity guides coders through the steps as they practice using this loop. 
+
Interactive
Khan Academy

Challenge: Favorite Animals

For Students 6th - Higher Ed
I'm not scared of lions & tigers & bears; in fact, they are on my favorites list! Have your young coders practice creating arrays and using loops. First they define the array as a list of favorite animals, then print them out...
+
Lesson Plan
EngageNY

The Graph of a Function

For Teachers 9th - 10th Standards
Mathematics set notation can be represented through a computer program loop. Making the connection to a computer program loop helps pupils see the process that set notation describes. The activity allows for different types domain and...
+
Interactive
Khan Academy

Challenge: Movie Reviews

For Students 6th - Higher Ed
Create an array of objects in a JavaScript coding practice activity. Movie titles and reviews for multiple movies are collected in an array of objects and then printed out with a looping construct. 
+
App
Sprite Box

Lightbot Jr 4 Coding Puzzles

For Students 2nd - 8th
Learning how to write computer code has never been so much fun! Given control of their very own robots, children create simple programs in order to solve a series of challenges and develop their problem solving skills.
+
Lesson Plan
Ontario

Animation Programming—Computer Studies

For Teachers 7th - 10th
Introduce high schoolers interested in animation programming to fundamental programming concepts so that they can plan and write simple programs.
+
Lesson Plan
Code.org

Looping and Random Numbers

For Teachers 9th - 12th
Repetition, repetition, repetition. Get your class to efficiently repeat a section of code over and over again by introducing looping. Class members learn looping to quickly recreate objects they want to appear more than once in their...
+
App
SurfScore

Kodable

For Students K - 6th
Prepare young scholars for life in the twenty-first century with this introduction to computer coding formatted as a fun problem solving game, this resource is a great way to develop children's sequential thinking skills.
+
Lesson Plan
Code.org

While Loops

For Students 9th - 12th
Bring your pupils in the loop with while loops. Scholars learn how to modify conditional statements to produce while loops in the 14th lesson of the series. They use flowcharts to understand loops and then program some examples of loops.
+
Lesson Plan
Code.org

Looping and Simulation

For Teachers 9th - 12th
Young computer scientists continue programming with while loops by creating a program to simulate coins flipping. 
+
Lesson Plan
College Board

AP® Computer Science: A Picture Lab Student Guide

For Students 11th - 12th
How do you modify digital pictures? In this lab learners write methods that modify digital pictures. They how to traverse a two-dimensional array of integers or objects, and are introduced to nested loops, binary numbers, interfaces, and...
+
Lesson Plan
Curated OER

Error Checking Loops

For Teachers 10th - 12th
Students examine error checking loops. Students explore the use of loops to prevent erroneous data from being entered into a computer. They demonstrate when and where to use an error correcting loop. Students present the proper structure...
+
Lesson Plan
Google

Animate a Name

For Teachers 5th - 9th
What's in a name? Pupils use the Scratch code blocks to animate letters in a name. They learn about events, sequencing, and loops in computer science by taking part in the project.
+
App
Hopscotch Technologies

Daisy the Dinosaur

For Students K - 6th
Have you ever wanted to tell a tyrannosuarus rex what to do? Here's your chance! Introduce youngsters to the world of computer programming with an easy and adorable game in which a dinosaur follows your every command.
+
Lesson Plan
Google

Adventure on the High Seas

For Teachers 5th - 9th
Ahoy there! A fun computer science lesson challenges pupils to write a program that creates an ocean wave. They then develop stories to accompany their projects. All of this takes place within the Scratch coding program.
+
Activity
Beauty and Joy of Computing

Building Your Own Blocks

For Teachers 8th - 12th
Isn't building with blocks an activity for toddlers? The third lab of a five-part unit teaches young computer scientists how to create their own block instructions for programming. They use these blocks to create geometric figures, spell...
+
AP Test Prep
College Board

Team Problems in Computer Science

For Students 10th - 12th
There is no I in team. Seven team problems provide classmates the opportunity to work with a partner on a task. Projects span the course and require pupils to apply their knowledge. Tasks range from writing the algorithm in English to...
+
Interactive
Google

Mary Poppins Returns

For Students 6th - 12th
Make Mary Poppins proud. Young computer scientists use block-based coding to create snowflake animations with a Mary Poppins theme. They learn how to apply sequences, actions, and loops in computer science.
+
Lesson Plan
Google

Friends: Imaginator

For Teachers 5th - 9th
What does a future as a computer scientist look like? Pupils learn about loops in computer coding by writing a story about the future. They include the repeat until and wait blocks in the Scratch program to incorporate these loops.
+
Interactive
Code.org

Minecraft Hour of Code

For Teachers 2nd - 12th
Devote an hour to computer coding ... it's time well spent! The activity has young computer scientists write code to solve puzzles in the Minecraft game. They learn how to apply block codes and repeat loops.