Computer programming Teacher Resources

Find Computer programming lesson plans and worksheets
Showing 1,037 resources
Instructional Video4:19
Khan Academy

Terrific Text: Part One, Computer Programming

For Students 6th - Higher Ed
A program that says, "Hello world," is considered a classic in computer programming. Have your young coders join the ranks of the many others who have created one of these programs. Of course, putting one's flare on a classic is always...
Instructional Video3:52
Khan Academy

Intro to Variables, Computer Programming

For Students 5th - Higher Ed
What are variables, and why do I need them? These are the questions answered in this basic computer programming video. The author stresses the importance of how the equal sign used in math class has a different meaning than the equal...
Instructional Video5:22
Khan Academy

Looping Through Arrays, Computer Programming

For Students 6th - Higher Ed
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.
Lesson Plan
Curated OER

Alice Computer Programming

For Teachers 6th - 8th
Learners explore multimedia components. In this science inquiry lesson, students read "Invitation to the Game" by Monica Hughes and they use the Alice Computer Programming System to better understand population dynamics.
Instructional Video2:01
Khan Academy

What is Programming?, Intro to JS: Drawing and Animation, Computer Programming

For Students 5th - Higher Ed
It's time to unleash your class's inner geek. This introductory video starts one on a path of learning to code. It is the first in a series of videos that help you learn the fundamentals of coding. The series focuses on producing art and...
Instructional Video4:29
Khan Academy

More Mouse Interaction, Computer Programming

For Students 6th - Higher Ed
Creating interactive programs can be very exciting for new computer programmers. The author shows how to use mouseIsPressed within a conditional statement to create a small JavaScript program that responds to the user's mouse press.
Instructional Video4:54
Khan Academy

Object Methods, Intro to JS: Drawing & Animation, Computer Programming

For Students 6th - Higher Ed
This video shows young programmers how to use the same concept to duplicate objects with different properties and attach functions to them. This method allows functions to be easily called with various objects.
Instructional Video5:26
Khan Academy

Intro to Objects, Computer Programming

For Students 6th - Higher Ed
When you introduce objects and object-oriented programming to your coding students, you are starting them on an important path. This introductory video shows how to replace the use of many variables with the use of a single object...
Instructional Video4:54
Khan Academy

Modifying Objects, Computer Programming

For Students 6th - Higher Ed
Similar to using variables, object properties can be changed in the program. However, you can also dynamically add new properties while the program runs. The video shows how to define an object, use an object property, change an object...
Instructional Video6:12
Khan Academy

Arrays of Objects, Intro to JS: Drawing & Animation, Computer Programming

For Students 6th - Higher Ed
Expand your beginning coder's use of objects in programs by looking at examples where you can change code to define and use objects in arrays and pass objects as parameters to a function. All of this leads to a deeper understanding of...
Instructional Video4:46
Khan Academy

Intro to While Loops, Computer Programming

For Students 6th - Higher Ed
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...
Instructional Video3:50
Khan Academy

Incrementing shortcuts, Computer Programming

For Students 6th - Higher Ed
Text messages full of abbreviations can be easier to understand once you know what the letters stand for. The same goes for reading code because computer programmers always devise ways to reduce typing. One typical line of code that...
Instructional Video4:32
Khan Academy

Function Return Values, Computer Programming

For Students 6th - Higher Ed
Functions that do calculations usually need to return a value. In this video, a function calculates and returns the total number of donuts eaten based on the years someone has been alive. Hopefully, your charges will have eaten much less...
Instructional Video4:32
Khan Academy

Logical Operators, Computer Programming

For Students 6th - Higher Ed
As the author in this video states, "Life is complex." To handle this complexity, programming languages use something called Boolean operators. In a simple JavaScript code example, this video shows how to set up a conditional statement...
Instructional Video4:45
Khan Academy

If/Else - Part 1, Computer Programming

For Students 6th - Higher Ed
Do it, or else! In conversation, this sounds like an ultimatum, but when writing code, it's a normal way to communicate with a computer. This video shows how to extend our previously used conditional if statement to include the else...
Instructional Video5:53
Khan Academy

If/Else - Part 2, Computer Programming

For Students 6th - Higher Ed
This is the second part of the introductory video on the if statement. It looks specifically at the else if clause in JavaScript code. Two examples are shown: one where the options are mutually exclusive and could have been programmed...
Instructional Video5:00
Khan Academy

Intro to Arrays, Computer Programming

For Students 6th - Higher Ed
Explore more cool programming features by learning how to use arrays in JavaScript code to tackle lists or sequences through a single variable. This video introduces arrays and specifically shows how they are defined and used.
Instructional Video7:16
Khan Academy

Object Inheritance, Intro to JS: Drawing & Animation, Computer Programming

For Students 6th - Higher Ed
There is an easier way to share functions among objects. The fifth section of a six-part series on object-oriented design introduces the concept of object inheritance. The coding helps pupils create a base object type that has all the...
Instructional Video5:06
Khan Academy

Local and Global Variables, Computer Programming

For Students 6th - Higher Ed
This video explains the difference between local and global variables in JavaScript programming without getting into the nitty gritty of variable lifetimes. Using a small coding example with a function defined, the author shows how a...
Instructional Video6:10
Khan Academy

The Power of the Docs, Intro to JS: Drawing and Animation, Computer Programming

For Students 5th - Higher Ed
While learning to code is an interesting academic pursuit in its own right, it also has other learning benefits. For one, coders learn how to learn. They continually explore, test, and draw conclusions about how certain things work. The...
Instructional Video4:23
Khan Academy

If Statements, Computer Programming

For Students 6th - Higher Ed
This video continues the Khan Academy tutorials and activities on writing code in JavaScript. Here, we are introduced to the conditional if statement. The result is a cute program that produces a bouncing ball. Your young programmers...
Instructional Video4:56
Khan Academy

Functions, Computer Programming

For Students 6th - Higher Ed
The next step in your class's development as young programmers is learning to define and use a simple function in JavaScript code. Younger students may require some additional explanations to help highlight the importance of functions....
Instructional Video5:05
Khan Academy

Function Parameters, Computer Programming

For Students 6th - Higher Ed
Learn how functions in coding are even more helpful when you can pass parameters to them. The author shows how to modify a simple JavaScript function to have two parameters that help you position a repeated drawing to the correct place...
Instructional Video6:37
Khan Academy

Booleans, Computer Programming

For Students 6th - Higher Ed
As one accumulates more life experiences, there are fewer and fewer things that are strictly one thing or another. There always seems to be some gray area or middle ground. Not so with Boolean data types! We are in a world of only two...

Other popular searches

Browse by Subject


Computer programming