Lenny.com
Explore
Create
ActivitiesNewMathEnglish Language ArtsScience & EngineeringSocial StudiesGlobal LanguagesHealth & Physical EducationSpecial EducationCounseling & Life SkillsArts & CreativityESL
Lenny.com
Lenny.com
Explore
Create
ActivitiesNewMathEnglish Language ArtsScience & EngineeringSocial StudiesGlobal LanguagesHealth & Physical EducationSpecial EducationCounseling & Life SkillsArts & CreativityESL
Lenny.com
Lenny.com

Solutions

Lenny for EducatorsLenny for SchoolsLenny for Districts

Product

ExploreSign inCreateSupportAbout

Resources

Getting startedMTSS Acceleration Program

© 2026 Lenny Learning Inc.

TermsPrivacyAccessibility
LinkedInInstagramX
Lenny
Science & EngineeringLife ScienceLiving ThingsAnimalsPlantsBody SystemsTraitsAdaptationsCellsEcosystemsHeredityGenes to TraitsCell DivisionPhysicsComparing MaterialsShapes and PropertiesMagnetsMagnetismLightSoundLight and SoundMatterStates of MatterChanges of StateMixturesPhysical and Chemical ChangeHeating and CoolingHeat and Thermal EnergyEnergyForce and MotionElectrical CircuitsAtoms and MoleculesPeriodic TableMotion in One DimensionMotion in Two DimensionsScalars and VectorsForces and Laws of MotionCircular Motion and GravityMomentum and ImpulseWork, Energy, and PowerWavesElectromagnetic WavesGeometric OpticsElectricity and MagnetismSimple Harmonic MotionThermodynamicsNuclear PhysicsEarth Science & AstronomyWeatherWater CycleRocks and MineralsFossilsEarth's FeaturesEarth's ResourcesEarth's StructureWeather and ClimateEarth EventsFossils and Geologic TimePlate TectonicsHuman ImpactsAstronomyChemistryUnits and MeasurementAtomic StructurePeriodic TrendsChemical BondingNomenclatureMolecular StructureIntermolecular ForcesThe MoleStoichiometryProperties of GasesSolutionsChemical ReactionsBalancing EquationsEnergy ChangesRates of ReactionsEquilibriumAcids and BasesQuantum ModelBiologyClassificationCell StructureThe Chemistry of LifeBiomoleculesCellular TransportCell EnergyCell Growth and DivisionDNAProtein SynthesisMeiosis and Sexual ReproductionPatterns of InheritanceMulticellular OrganismsEvolutionEcologyBiodiversityComputer ScienceAlgorithms and Computational ThinkingProgramming LanguagesComputing SystemsNetworks and InternetData AnalysisCybersecurityAI and Machine LearningSoftware Design and DevelopmentBlockchainEngineering & AIDesigning ExperimentsEngineering PracticesDesign ThinkingEngineering Design ProcessMechanical EngineeringElectrical EngineeringMaterials and StructuresCAD and 3D DesignRoboticsArtificial Intelligence BasicsVibe CodingMachine LearningAI Ethics and SocietySystems ThinkingEntrepreneurship & InnovationEntrepreneurial MindsetBusiness Idea DevelopmentBusiness Plan BasicsMarketing & Customer DiscoveryFinancial Management for Startups

Code Sparks

A four-week computer science enrichment unit for 4th graders introducing computational thinking fundamentals. Students progress from binary code and digital data representation to block-based algorithm logic, physical computing, and sensor-driven inventions with the micro:bit.

BKBecky Krug
Binary Bytes

Students explore how computers store and communicate information using electricity and binary digits (bits and bytes). Through unplugged games, secret cipher decoding, and 5x5 binary pixel art, students demystify 1s and 0s.

Algorithm Arcade

Students dive into computer programming principles including sequence, loops, and conditionals. Through unplugged bug-fixing challenges and block-based coding, students learn how to write precise instructions and debug computational logic.

Microbit Launch

Students bridge software and physical hardware using the BBC micro:bit. They explore inputs, outputs, the 5x5 LED matrix display, and tactile buttons A and B while programming interactive badges and digital dice in MakeCode.

Sensor Inventors

Students harness onboard sensors including the accelerometer, light sensor, and compass to engineer interactive physical prototypes. Working through the design process, they build, test, and showcase custom wearable step counters, digital pets, or game gadgets.

Code Sparks

A four-week computer science enrichment unit for 4th graders introducing computational thinking fundamentals. Students progress from binary code and digital data representation to block-based algorithm logic, physical computing, and sensor-driven inventions with the micro:bit.

BKBecky Krug

The BBC micro:bit has a 5×5 grid of red LED lights (25 bits total). Design an icon (a smiley, heart, sword, or alien). Shade in the squares you want lit up, then write the 5-bit binary code for each row!

Pixel Canvas (Color to Light Up)

Icon Name: __________________

Binary String for Each Row:

Row 1:

Row 2:

Row 3:

Row 4:

Row 5:

Part 5 // Think Like a Computer Scientist

If 1 bit has 2 possible states (0 or 1), and 2 bits have 4 states (00, 01, 10, 11), how many states can 3 bits have? Explain your thinking below:

Code Sparks // 4th Grade CS Enrichment Page 2 of 2

Quest 02

Debug the Glitch

Find the bug in the instructions that sent Byte straight into the lava pit!

Skill: Debugging

Quest 03

Loop Optimizer

Shrink a messy 12-line algorithm down into a clean 3-line loop.

Skill: Refactoring

Grab your Logic Maze Worksheet and grab your debugger pens! EXECUTE_MAZE()

END REPEAT

How many lines of code did you save?

Part 4 // Conditional Decision Rules (IF / ELSE)

Smart robots make real-time decisions based on sensor checks. Complete these three robot logic rules by writing the action Byte should execute:

RULE 1: Obstacle Detection

IF (sensor == "Lava Pit Ahead") THEN:

ELSE:

RULE 2: Power Management

IF (battery_level < 15%) THEN:

ELSE:

Part 5 // Bug Hunter Challenge

Byte was programmed to turn right and walk 3 steps. The programmer wrote: MOVE(3) → TURN_RIGHT(). Byte bumped into a wall! Explain the bug and write the corrected code:

Code Sparks // 4th Grade CS Enrichment Page 2 of 2

Blocks: show string, show leds, on button pressed

Mission Beta

Electronic Gaming Die

Shake the micro:bit to roll a random number from 1 to 6! Can you program custom dice dot patterns for each number?

Blocks: on shake, pick random (1 to 6), if / else

Grab your micro:bits and Mission Cards from the lab station! FLASH_HEX_FILE()

Rock-Paper-Scissors Dueler

Hardware: Shake + Logic Conditionals

MakeCode Block Recipe:

▸ on shake:

set [tool] to pick random (1 to 3)

if [tool == 1] then:

show icon (Square) // ROCK

else if [tool == 2] then:

show icon (Small Square) // PAPER

else:

show icon (Scissors)

Multiplayer Duel Rules:

Pair up with another coder. Count "3, 2, 1, Shake!" Hold your micro:bits face down, shake together, and reveal who wins the round!

BATTLE TALLY: Partner: ____________ Wins: [ ] Losses: [ ]

Lab Log // Hardware & Software Debugging Notes

What was the trickiest bug or hardware problem you encountered today, and how did you resolve it?

Code Sparks // 4th Grade CS Enrichment Page 2 of 2

Flash & Test

Download your hex code to the physical micro:bit and debug real tests.

10 Mins

Step 04

Pitch Expo

Demonstrate your working invention in a 60-second lightning demo!

15 Mins

Open your Project Blueprint worksheets and begin Step 1! LAUNCH_INVENTION()

You might also like

Big Ideas Form A Assessment

Grade 4 Assessments

A collection of fourth-grade standards-based assessments and answer keys across Science and English Language Arts.

MM

Mr. Micco

8
Sensor Inventors Slides

Sensor Inventors

Students harness onboard sensors including the accelerometer, light sensor, and compass to engineer interactive physical prototypes. Working through the design process, they build, test, and showcase custom wearable step counters, digital pets, or game gadgets.

BK

Becky Krug

2
Sense Spark Do Now

Sense Spark Do Now

A printable double-copy half-sheet Do Now prompt designed for quick retrieval practice on the five human senses. Students recall each sense and describe a vivid real-world example, with a bonus reflection prompt asking for their favorite sense and why.

C

callawayj

Black Waters Slides

Climate & Resources

A 5-lesson modular Earth and environmental science sequence for Grade 4 exploring oil spill phenomena, climographs, renewable and nonrenewable resources, regional natural hazards, and spill recovery engineering.

K

kthompson

10
Microbit Launch Slides

Microbit Launch

Students bridge software and physical hardware using the BBC micro:bit. They explore inputs, outputs, the 5x5 LED matrix display, and tactile buttons A and B while programming interactive badges and digital dice in MakeCode.

BK

Becky Krug

2
Project Blueprint Worksheet

Project Blueprint Worksheet

A two-page capstone engineering planner where 4th graders sketch their micro:bit invention, specify inputs, outputs, and variables, map out algorithm logic, log live test runs, and prepare their expo showcase pitch.

BK

Becky Krug

Magnetic Forces Slides

Magnet Mysteries

A comprehensive 4th-grade physical science sequence covering magnetic forces, poles, attraction and repulsion, and hands-on investigation of magnetic and non-magnetic materials. Students move from concrete physical testing of invisible magnetic forces to analyzing real-world applications and material properties.

Lenny Avatar
Lenny
8
Sensor Inventors Slides

Sensor Inventors Slides

A 4-slide capstone project launch presentation guiding students through micro:bit sensors (accelerometer, light level, temperature), programming with variables, and engineering an interactive prototype.

BK

Becky Krug

Body Blueprints Slides

Creature Survival

A comprehensive 4th-grade science unit investigating how physical structures, instinctual and learned behaviors, and habitat-specific adaptations enable animals to survive and thrive across Earth's diverse biomes.

Lenny Avatar
Lenny
10
Reverse Engineering Launch Slides

Everyday Inventors

An intensive GATE reverse engineering sequence for grades 3 to 5 where students deconstruct common objects, analyze their structural logic through depth and complexity lenses, and engineer next-generation improvements.

VS

Vivian Sellwood

4
Sonic Signals Slides

Wild Signals

A comprehensive two-week, 4th-grade life science unit exploring how animals send, receive, and decode signals across auditory, visual, olfactory, and vibrational sensory modes to survive. Students analyze scientific evidence, acoustic and seismic spectrograms, behavioral patterns, and engineer biomimetic communication prototypes.

CQ

Constance Quinones

19