Lesson Plan
Code.org

The Need for DNS

For Teachers 9th - 12th
That's one complicated address book! To understand the need for a system that keeps track of addresses, pupils trying to find the IP address of their classmates. Then individuals change their IP addresses, which leads to research...
Lesson Plan
Code.org

Encoding Color Images

For Teachers 9th - 12th
Color me green. The fourth lesson in a unit of 15 introduces the class to color images and how to encode color images using binary code and hexadecimal numbers — and they will quickly notice that it is easier to code the...
Lesson Plan
Code.org

Introduction to Conditional Logic

For Teachers 9th - 12th
On one condition ... explore how to use conditionals within conditionals. Scholars apply conditional statements to improve upon the app they built during a previous lesson. They also learn about nested conditionals in the 11th lesson of...
Lesson Plan
Code.org

Understanding Program Flow and Logic

For Teachers 9th - 12th
Explore decision-making logic in programming computer games. The 10th installment of a 21-part unit teaches scholars how to apply conditional statements and Boolean expressions. They use these concepts to create a "Guess My Number" game...
Lesson Plan
Code.org

Introduction to Digital Assistant Project

For Students 9th - 12th
How does a computer recognize voice commands? Scholars learn about digital assistants and natural language processing (NLP) algorithms in the ninth lesson plan of the series. They begin building a simple digital assistant and work on...
Lesson Plan
Code.org

User Input and Strings

For Teachers 9th - 12th
Pupils learn to apply strings in computer science. They master two new user interface elements and also use string type data to represent ASCII characters. Finally, individuals create an app for Mad Libs in the eighth lesson of the series.
Lesson Plan
Code.org

Using Variables in Apps

For Teachers 9th - 12th
Investigate the benefits of using global variables. The seventh installment of a 21-part unit continues the study of variables from the previous lesson. Young computer scientists modify two existing apps by adding variables and learn how...
Lesson Plan
Code.org

Controlling Memory with Variables

For Teachers 9th - 12th
Not all variables are created equal. Discover how variables in computer science are different from variables in math class. Scholars learn to work with variables in computer programming by developing a mental model for how variables...
Lesson Plan
Code.org

Multi-screen Apps

For Teachers 9th - 12th
Scholars continue their study of event-driven programming by creating a multi-screen app in the fifth lesson of the series. They incorporate previously learned elements and events in the mini-project.
Lesson Plan
Code.org

Introducing Design Mode

For Teachers 9th - 12th
Move beyond buttons when designing user interfaces. In the fourth installment of a 21-part unit, young computer scientists learn to apply design mode, which gives users options for colors, fonts, etc. They learn to incorporate these...
Lesson Plan
Code.org

Practice PT - The Internet and Society

For Teachers 9th - 12th
Speaking of the Internet. The culminating lesson for the unit on the Internet challenges pupils to prepare short, two-minute speeches on an issue facing society. The pupils chose from three topics that connect the Internet and...
Lesson Plan
Code.org

Introduction to Data

For Teachers 9th - 12th
Data, data everywhere. Challenge your class to begin thinking about data, the ways people collect information, and what we can learn from this data. Class members discuss sources of data and then individuals answer questions in the...
Lesson Plan
Code.org

Encoding B and W Images

For Teachers 9th - 12th
Imagine drawing with zeros and ones. The third activity in a unit of 15 introduces the class to creating black and white images. Pairs get together to create an encoding scheme in order to make these images. They move on to a...
Lesson Plan
Code.org

HTTP and Abstraction on the Internet

For Teachers 9th - 12th
Introduce your class to the layers of abstraction of the Internet with a lesson on the HTTP protocol. Pupils review previous lessons on levels of the Internet, then investigate new high levels by examining the HTTP traffic on...
Lesson Plan
Code.org

Algorithms Detour - Minimum Spanning Tree

For Teachers 9th - 12th
This optional instructional activity introduces the class to the idea of a minimum spanning tree. The activity focuses on determining an algorithm that will find the most efficient path in a network to transfer data. 
Lesson Plan
Code.org

Practice PT - Encode an Experience

For Teachers 9th - 12th
Encoding What I did Last Summer. Class members develop a way to encode a personal experience using a top-down approach to determine components and sub-components of their experience They then pick one portion of the experience and go...
Lesson Plan
Code.org

Lossy Compression and File Formats

For Teachers 9th - 12th
I'm compressed. Groups do a rapid research of different file types to determine what kind of compression the formats use and how it works. They share their information with the rest of the class until everyone has all the information for...
Lesson Plan
Code.org

Text Compression

For Teachers 9th - 12th
The second lesson in a unit of 15 introduces pupils to text compression. The class begins with discussing how they already use text compression when sending text messages. Pairs learn more about the subject as they work to compress a...
Lesson Plan
Code.org

Bytes and File Sizes

For Teachers 9th - 12th
A bite of bits. The first lesson in a unit of 15 introduces the class to the byte. Pupils learn about other standard units for measuring file sizes, develop an understanding of relative sizes and the kind of units used to measure...
Lesson Plan
Code.org

Algorithms Detour - Shortest Path

For Teachers 9th - 12th
Young programmers investigate the Single Source Shortest Path problem by working in paris to devise their own algorithm. They then progress to using Dijkstra's Algorithm to solve the problem. 
Lesson Plan
Code.org

How Routers Learn

For Teachers 9th - 12th
Your routers don't seem to be routing correctly. To figure out why, pupils act like routers, talk to their direct connects in order to determine as much information about the simulated network as possible. As they learn more about...