TPT
Total:
$0.00

For Loop Java

2,500+ results
Filters
Standard
Preview of Hands-On LEGO SPIKE Prime Loops Lesson – Repeat and Forever Blocks

Hands-On LEGO SPIKE Prime Loops Lesson – Repeat and Forever Blocks

Created by
RoboBytes
Struggling to teach loops in LEGO SPIKE Prime in a way students actually understand?This hands-on activity turns coding theory into action! Students explore repeat vs. forever blocks by programming their robots to move, trace shapes, and even dance—building confidence in sequencing, precision, and problem-solving. Perfect for middle school robotics, STEM labs, or tech classes, this low-prep activity only requires a SPIKE Prime robot and tablet. ✔ Hands-on practice with repeat and forever loops
Preview of Unit 3 - Spike Prime: Read the Code (Advanced) – WS 4: Partial Infinite Loops

Unit 3 - Spike Prime: Read the Code (Advanced) – WS 4: Partial Infinite Loops

Created by
RoboBytes
Students can’t tell the difference between “running” and “responsive.”This worksheet makes that distinction unmistakable. Students examine programs with infinite loops that appear active but trap the robot in limited behavior. They predict long-term behavior, test their predictions, and explain why the robot becomes stuck even though the code is still running. The questions surface logical dead ends that students often miss. This worksheet saves you time because: students stop assuming loops au
Preview of Unit 2 - SPIKE Prime: Read the Code (Inter) - WS# 5 Infinite Loops and Logic

Unit 2 - SPIKE Prime: Read the Code (Inter) - WS# 5 Infinite Loops and Logic

Created by
RoboBytes
Just because code runs forever doesn’t mean it’s doing anything useful.This worksheet teaches that lesson clearly and early. Students examine programs with infinite loops — including one where a sensor is checked repeatedly but behavior never changes. They predict long-term behavior, test their predictions, and explain why some loops are ineffective. The questions are designed to build a debugging mindset before students reach Advanced robotics. This worksheet saves you time because: ineffecti
Preview of Unit 2 - SPIKE Prime: Read the Code (Inter) - WS# 4 Two Outcomes Inside a Loop

Unit 2 - SPIKE Prime: Read the Code (Inter) - WS# 4 Two Outcomes Inside a Loop

Created by
RoboBytes
Your students don’t understand why the robot won’t change behavior.This worksheet makes that visible without you re-explaining it. Students analyze if/else logic placed inside and outside of a loop. They predict behavior, test their predictions, and explain why repeated decisions allow robots to respond — while single decisions do not. Carefully structured questions help students articulate why robots sometimes feel “stuck,” even when the code looks correct. This worksheet saves you time becau
Preview of Unit 2 -SPIKE Prime: Read the Code (Inter) - WS #2: Repeat Sensor Checks W/ Loop

Unit 2 -SPIKE Prime: Read the Code (Inter) - WS #2: Repeat Sensor Checks W/ Loop

Created by
RoboBytes
Your robots work sometimes — and students don’t know why.This worksheet fixes that confusion for you. Students analyze two programs that use the same color sensor but behave very differently. By reading the code first, students predict what will happen, test their predictions, and explain why repeated sensor checks inside a loop lead to more reliable behavior. Thought-provoking questions guide students to discover that inconsistent behavior is usually caused by program structure, not broken s
Preview of Pattern Block Maze Builder | STEM Challenge | Computer Science Foundations

Pattern Block Maze Builder | STEM Challenge | Computer Science Foundations

Looking for a fun, low-prep STEM challenge your students will love? This printable hands-on computer science activity is part of a 30-challenge STEM series designed to help students explore science, engineering, problem-solving, and critical thinking through meaningful design tasks. In this challenge, students plan, build, test, and improve their ideas using simple materials and the design process. This STEM activity encourages creativity, perseverance, collaboration, and real-world application
Preview of Unit 1 SPIKE Prime: Read the Code #5 – One-Time vs Forever Motion (Adv Beginner)

Unit 1 SPIKE Prime: Read the Code #5 – One-Time vs Forever Motion (Adv Beginner)

Created by
RoboBytes
Challenge students to understand infinite loops and program flow with this advanced beginner worksheet. Students will reason about code that never ends and what blocks can or cannot run in SPIKE Prime. This resource is also included in the LEGO SPIKE Prime Robotics Unit: Intro to Coding, Movement & Robot Logic (9 Lessons / 2 Weeks). Students will: Compare one-time vs forever loops Understand why blocks after a forever loop are impossible Predict robot behavior and reason about program structu
Preview of Unit 1 SPIKE Prime: Read the Code #3 – Repeats & Accumulated Movement (Beginner)

Unit 1 SPIKE Prime: Read the Code #3 – Repeats & Accumulated Movement (Beginner)

Created by
RoboBytes
Introduce students to the power of loops in SPIKE Prime with this beginner worksheet. Students analyze repeat blocks and predict robot movement over multiple iterations. This resource is also included in the LEGO SPIKE Prime Robotics Unit: Intro to Coding, Movement & Robot Logic (9 Lessons / 2 Weeks). Students will: Understand repeat loops and accumulated distance Predict repeated straight or curved movement Draw robot paths and reasoning for each iteration Includes teacher notes and answer g
Preview of Intro to Coding with Scratch Jr STEM Ana's Smart Move ISTE Digital Explorers

Intro to Coding with Scratch Jr STEM Ana's Smart Move ISTE Digital Explorers

Elementary STEM teachers—meet your ready-to-teach coding + science lesson for grades 1–5. This Scratch Jr introductory STEM activity blends computational thinking with NGSS-friendly science topics like pollination, erosion, plant growth, the water cycle, and food chains. Perfect for elementary STEM labs, media centers, and classroom tech blocks, it builds coding skills while helping students communicate scientific ideas clearly. How It Works:Students plan a simple animation in Scratch Jr to
Preview of SPIKE Prime Coding: Read the Code Series – Intermediate Worksheets Bundle

SPIKE Prime Coding: Read the Code Series – Intermediate Worksheets Bundle

Created by
RoboBytes
Save time and money with this ready-to-use 5-worksheet series for SPIKE Prime coding! These worksheets help students read block code, predict robot behavior, and reason through loops, conditionals, and sensors — all without needing to run the robots. Perfect for offline days, early finishers, substitutes, or formative assessment. Bundle Includes: Worksheet 1 – Predict Robot BehaviorStudents analyze simple SPIKE Prime programs and predict robot movement step by step. Worksheet 2 – Repeated Se
Preview of SPIKE Prime Coding: Read the Code Series – 5 Beginner Worksheets

SPIKE Prime Coding: Read the Code Series – 5 Beginner Worksheets

Created by
RoboBytes
Are your students rushing through LEGO SPIKE Prime coding without truly understanding the program flow? Are you looking for low-prep, device-free activities that strengthen problem-solving and code-reading skills? This complete Beginner Read the Code Series is designed to get students thinking critically before they ever run their robots. With five scaffolded worksheets, your students will progress from basic straight movement to conceptual reasoning about infinite loops. Why teachers love th
Preview of AP Computer Science A Quick Reference Guide | 2025-2026 | 4-Unit Curriculum | Ex

AP Computer Science A Quick Reference Guide | 2025-2026 | 4-Unit Curriculum | Ex

Created by
AP CS Exam Prep
AP Computer Science A Quick Reference Guide | 2025-2026 | All 4 Units | Exam PrepAre your AP Computer Science A students constantly flipping through textbooks hunting for method signatures, loop patterns, and formula reminders? This 12-page Quick Reference Guide puts everything they need in one clean, exam-aligned resource — so they spend less time searching and more time thinking. This guide is used directly in my AP CSA classroom at Blue Valley North HS. Created by a practicing AP CS teacher w
Preview of Spike Prime Coding: Read the Code Series - Advanced Worksheet Bundle

Spike Prime Coding: Read the Code Series - Advanced Worksheet Bundle

Created by
RoboBytes
Your students can make robots move — but they struggle to explain why the code behaves the way it does.This Advanced Read the Code bundle fixes that for you. These five Advanced worksheets are designed to save you time by guiding students through the hardest robotics thinking skills: analyzing complex logic, identifying design flaws, and explaining unexpected behavior — before trial-and-error takes over. Students don’t just run code. They read it, predict behavior, test their predictions, an
Preview of Unit 3 - Spike Prime: Read the Code – (Advanced) WS 1: Competing Conditions

Unit 3 - Spike Prime: Read the Code – (Advanced) WS 1: Competing Conditions

Created by
RoboBytes
Your students think multiple “if” statements all matter equally.This worksheet shows them why that’s not true — without you having to lecture. Students analyze code with competing conditions inside a loop. They predict what the robot will do, test their predictions, and explain which condition actually wins and why. Carefully written questions guide students to notice order-of-operations issues that cause unexpected behavior. This worksheet saves you time because: students stop assuming “all c
Preview of Middle School LEGO SPIKE Prime Robotics Planner – Weekly Progress & Mastery Trac

Middle School LEGO SPIKE Prime Robotics Planner – Weekly Progress & Mastery Trac

Created by
RoboBytes
Struggling to keep your LEGO SPIKE Prime classroom organized and on track?This comprehensive weekly checklist makes it easy to monitor student progress, plan lessons, and track mastery throughout a year-long robotics course. Perfect for middle school robotics classes, STEM labs, or independent skill-building, it keeps both teachers and students focused and organized. Each week includes: Unit Focus – Clear topic for the week (e.g., Robot Movement, Touch Sensors, Line Following) Skills to Learn
Preview of Unit 2 - SPIKE Prime Touch Sensor Coding – Bump Bot Lesson

Unit 2 - SPIKE Prime Touch Sensor Coding – Bump Bot Lesson

Created by
RoboBytes
Help students move from movement-only coding to true sensor-based robotics control. This hands-on Touch Sensor Coding Activity (Bump Bot) teaches students how to program a robot that responds to real-time input using the SPIKE Prime touch sensor. Students learn how to:• Set movement motors correctly • Use a Forever loop to continuously check a sensor • Write conditional logic using If/Else blocks • Understand state-based behavior (pressed vs released) • Modify steering and rotation values for t
Preview of Unit 2 - SPIKE Prime: Read the Code (Inter) - WS# 3 Repeat Actions

Unit 2 - SPIKE Prime: Read the Code (Inter) - WS# 3 Repeat Actions

Created by
RoboBytes
Students use repeat blocks — but don’t always understand them.This worksheet clears that up before it becomes a problem. Students read code that uses repeat and repeat-forever blocks to control movement. They predict distance and stopping behavior, test their predictions, and explain how repeated actions affect movement, all without adding sensor complexity. Questions are designed to surface and correct common misunderstandings about loops — especially “repeat forever.” This worksheet saves yo
Preview of Unit 3 - SPIKE Prime Debugging WS 3 – Advanced Movement Logic & Code Efficiency

Unit 3 - SPIKE Prime Debugging WS 3 – Advanced Movement Logic & Code Efficiency

Created by
RoboBytes
This advanced LEGO SPIKE Prime debugging worksheet challenges students to think like engineers, not just coders. Students analyze complex movement patterns, fix subtle bugs, and compare multiple coding approaches that achieve the same robot behavior. The focus is no longer just “Does it work?” but “Is this the best way to code it?”Students will: Predict advanced movement paths (squares, triangles) Debug incorrect angles, rotations, and loop logic Compare two programs that create the same res
Preview of Unit 3 -Spike Prime: Read the Code – (Advanced) WS 2: Sensor Priority & Override

Unit 3 -Spike Prime: Read the Code – (Advanced) WS 2: Sensor Priority & Override

Created by
RoboBytes
Students don’t understand why some sensors seem to “do nothing.”This worksheet explains that problem clearly. Students examine programs where multiple sensors are checked, but some conditions never meaningfully trigger. They predict behavior, test their predictions, and explain how sensor priority and logic masking affect outcomes. The worksheet leads students to discover that the issue isn’t the sensor — it’s the code structure. This worksheet saves you time because: students stop blaming har
Preview of Unit 1 - SPIKE Prime: Read the Code #4 – Wait Blocks & Timing (Beginner)

Unit 1 - SPIKE Prime: Read the Code #4 – Wait Blocks & Timing (Beginner)

Created by
RoboBytes
Teach students that not all code makes the robot move with this worksheet focused on wait blocks. Students will predict program flow, recognize pauses, and reason about timing in SPIKE Prime programs. This resource is also included in the LEGO SPIKE Prime Robotics Unit: Intro to Coding, Movement & Robot Logic (9 Lessons / 2 Weeks). Students will: Identify movement vs non-movement blocks Predict robot behavior during waits Draw paths and mark where the robot pauses Includes teacher notes and a
Preview of 5th Grade Earth’s Systems Spheres Interactions Slides for Google NGSS 5-ESS2-1

5th Grade Earth’s Systems Spheres Interactions Slides for Google NGSS 5-ESS2-1

Created by
Rushnok Science
This lesson is compatible with Google Slides™. Your students will be required to use their powers of observation to analyze photographs of phenomena. Using the interactive features of slides for google, they must identify which of Earth’s spheres are interacting in the photo, and then drag and drop the system icons in the correct location. They must then type an explanation of how the systems are interacting with each other. We have included an answer key to cover the major interactions in th
Preview of Story Sequencing Kindergarten Sequence of Events Pictures for ESL 1st Grade

Story Sequencing Kindergarten Sequence of Events Pictures for ESL 1st Grade

These story sequencing pictures for kindergarten and first grade help children build first, next, then last sequence of events understanding with clear visual support. These sequence of events worksheets with pictures are ideal for ESL, ELL newcomers, and early learners practicing retelling, oral language, and comprehension. Teachers and parents can use this cut and paste sequencing resource and retelling worksheets for discussion, picture ordering, and guided retell practice. ❤️ Sequenc
Preview of EARTH’S SYSTEMS SPHERES:  PHOTOS FOR GOOGLE FORM QUIZ

EARTH’S SYSTEMS SPHERES: PHOTOS FOR GOOGLE FORM QUIZ

Created by
Rushnok Science
In this for Google form quiz, students will be able to look at 25 high quality labeled photographs. They will then determine whether the element labeled belongs to the Geosphere, Atmosphere, Hydrosphere, or Biosphere. You can choose to send out the form as is or edit it if you desire. This product has been taken from NGSS 5-ESS2-1 Earth's Systems Interactions 5E Lesson Plan for 5th Grade. This is a more comprehensive 5E lesson which includes reading passages and several additional exercises.
Preview of 4TH Grade Science: NGSS 4-PS3-1 Speed and Energy for Google and Print

4TH Grade Science: NGSS 4-PS3-1 Speed and Energy for Google and Print

Created by
Rushnok Science
This Science Interactive Journal is written to align with NGSS 4-PS3-1 and to lead a student through a 5E Lesson Plan. The journal includes two close readings with questions: one on What is Energy and the other is on Potential and Kinetic Energy. Students explore Speed and Energy with two Science Labs. Students will analyze charts and create their own chart. Vocabulary is included and the Evaluation includes a Rubric. Included is this product is: 1. A 26-page Student Science Journal that is
Showing 1-24 of 2,500+ results