Pictures Made of Numbers: Pixels, Run-Length Codes and RGB Colors
Students turn binary rows into a pixel picture, shorten rows with run-length codes, read red-green-blue color values and calculate how much storage a small image needs.
THE LESSON LIBRARY
Find a lesson that fits your subject, your students, and the time you have.
Students turn binary rows into a pixel picture, shorten rows with run-length codes, read red-green-blue color values and calculate how much storage a small image needs.
Students act as the computer, tracing robot programs on a 5 by 5 grid, fixing a bug, and writing their own step-by-step program.
Students read a short HTML page, match tags to their jobs, sketch what a browser would show, find mistakes in sample code and write simple tags of their own.
Students find patterns in number sequences, compare two ways to search a list, and sort a short list by hand.
Students search a sorted list of 15 numbers two ways, count how many checks each method needs, and discover why binary search is so fast.
Students use a provided ASCII table to turn words into numbers, decode secret messages, and connect letter codes to binary.
Students sort a short list of numbers by hand with two sorting algorithms, record every pass in a table, and compare how much work each method does.
Students read a printed spreadsheet, evaluate formulas by hand, write their own formulas, and design a small tracker on paper.
Students act as a simple machine-learning program that labels messages by comparing them with labeled examples, then discuss what can go wrong.
Students analyze three short, fictional technology scenarios, weigh benefits against risks for different people, and defend a decision with reasons.
Students complete truth tables for AND, OR and NOT, evaluate conditions with given values, and test whether two expressions are equal.
Students sort online actions into active and passive footprints, judge sample posts, and write a personal pause test for sharing online.