Code.org
Understanding Program Flow and Logic
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...
Code.org
Event-Driven Programming and Debugging
Start programming in event-driven style. Scholars learn to place buttons on the user interface and use event handlers. They also learn to recognize errors in code and debug as necessary. This is the second lesson in the series of 21.
Code.org
Functions with Return Values
Young computer scientists explore how to use the return command in computer programing by playing Go Fish. They learn about functions that return values and then write a turtle driver app using the return function.
Beauty and Joy of Computing
Unsolvable and Undecidable Problems
Try as you might, some functions just cannot be computed. The lab introduces the class to the possibility of unsolvable problems. The fourth lesson in a series of seven begins with a logic problem, then progresses to looking at functions...
Drexel University
Learning Roomba Module 4: Sensors and Actuators
Introduce your classes to sensors and actuators in robots — specifically to the Roomba. Pupils develop programs that make Roomba utilize its different sensors.
Code.org
Looping and Simulation
Young computer scientists continue programming with while loops by creating a program to simulate coins flipping.
TryEngineering
Circuits and Boolean Expressions
Teach basic logic using Boolean operators. Young computer scientists learn about the operators NOT, AND, and OR, and how they can be expressed using Boolean notation, logic gates, or truth tables. Along the way, they learn about half...
Code.org
Image Scroller with Key Events
Discover how to embed images in lists. Scholars modify an existing app to include an image scroller in the 17th lesson of the series. They learn to refactor code and remove redundancies after modifying code.
Tutorials Point
Artificial Intelligence
You needn't take a stress pill or don a space helmet to take a tutorial in artificial intelligence. In fact, HAL might recommend the course with great enthusiasm and confidence for those seeking an introduction to AI.
Computer Science Unplugged
Treasure Hunt—Finite-State Automata
Introduce your class to the concept of finite-state automata with an activity that asks individuals to try to map their way to Treasure Island by taking different routes though an island chain. Each island has two ship sailing...
PBS
Stories of Painkiller Addiction: Learning About Opioids
Feeling high is not the only side effect of abusing prescription opioids. Middle and high schoolers learn more about specific painkillers, including Fentanyl, Oxycodone, and Clonazepam, as well as their common brand names and extensive...