Please enable JavaScript to use CodeHS


Coding in Science

Coding in Science is a series of independent, standalone modules that use coding to reinforce and extend students' understanding of science! As they learn major programming concepts, they will develop science-related projects that demonstrate their proficiency in both science and computer science.

Overview & Highlights

Middle School, High School
Contact Hours

Course Overview

To view the entire syllabus, click here or click to explore the full course.

Coding Gravity
[Middle or High School, 4-6 Hours] Students learn about the Universal Law of Gravity as they develop and use their own gravity simulation to explore its various effects.
Punnett Square Generator
[High School, 2-4 Hours] Students use Turtle Graphics in Python to create their own Punnett Square generator by using if/else statements, string indexing, and string methods to print the genotypes from each allele pair.
Exploring Collisions
[High School, 2-4 Hours] Students use JavaScript graphics to create their own elastic collision simulation using conservation of momentum and kinetic energy equations.
Bouncing Ball Simulation
[High School, 2-4 Hours] Students create a bouncing ball simulation in JavaScript, complete with gravity and collisions!

Offline Handouts

Demo Programs

Explore programs that your students will build throughout this course!

Course Resources

Here are a few examples of teacher resources and materials to use in the Coding in Science course

Customizable Assignments

Create and organize Assignments in any CodeHS course that you're teaching. You can even add custom assignments to pre-existing CodeHS courses.

Learn More

Actions for Teachers

Didn’t find what you were looking for? Here are a few links that might be useful to you.