# Computer Science in Context: 4th Grade

This course integrates coding into math, science, ELA, and social studies lessons for fourth grade students. It is meant to be taught approximately once a week by the general education teacher.

## Overview & Highlights

Level
Elementary School
Number of Lessons
35
4th

## Overview of Lessons

Getting Started with Coding

### Welcome to CodeHS!

Students will learn how to log in and use the CodeHS Playground.

### Introduction to Computer Science and Scratch

Students will be able to define important computer science vocabulary and create a simple program in Scratch.

### Skills Practice: Events

Students will be able to use event blocks to cause code to run.

### Skills Practice: Repeat Loops

Students will be able to use repeat loops to run a sequence of code multiple times.
Coding in Math

### Multi-digit Multiplication and Conditionals

Students will be able to use if/then conditionals to multiply multi-digit factors.

### Division and Conditionals

Students will be able to solve grade-appropriate division problems within 100 by using conditionals to program an interactive division game.

### Classifying Shapes Using Lines and Angles

Students will be able to create a program using events to categorize shapes based on the properties of their lines and angles. They will use comments to document their code.

### House Design with Area and Perimeter

Students will be able to calculate and use the area and perimeter of a room to create a house design using functions.

### Programming and Data Project

Students will be able to develop an investigative question, collect data, draw conclusions based on the data, and create an interactive program to present data visually.

### Animating Sprites with Factors

Students will be able to use factors to animate sprites with loops and wait blocks.

### Multiplying Fractions by Whole Numbers

Students will be able to create an interactive activity to show how to scale up a recipe by multiplying fractions by whole numbers.

### Naming Numbers Game

Students will be able to create an interactive game using variables and operators to read and write numbers in number form and expanded form.
Coding in Science

### Wave Generator

Students will be able to use variables and loops to draw a variety of wave patterns.

### Exploring Heat

Students will be able to use events in their program to communicate information about how heat energy from the sun affects objects on earth.

### Sensing and Responding to the Environment

Students will be able to use multiple event blocks to model how animals use their senses to respond to their environment.

### Sound Frequency & Amplitude

Students will be able to use variables to control the rate and strength of the volume and the vibrations of a speaker sprite.

### Exploring the Water Cycle

Students will explain the phases of the water cycle using broadcast message events.

### Plant and Animal Cells

Students will use broadcast events to create an interactive program about plant and animal cells.

### How We See: Light Reflection

Students will be able to create a model using conditionals to describe how light reflects to allow us to see.
Coding in ELA

### Grammar Quiz Game

Students will be able to use conditionals to create a quiz that tests the user’s understanding of standard English grammar usage.

### Creative Storytelling

Students will be able to plan and animate a story using events and sequences.

### Animating Poetry

Students will be able to break a poem into sections to understand literal and metaphorical meanings and create an animated reading of a poem in Scratch.

### Nonfiction Animated Recordings

Students will be able to use events to create a clear, animated reading of a nonfiction text.

Students will use lists in a program to create a Mad Libs game.
Coding in Social Studies

### Rights and Responsibilities

Students will be able to use variables and events to create a voting program to demonstrate the rights and responsibilities of citizens.

### Digital Vocabulary Flashcard Quiz

Students will be able to use variables and conditionals to create a vocabulary quiz that changes each time it is taken.

### State Project

Students will use events to create an interactive project detailing state-specific facts.
More Coding Lessons & Projects

### Skills Practice: Scratch Drawing Tools

Students will be able to create customized sprites and backdrops using the drawing tools and program sprites using the color sensing blocks.

### Loops

Students will be able to explain that a loop repeats one or more instructions, and use loops in Scratch.

### Variables

Students will be able to explain what a variable is and create and change the value of a variable in a program.

### Introduction to Conditionals

Students will be able to explain what a conditional is in programming and create a program that uses if/then blocks.

### Practice with Conditionals Part 1

Students will be able to explain what a conditional is in programming and create a program that uses conditionals.

### Complex Conditionals: If/Then/Else Chase the Balloon Game

Explain what an “if/then/else” conditional is and use it in a Scratch program.

### Digital Greeting Card Project

Students will be able to create a digital greeting card that uses loops and events.

### Platform Game Design

Students will be able to implement the mechanics of a platform game for a player to navigate, use keyboard events to add player movement, and use a forever loop to check and respond to game conditions. Students will debug and improve their programs.
35
Exercises
15
Offline Handouts