TPT
Total:
$0.00

Debug Algorithm

33+ results
Preview of Intro to CS — Lesson 1.3: Algorithms and Instructions

Intro to CS — Lesson 1.3: Algorithms and Instructions

Created by
Mr. H Codes
Help students understand one of the most important foundations of computer science: algorithms. In this lesson, students learn what an algorithm is by writing clear, step-by-step instructions for real-world tasks and analyzing why precision and order matter when communicating with computers. Through hands-on examples and guided reasoning, students discover that computers follow instructions exactly and cannot “guess” intent. This lesson builds directly on Lesson 1.1 (What Is Computer Science
Preview of Python Pseudocode to Code Translation | Algorithms & Sequencing

Python Pseudocode to Code Translation | Algorithms & Sequencing

Created by
Mr. H Codes
Help students focus on thinking before typing with this Python pseudocode to code translation worksheet designed for Computer Science Principles (CSP) and introductory Python courses. This activity guides students through algorithmic thinking and sequencing by having them read pseudocode, fix step order, and translate ideas into simple Python— without emphasizing syntax perfection. It’s ideal for rebuilding confidence after a break and preparing students for tracing, debugging, and full prog
Preview of Peanut Butter and Jelly Algorithm / Sequencing Activity

Peanut Butter and Jelly Algorithm / Sequencing Activity

Teach ALGORITHMS AND SEQUENCING. Students will "code" a set of instructions, the algorithm, to help a robot, yourself, make peanut butter and jelly sandwiches. Students will create their own algorithm for the robot to use and make a sandwich. They have two tries! Usually the first try is going to messy and fun as the teacher/robot tries to follow the steps. Once they learn from their mistakes (debugging) they can try again, usually with better results. SLIDES 1 - 5 ARE TEACHER INSTRUCTIONSSLIDES
Preview of Programming Jigsaw Puzzle Activity

Programming Jigsaw Puzzle Activity

Created by
Jonathan Riley
Bring algorithms to life with this interactive, unplugged classroom activity! In this collaborative lesson, students work in groups to solve a physical puzzle — but before they start, they must write and follow their own pseudocode algorithm. As they work, they’ll experience firsthand how sequencing, selection, and iteration apply to problem-solving in computer science. Afterward, students reflect on their “debugging” process and connect their experience to real programming concepts. 🧠 St
Preview of Intro to Java Unit 3 – Arrays, ArrayLists, and Inheritance Quiz

Intro to Java Unit 3 – Arrays, ArrayLists, and Inheritance Quiz

Created by
Mr. H Codes
Java Unit 3 Quiz — Arrays, Array Algorithms, ArrayLists, Inheritance & Polymorphism (DOCX + Answer Key)Assess student understanding of core Java OOP and data-structure foundations with this clean, classroom-ready Unit 3 Quiz covering Arrays, Array Algorithms, ArrayLists, and Introductory Inheritance/Polymorphism. Designed specifically for high school Computer Science classrooms, this quiz includes multiple coding tasks, prediction problems, debugging practice, and a class-design prompt to rein
Preview of Common Coding Terms Presentation

Common Coding Terms Presentation

Presentation includes the following terms: COMMANDS, ABSTRACTION, ALGORITHMS, SEQUENCING, TRIAL AND ERROR, VARIABLES, LOOPS, CONDITIONALS, FUNCTIONS, DEBUGGING, EVENTS, and COLLABORATION! This presentation also includes a knowledge check at the end where students see if they can determine which definition is associated with which term. There are 5 questions like this at the end of the presentation. The majority of the slides go over the common coding terms students should know. I have made this
Preview of Haunted Algorithms

Haunted Algorithms

Created by
Mr. H Codes
🎃 Haunted AlgorithmsAlgorithm Design & Pseudocode Worksheet (Grades 9–12)Turn Halloween into a coding adventure with this spooky computer science worksheet! 👻 In Haunted Algorithms, students design, debug, and analyze pseudocode through creative Halloween-themed challenges like escaping a haunted maze, fixing ghost-summoning spells, and identifying “haunted” (infinite loop) code. This engaging printable activity reinforces algorithm design, logic, loops, and conditionals while adding a
Preview of Coding: Back to the Basics

Coding: Back to the Basics

Created by
Seraphim
Having problems finding a visual or presentation to help students Elementary students understand coding/programming? Look no further! This presentation explains the concepts of creating algorithms, using blockly, and debugging for K-5 students. The PPT is designed to be interpreted easily, with practice problems for students. It follows the gradual release model when helping students understand coding/programming. "Keep Calm and CODE On." - Seraphim
Preview of Code Tracing: The Map to Understanding Your Code

Code Tracing: The Map to Understanding Your Code

Created by
Franco Comp Sci
Code tracing is a fundamental skill for understanding how computer programs work. It involves following the execution of a program line by line, much like debugging a complex puzzle. By tracing code, students can: Visualize Algorithms: They can see how algorithms process data and reach solutions.Identify Errors: By stepping through code, students can pinpoint logical errors and incorrect assumptions.Develop Problem-Solving Skills: Tracing encourages students to think critically and break down co
Preview of Computer Science Flowchart Puzzles Worksheet

Computer Science Flowchart Puzzles Worksheet

Flowchart PuzzlesUnplugged Coding and Problem Solving Activity (Grades 6–8) Description:Make computational thinking visual and fun with this unplugged Flowchart Puzzles activity! Students practice reading, debugging, and completing flowcharts....no computer needed. Perfect for introducing algorithms, decision logic, and problem solving in a hands-on, engaging way. Includes:✅ Teacher Guide with vocabulary and directions ✅ 3 Printable Flowchart Puzzles ✅ Answer Key ✅ Extension Activity (Cr
Preview of TED Talk: What’s an Algorithm?- David J. Malan

TED Talk: What’s an Algorithm?- David J. Malan

This TED-Ed companion resource explores the foundational concept of algorithms and how they function in both computers and human thinking. Students will learn about loops, variables, pseudocode, efficiency, and how to test and debug simple algorithms. Ideal for high school and introductory computer science courses, this resource includes 20 discussion questions, an expanded writing prompt, and a debate topic on algorithmic decision-making in modern society. A fun and accessible entry point into
Preview of Computer Science Principles (CSP) — Lesson 1.4: Algorithms in Everyday Life

Computer Science Principles (CSP) — Lesson 1.4: Algorithms in Everyday Life

Created by
Mr. H Codes
Computer Science Principles (CSP) — Lesson 1.4: Algorithms in Everyday Life Help students understand that algorithms are clear, step-by-step instructions, not just lines of code. In this Computer Science Principles (CSP) lesson, students practice writing precise algorithms, identifying ambiguous steps, and debugging poorly written instructions using real-world tasks they already understand. This lesson builds strong algorithmic thinking skills that directly prepare students for programming l
Preview of Algorithm Adventure: How to Make a Sandwich — Unplugged Hour of Code Activity

Algorithm Adventure: How to Make a Sandwich — Unplugged Hour of Code Activity

Created by
Mr. H Codes
Algorithm Adventure: How to Make a SandwichBring Computer Science to ANY classroom with this fun, beginner-friendly unplugged Hour of Code activity! In Algorithm Adventure: How to Make a Sandwich, students learn the foundations of coding by writing, testing, and debugging a real-world algorithm—no computers or prior knowledge required. This worksheet walks students through what an algorithm is, why clear instructions matter, and how even simple tasks can become “buggy” when steps are unclear.
Preview of End of Year Silly & Serious Computer Science Awards | 30 Editable Certificates

End of Year Silly & Serious Computer Science Awards | 30 Editable Certificates

End of Year Silly & Serious Computer Science Awards | 30 Editable Certificates🔥 You get all of this for just 99¢! 💥 Celebrate your Computer Science students with a fun, polished, and easy to use end of year awards kit made for coding, programming, algorithms, debugging, problem solving, computational thinking, technology skills, digital creativity, class participation, teamwork, leadership, and student recognition. This resource includes 30 editable Computer Science award certificates, a stu
Preview of Flowchart Builder Logic Mapping

Flowchart Builder Logic Mapping

Created by
Mr. H Codes
💻 Flowchart Builder: Logic Mapping WorksheetHelp your students master problem-solving and computational thinking with this engaging Flowchart Builder activity! This printable worksheet guides high school students through the basics of logic mapping—from identifying flowchart symbols to creating their own step-by-step algorithms. Students begin with a visual reference chart of standard flowchart symbols, then move through interactive sections that include: Practicing symbol identification
Preview of Computer Science Debug the Directions Worksheet

Computer Science Debug the Directions Worksheet

Debug the DirectionsUnplugged Coding and Problem Solving Activity (Grades 6–8) Description:Help your students build computational thinking skills with this unplugged debugging challenge! Students practice identifying logical and sequencing errors in everyday “algorithms” like brushing teeth and making a sandwich — then rewrite them correctly. Perfect for introducing debugging, algorithms, and problem-solving without needing computers! Includes:✅ Teacher Guide with objectives, instructions
Preview of Algorithms & Sequences Escape Room | Space Station | 4th Grade | Print & Go

Algorithms & Sequences Escape Room | Space Station | 4th Grade | Print & Go

Created by
TeachingCouple
🚀 Crack the lock. Escape the orbiting station. A print-and-go algorithms and sequences escape room for 4th Grade(Grades 2-5 Computing). Ideal as a capstone for algorithm sequencing units or a high-engagement computing lesson. Students work in teams as emergency engineers aboard a research station, solving four puzzles built around algorithm design, step-by-step procedures, debugging, and logical sequencing. What's inside • 19-slide PowerPoint that drives the classroom — setup → puzzle → reveal
Preview of Editable 6th Grade  STEM Computer Curriculum  Coding & Robotics

Editable 6th Grade STEM Computer Curriculum Coding & Robotics

Give your 6th graders a strong foundation in coding, robotics, and algorithmic thinking with this comprehensive, year-long curriculum map. Students will program virtual robots with Karel, explore sensor-based robotics using LEGO WeDo 2.0, and complete team-based challenges that mirror real-world tech applications. What’s Inside:Unit 1: Karel the Robot ProgrammingGrid-based logic, algorithms, loops, conditionalsDebugging & problem decompositionCreative challenges with Karel IDEUnit 2: Lego We
Preview of Bee Bot Activity Cards

Bee Bot Activity Cards

These five teacher activity cards introduce students to computer science through the use of Bee-Bots. To order Bee-Bots, see https://www.bee-bot.us/bee-bot.html. Students will learn how to use the command buttons to make their Bee-Bots move and eventually create a Bee-Bot dance. They will also be introduced to computer science vocabulary such as algorithm and debugging. These activity cards can also be used by coaches and instructional specialist who wish to introduce their teachers to compute
Preview of Intro to CS — Lesson 2.1: Decomposition (Computational Thinking)

Intro to CS — Lesson 2.1: Decomposition (Computational Thinking)

Created by
Mr. H Codes
Help students learn how to tackle complex problems using one of the most important computational thinking skills: decomposition. In this lesson, students practice breaking large, overwhelming problems into smaller, manageable parts. Through real-world examples and programming connections, students learn how decomposition makes problems easier to understand, solve, and debug. This lesson lays the foundation for future topics such as pattern recognition, abstraction, algorithms, and debugging.
Preview of What is coding? Code a Peanut Butter Sandwich!

What is coding? Code a Peanut Butter Sandwich!

💻 What Is Coding? (Intro to Coding PowerPoint + Worksheets)Get your students excited about computer science with this beginner-friendly, ready-to-teach PowerPoint lesson! This 20-slide presentation introduces the concept of coding in a clear, visual, and interactive way — Students will learn: What coding is and why it matters How computers follow step-by-step instructions The meaning of key terms like algorithm and debugging How coding connects to real-world problem-solving Each slide in
Preview of Intro to CS — Lesson 1.4: Humans vs Computers

Intro to CS — Lesson 1.4: Humans vs Computers

Created by
Mr. H Codes
Help students understand one of the most important ideas in computer science: humans think, computers follow instructions. In this lesson, students compare how humans and computers solve problems, focusing on why computers require clear, ordered, and logical instructions. Through relatable real-world scenarios and guided reasoning, students learn why ambiguity works for people but causes problems for computers. This lesson builds directly on algorithms and instruction writing, preparing studen
Preview of 200 No Prep | High School | STEM | Coding Logic Extensions |

200 No Prep | High School | STEM | Coding Logic Extensions |

💻 High School (9–12)🔍Title200 No Prep | High School | STEM | Coding Logic Extensions |📘 Full Product Description🌟 OverviewTurn abstract coding concepts into paper-based analytical thinking. 200 No-Prep Coding Logic Extensions – High School 9-12 connects algorithmic reasoning to math, physics, and data analysis — ideal for problem-solvers preparing for college or STEM careers. 📖 PurposeStudents apply recursion, loops, conditional structures, and debugging techniques to model real-world dat
Preview of Intro to CS — Unit 5 Quiz: Programming Foundations

Intro to CS — Unit 5 Quiz: Programming Foundations

Created by
Mr. H Codes
This Unit 5 Quiz assesses students' understanding of core programming concepts introduced in Unit 5 of an Intro to Computer Science course. The quiz is designed to check conceptual understanding of how programs work before students begin writing larger amounts of code. Aligned to Lessons 5.1–5.4, this assessment focuses on reasoning, logic, and planning, not syntax memorization. Students demonstrate their understanding of algorithms, programs, syntax vs logic errors, pseudocode, and debugging m
Showing 1-24 of 33+ results