Khan Academy
Looping Through Arrays, Computer Programming
In computer programming, loops and arrays are made for each other. This video describes adding a while loop to print out each element in an array and then doing the same procedure using a for loop.
Khan Academy
For Loops! A New Kind of Loop, Computer Programming
Now that you are familiar with while loops let's look at a new type of loop: the for loop. This video shows the three parts of the for loop: the start, the Boolean test, the value change, and how it differs from a while loop.
Khan Academy
Intro to While Loops, Computer Programming
Repetitive tasks, like the scenes from the movie Ground Hog Day, are common in computer programs. But how exactly do you program a piece of code to repeat specific instructions? This is where the While loop comes in handy. This video...
Khan Academy
Nested For Loops, Computer Programming
A loop within a loop is called a nested loop. It expands the repeating code based on two different variables. The video shows an example of drawing an image across and down a screen.
Khan Academy
Modifying Arrays, Computer Programming
An instructional video combines arrays, loops, and mouse clicks. The author shows how to modify JavaScript code to add a balloon each time the mouse is clicked. The video also shows two different ways to add to the end of the array: one...
Khan Academy
More While Loops: Balloon Hopper
Starting with an empty computer screen for a coder can be as intimidating as a bare canvas to a painter or a blank sheet of paper to a writer. Where do you start? If you know what you are trying to build, then you just pick something and...
Crash Course
Programming Basics—Statements and Functions: Crash Course Computer Science #12
Include an informative video on programming as part of your computer science instruction. The 12th installment in the series teaches about statements and functions required to write code. Individuals learn about the IF, FOR, and...
TED-Ed
The Prison Break | Think Like A Coder, Ep 1
Break free from monotonous lessons. An engaging video introduces the computer coding series and describes the ongoing context. Robots have taken over, and the hero needs to escape from prison and save the world by solving a set of clues....
TED-Ed
The Artists | Think Like A Coder, Ep 5
Create a diversion! Continuing the quest to save the world, the hero of the series needs to find an artifact inside a tower. To distract the guards, she programs a robot to vandalize some artwork. Viewers learn how to apply loops and...
TED-Ed
The Train Heist | Think Like A Coder, Ep 4
Robots come in handy when planning a train heist. The hero and her robot continue their quest to find artifacts to save the world. They must locate and steal the Node of Power on a specific car of a train by writing computer code for the...
TED-Ed
The Furnace Bots | Think Like A Coder, Ep 3
It's time to defeat the army of furnace bots. Continuing from the previous episode, the hero of the story must locate and take over the zero bot that controls all of the other furnace bots. Viewers see how writing a program that involves...
Crash Course
Crash Course Computer Science #12: Programming Basics: Statements and Functions
Learn about basic computer programming including statements and functions. We will start our overview of the fundamental building blocks of programming languages by creating small programs for our own video game to show how statements...
Other
Codecademy: Intro to Programming: Loops
Loops are a fundamental concept in computer science. Here's an explainer on how they work, with the help of our favorite dessert. [1:41]
Code.org
Code.org: Mark Zuckerburg Teaches Repeat Loops
Mark Zuckerburg teaches about repeat loops. [0:36]
Khan Academy
Khan Academy: Intro to While Loops
Sophia shows how to repeat code in your program, using while loops. [4:45]
Khan Academy
Khan Academy: Python Programming: Writing a Simple Factorial Program. (Python 2)
A video lecture showing how to write a simple factorial program with a "for" loop in python. [8:08]
PBS
Pbs Learning Media: Crash Course Computer Science: Programming Basics: Statements & Functions
Today, Carrie Anne is going to start our overview of the fundamental building blocks of programming languages. We'll start by creating small programs for our very own video game to show how statements and functions work. We aren't going...
Code.org
Code Studio: Unplugged: My Loopy Robotic Friends
Make your programs more shorter using loops. [1:08]