8th Grade · Coding
8th Grade Coding Worksheets
Middle school coding moves from blocks toward text. Students use variables, loops, conditions and functions, design algorithms, test and debug programs and build interactive projects. They also learn how data is represented inside a computer and how computing affects people and society. These eighth grade coding worksheets are free printable PDFs at easy, medium and hard levels, good for homework practice or review, many with answer keys.
- 10 worksheets
- Free PDFs
- No ads
Print 8th grade coding worksheets
10 worksheets
Trace the lists: indexes, loops and append
Coding · 6–8 · Worksheet · 1 page
Trace the loop: what is printed? (practice)
Coding · 6–8 · Worksheet · 1 page
Sorting and searching: fill in the blanks
Coding · 7–8 · Reading · 1 page
Trace the robot: where does it stop?
Coding · Grade 8 · Logic · 1 page
Trace the variables: what is the final value? (warm-up)
Coding · Grade 8 · Worksheet · 1 page
Debug the robot: find the wrong arrow (practice)
Coding · Grade 8 · Logic · 1 page
Pigpen code: data types
Coding · Grade 8 · Puzzle · 1 page
Robot route: collect 2 gems
Coding · Grade 8 · Logic · 1 page
Debugging like a pro crossword
Coding · Grade 8 · Puzzle · 1 page
Objects and classes word search: 14 words
Coding · Grade 8 · Puzzle · 1 page
Guide for grown-ups
- How to start homeschooling: a step-by-step guide for familiesA guide for parents · 7 min read