Exercises: While Loops

Premium Lesson

This is a premium course. To view and assign premium course, you must upgrade your account

Upgrade Now

Course Items

Introduction

Learn the basics of repeat structures by completing some while loop exercises

Counting Backwards

You've seen how to count forwards, how can you change it to count backwards

Iterating Through a Range

To iterate is to count up by a certain amount. You can iterate by 2's: 0,2,4,6,8... You can iterate by 1s: 0,1,2,3,4... etc

More Iteration

There are more ways to iterate than adding numbers...

Bulls-Eye

Draw a series of concentric circles using a while loop

Nested Loops

A Nested while loop is a while loop enclosed within another while loop

Rainbow Challenge

Reverse engineer this picture of a rainbow

Scaling vs Tiling

Creating a function which automatically tiles images is very helpful for game design

Exercises: While Loops Info

Track

Introduction to Programming

Account

MVCode

Rank

Hacker

Created By

jamie

Exercises: While Loops Prereqs