TPT
Total:
$0.00

For Loop Java - Page 2

190+ results
Filters
Standard
Preview of AP CS A Arrays — Code Tracing Worksheet | Java | Grades 9–12

AP CS A Arrays — Code Tracing Worksheet | Java | Grades 9–12

Strengthen your students' ability to trace through Java array programs. Arrays appear in almost every AP CS A exam question — this worksheet covers declarations, traversal, algorithms, and the reference trap that trips up so many students. ⭐ WHAT'S INCLUDED: 20 code tracing exercises across 4 sectionsSection A — Array Declaration, Access & TraversalSection B — Modifying Arrays & Enhanced For LoopSection C — Swap, Fill & Sorting ConceptsSection D — Algorithms & AP ChallengesFull answer key with e
Preview of AP CS A Arrays — Code Tracing Worksheet | Java | Grades 9–12

AP CS A Arrays — Code Tracing Worksheet | Java | Grades 9–12

Strengthen your students' ability to trace through Java array programs. Arrays appear in almost every AP CS A exam question — this worksheet covers declarations, traversal, algorithms, and the reference trap that trips up so many students. ⭐ WHAT'S INCLUDED: 20 code tracing exercises across 4 sectionsSection A — Array Declaration, Access & TraversalSection B — Modifying Arrays & Enhanced For LoopSection C — Swap, Fill & Sorting ConceptsSection D — Algorithms & AP ChallengesFull answer key with e
Preview of Java Welcome Back Week Bundle | AP CSA Review, Logic, Debugging & Reflection

Java Welcome Back Week Bundle | AP CSA Review, Logic, Debugging & Reflection

Created by
Mr. H Codes
Start your AP Computer Science A course strong with this 5-day Java Welcome Back Week Bundle designed to rebuild confidence, sharpen logic, and ease students back into Java thinking after a break. This bundle provides one complete week of structured, low-prep lessons that move students from logic review → code tracing → debugging → program planning → reflection & goal setting—without overwhelming them with full programs on Day 1. Perfect for January reset, first week of school, or anytime s
Preview of Introduction to Java: Lesson 2.6 — Nested Loops

Introduction to Java: Lesson 2.6 — Nested Loops

Created by
Mr. H Codes
Introduction to Java: Lesson 2.6 — Nested Loops Worksheet & Teacher GuideTeach nested loops with confidence using this printable, classroom-ready Java programming worksheet packetdesigned for high school Computer Science and AP CSA students. Perfect for grades 9–12, this resource breaks down nested for loops, row/column patterns, and ASCII art into clear, approachable activities that help students master complex loop logic step-by-step. This lesson includes a student worksheet AND a comp
Preview of Intro to Java: Lesson 3.5 — Arrays

Intro to Java: Lesson 3.5 — Arrays

Created by
Mr. H Codes
Teach Java arrays with confidence using this complete, classroom-ready worksheet packet designed for High School Computer Science and AP CSA! This resource covers everything students need to understand arrays, including declaring arrays, indexing, traversing with loops, and arrays of objects. Perfect for Intro to Java courses, CSA Java units, and students who need structured practice with array fundamentals. This printable packet includes a student worksheet with a clear mini-lesson, worked ex
Preview of Introduction to Java: Lesson 2.4 — Intro to Loops

Introduction to Java: Lesson 2.4 — Intro to Loops

Created by
Mr. H Codes
Introduction to Java: Lesson 2.4 — Intro to Loops (While Loops, Conditions, & Sentinel Values)Printable Worksheet Packet + Full Teacher Guide | 9th–12th Grade CSA JavaTeach while loops, loop conditions, and sentinel values with this classroom-ready Java programming worksheet packet designed specifically for Computer Science teachers. This resource is perfect for AP Computer Science A, CSA-aligned high school courses, introductory programming classes, or any teacher looking for clear, structur
Preview of Intro to Java — Unit 2 Project Dice Rolling Simulator

Intro to Java — Unit 2 Project Dice Rolling Simulator

Created by
Mr. H Codes
Bring Java loops and conditionals to life with this Intro to Java – Unit 2 Project: Dice Rolling Simulator! This hands-on programming project is perfect for reinforcing key Unit 2 concepts such as while loops, for loops, sentinel values, nested loops, and String methods. Students create a functional, menu-driven dice simulator that rolls virtual dice, tracks statistics, and responds to user choices—all using real Java code. Designed for high school Computer Science courses, this project fits s
Preview of Intro to Java Unit 2 Quiz 2 With Answer Key

Intro to Java Unit 2 Quiz 2 With Answer Key

Created by
Mr. H Codes
Assess your students’ understanding of essential Java programming concepts with this Intro to Java – Unit 2 Quiz #2, covering while loops, for loops, nested loops, ASCII art, Strings, and String methods. This quiz is designed for high school Computer Science classrooms and aligns perfectly with introductory Java units and AP CSA-style logic and iteration skills. Your students will apply real programming knowledge—loop conditions, loop updates, sentinel values, nested iteration, and String mani
Preview of Java Code Tracing & Output Prediction | If Statements & Loops | AP CSA Review

Java Code Tracing & Output Prediction | If Statements & Loops | AP CSA Review

Created by
Mr. H Codes
Help students rebuild Java code reading and reasoning skills with this low-pressure, single-day worksheet focused on code tracing and output prediction. Designed for AP Computer Science A and high school Java courses, this resource emphasizes thinking through logic before running code, helping students strengthen confidence with if statements, for loops, and while loops. Perfect for the first week back, review days, or sub plans. ⭐ What’s Included ✔️ Warm-up questions to activate code
Preview of 64 Java programming exercise ideas (Beginners to advanced)

64 Java programming exercise ideas (Beginners to advanced)

64 Java programming exercises ranging from “Hello World” style first programs to file reading and writing. Many tasks also have extension (“bonus”) sections to stretch pupils. Exercises are sorted into sections by the skills needed to complete them (conditionals, loops, arrays, etc). A good resource for homework, extension tasks, and independent learning. Fully editable resource, ready for printing or online use. Topics covered: Basic input and outputConditionalsLoops (while and for)StringsLists
Preview of AP Computer Science A - Loops Lab (Java)

AP Computer Science A - Loops Lab (Java)

This lab covers loops (for and while). This is typically where the course becomes quite a bit more challenging (as we now have loops, decision statements, and methods/functions). For that reason, these four problems are a pretty big leap in difficulty. I typically give the students a good 4-5 days in class to work on this lab. In this, and all labs posted on TPT, the questions are of my own making, and any similarity to codes/assignments/homework found anywhere else is by chance. Java code / ins
Preview of Adrian's AP CSA | Nested Loops in Java | Exercises | High School | U4L4

Adrian's AP CSA | Nested Loops in Java | Exercises | High School | U4L4

These are exercises on Lesson 4 of Unit 4. The exercises are on algorithms in Java. As opposed to a lot of the current available AP CSA literature, our course: - teaches JAVA programming in an engaging, easy to understand manner - uses real-world scenarios for labs - is culturally aware and depicts familiar scenarios for a large diversity of students from all walks of life - is not dry, complicated or super academic - explains the code, the algorithms and makes students understand why certain so
Preview of Adrian's AP CSA | Nested Loops in Java | High School | U4L4

Adrian's AP CSA | Nested Loops in Java | High School | U4L4

This is Lesson 4 of Unit 4. The lesson is on nested loops and extra considerations on algorithms complexity. As opposed to a lot of the current available AP CSA literature, our course: - teaches JAVA programming in an engaging, easy to understand manner - uses real-world scenarios for labs - is culturally aware and depicts familiar scenarios for a large diversity of students from all walks of life - is not dry, complicated or super academic - explains the code, the algorithms and makes students
Preview of Adrian's AP CSA | While Loops in Java | Exercises | High School | U4L1

Adrian's AP CSA | While Loops in Java | Exercises | High School | U4L1

These are exercises on Lesson 1 of Unit 4. The exercises are on Java while loops. As opposed to a lot of the current available AP CSA literature, our course: - teaches JAVA programming in an engaging, easy to understand manner - uses real-world scenarios for labs - is culturally aware and depicts familiar scenarios for a large diversity of students from all walks of life - is not dry, complicated or super academic - explains the code, the algorithms and makes students understand why certain solu
Preview of AP CS A Intro to Java Lesson 5 Bundle

AP CS A Intro to Java Lesson 5 Bundle

Created by
BrainStemSchool
This bundle is the fifth chapter of a course geared toward the APCS A exam. It is designed as a first introduction to the language of Java. Programming experience is encouraged but not required. This is designed to serve as a first look at Java. At the conclusion of the course, students will be able to take the APCS A exam with confidence. Topics covered in Lesson 5: Loops including:for loopswhile loopsdo while loopsfor each loopsrecursionAnd two bonus secitons:nested loopsloops counting two var
Preview of Adrian's AP CSA | While Loops in Java | High School | U4L1

Adrian's AP CSA | While Loops in Java | High School | U4L1

This is Lesson 1 of Unit 4: lecture notes. The lesson is on Java while loops. Coding examples from professional sports, and personal finances. As opposed to a lot of the current available AP CSA literature, our course: - teaches JAVA programming in an engaging, easy to understand manner - uses real-world scenarios for labs - is culturally aware and depicts familiar scenarios for a large diversity of students from all walks of life - is not dry, complicated or super academic - explains the code,
Preview of Computer Science For & While Loops Exercise Worksheet With Program Solutions

Computer Science For & While Loops Exercise Worksheet With Program Solutions

Created by
DTech Academy
This 6 question worksheet is designed to test students learning of for & while loops that includes commented executable programs to save teachers valuable time explaining the solution. The worksheet serves several purposes expressed below. 1.Gives real world scenarios that for and while Statements would apply. Giving a better understanding of application versus theory. 2.Explore other programming techniques that are useful when programming. 3.Apply other STEM Competencies, such as object cr
Preview of 50 More Java programming exercise ideas (Beginners to advanced)

50 More Java programming exercise ideas (Beginners to advanced)

50 More Java programming ideas builds upon my earlier 64 Java Programming Exercises. These 50 all-new exercises range from “Hello World” style first programs to advanced skills using arrays and methods. Many tasks also have extension (“bonus”) sections to stretch pupils. Exercises are sorted into sections by the skills needed to complete them (conditionals, loops, arrays, etc). A good resource for homework, extension tasks, and independent learning. Fully editable resource, ready for printing o
Preview of easy COMPUTER SCIENCE - Java While Loop (Infotext + Exercises)

easy COMPUTER SCIENCE - Java While Loop (Infotext + Exercises)

Created by
YoshiHeartArt
easy COMPUTER SCIENCE - Java While Loop (Infotext and Exercises) The material contains a worksheet with an information text and various exercises related to the text, such as matching tasks, multiple-choice questions, open questions and true-false questions. You will receive the material (4 pages) and the solutions (2 pages) in PDF format for easy printing and in DOCX format for individual customization. Have also a look to our MEGA-Bundles with all the subject-worksheets at an incredibly
Preview of easy COMPUTER SCIENCE - Java Loops (Infotext + Exercises)

easy COMPUTER SCIENCE - Java Loops (Infotext + Exercises)

Created by
YoshiHeartArt
easy COMPUTER SCIENCE - Java Loops (Infotext and Exercises) The material contains a worksheet with an information text and various exercises related to the text, such as matching tasks, multiple-choice questions, open questions and true-false questions. You will receive the material (4 pages) and the solutions (2 pages) in PDF format for easy printing and in DOCX format for individual customization. Have also a look to our MEGA-Bundles with all the subject-worksheets at an incredibly low
Preview of easy COMPUTER SCIENCE - Java Do While Loop (Infotext + Exercises)

easy COMPUTER SCIENCE - Java Do While Loop (Infotext + Exercises)

Created by
YoshiHeartArt
easy COMPUTER SCIENCE - Java Do While Loop (Infotext and Exercises) The material contains a worksheet with an information text and various exercises related to the text, such as matching tasks, multiple-choice questions, open questions and true-false questions. You will receive the material (4 pages) and the solutions (2 pages) in PDF format for easy printing and in DOCX format for individual customization. Have also a look to our MEGA-Bundles with all the subject-worksheets at an incredi
Preview of Java Loops Basics – Free Coding Worksheet (While Loops, For Loops, Counters)

Java Loops Basics – Free Coding Worksheet (While Loops, For Loops, Counters)

Created by
Mr. H Codes
Java Loops Basics Freebie (Mr. H Codes)Help your students master the fundamentals of Java loops with this classroom-ready free worksheet! This resource introduces while loops, for loops, counters, and accumulators through clear explanations, vocabulary practice, guided examples, and hands-on coding tasks. Designed for Intro to Java, AP Computer Science A, or any beginning programming course, this worksheet gives students the foundational loop skills they need before moving on to more com
Preview of Adrian's AP CSA | While Loops in Java | Lesson Plan | U4L1

Adrian's AP CSA | While Loops in Java | Lesson Plan | U4L1

This is the lesson plan of the first lesson of Unit 4 of Adrian's new and exciting AP(r) CSA Course. The lesson introduces students to while loops in Java. Adrian's Java AP(r) Course aims to teach students Java with the main objectives for them to become hands-on coders and problem solvers. As many as possible are to pass their AP CSP exam as delivered by the College Board. As opposed to many other commercially available materials this course engages students through authentic learning experien
Preview of Coding with Java

Coding with Java

Coding with Java consists of 20 programming questions where students are to analyze and determine what each does and their related output. Students are exposed to basic Java programming syntax and structured programming concepts such as for loop, while loop, if-then statements, arrays ,classes etc. A digital activity version of this book is also provided where students can type their responses.
Showing 25-48 of 190+ results