TPT
Total:
$0.00

For Loop Java

42+ results
Filters
Preview of AP CS A While & For Loop Trace Exercises — Code Tracing Worksheet | Java | Grade

AP CS A While & For Loop Trace Exercises — Code Tracing Worksheet | Java | Grade

Give your AP Computer Science A students targeted practice tracing through while loops, for loops, and nested conditionals in Java. Iteration is one of the most heavily tested topics on the AP CS A exam and this worksheet covers every variation students need to know. ⭐ WHAT'S INCLUDED: 21 code tracing exercises across 4 sectionsSection A — Conditionals (if / else)Section B — For LoopsSection C — While LoopsSection D — Mixed Challenge ProblemsFull answer key with explanations — teacher use only⭐
Preview of AP CS A 2D Arrays — Code Tracing Worksheet | Java | Grades 9–12

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

Help your students master one of the trickiest topics on the AP CS A exam — 2D arrays. This worksheet covers everything from basic row and column access to matrix operations, diagonal traversal, and the transpose algorithm. ⭐ WHAT'S INCLUDED: 20 code tracing exercises across 4 sectionsSection A — Declaration, Access & Nested LoopsSection B — Filling, Max, Row & Column SumsSection C — Diagonals & Traversal PatternsSection D — Matrix Operations & AP ChallengesFull answer key with explanations — te
Preview of AP CS A ArrayList — Code Tracing Worksheet | Java | Grades 9–12

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

Give your AP Computer Science A students focused practice tracing through ArrayList programs. ArrayList is a favourite topic on the AP CS A exam and this worksheet covers every method students need to know — including the classic iteration trap that catches even strong students. ⭐ WHAT'S INCLUDED: 20 code tracing exercises across 4 sectionsSection A — add, get, remove, set, sizeSection B — Traversal, Modification & ReferencesSection C — Sorting, contains, indexOf, insertSection D — Advanced Oper
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 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 Energy Skate Park BASIC sim for Law of Conservation of Energy PhEt

Energy Skate Park BASIC sim for Law of Conservation of Energy PhEt

Created by
3D-PT
PhET.colorado.edu is a free site for various simulations (sims) that students can access. Skate Park Basic is a great way to introduce the Law of Conservation of Energy. It demonstrates the relationship between kinetic, potential & thermal energy. At the end you can challenge your students to build a ramp that loops and jumps the skating character. Please check that HTML5 sims will work on your digital device BEFORE purchasing this product. Java Applets may not be supported in some web browser
Preview of AP Computer Science A - Midterm Project: Family Feud (Java)

AP Computer Science A - Midterm Project: Family Feud (Java)

This is my midterm project for AP CS A. It is assumed that students have had: arrays, loops, decision statements, and can write classes. This project is pretty easy to understand. Students just need to make a working game of Family Feud. Requirements and rules are given in the project. There is also sample instructor code. Students usually enjoy this project quite a bit. I give them a little over a week to do this (usually spanning two weekends so they have a bit more time!). In this, and all l
Preview of AP Computer Science A - Writing Classes Lab (Java)

AP Computer Science A - Writing Classes Lab (Java)

This lab covers the topic of Writing Classes. I usually do this after we have covered decision statements, loops, and basic class usage. This lab contains 4 problems, each of which requires the student to create a full class. These are not quite like any of the traditional examples presented in a typical AP CS A course. 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 / instructor
Preview of JavaScript Assessment for Coding and Computer Science CS - Java Script

JavaScript Assessment for Coding and Computer Science CS - Java Script

Cascading Style Sheet CSS AssessmentYour solution to needing a formal assessment for JavaScript. This resource could accompany Unit 3 from the Code.org Computer Science Discoveries curriculum, but may also be fitting for any basic JavaScript curriculum. Students will be assessed through a variety of question types.Questions include: Multiple ChoiceTrue and FalseFree ResponseTopic: JavaScript that uses block coding, in particular the purpose of different blocks Coding Skills Assessed: Sprites, Va
Preview of Programming Java 7: Looping Pack | Digital | Worksheets | Games gr. 8- 12

Programming Java 7: Looping Pack | Digital | Worksheets | Games gr. 8- 12

Looking for Java: looping questions? Want open ended activities for review, games, and discussion? This digital pack includes 80+ multiple-choice, short answer, and opinion questions designed for whole-class lessons, review days, and interactive activities. WHAT IS THE HUSKY APP SYSTEM?I think this is a really cool and flexible concept. Imagine you could take a bunch of questions for your subject, load them into the computer with a click, and the computer would spit out a ton of interesting and
Preview of AP Computer Science A -Basic While for loop  20 exercises

AP Computer Science A -Basic While for loop 20 exercises

It includes 20 short java while for loop programs(AP Computer Science A)
Preview of Coding Terms Word Search Activity | Programming | Review Game |No Prep Worksheet

Coding Terms Word Search Activity | Programming | Review Game |No Prep Worksheet

All About Coding No Prep Worksheet Activity Great for: Early Finishers, Emergency Sub Plan, Homework, Unit Supplement, Sponge Activity, Classwork, Test Review, Terms, Bell Ringer, Curriculum, Back to School, End of Year, No Prep Activity, Warm-Up, Handout, Homeschool, Vocabulary, Do Now, Mini-lessons, Distance Learning… Simply Print and Go! Download the preview for a closer look. Hidden Words: Coding Algorithm Data Type Code Editor Index Parameter Edit Programming Function Object Interpreter
Preview of AP | Iteration in Program Development | 30 Task Cards | Grade 9-12

AP | Iteration in Program Development | 30 Task Cards | Grade 9-12

Created by
Lesson Academy
Are your students struggling to understand how and why loops are used in programming?This comprehensive set of 30 Task Cards focuses on iteration in program development, helping students in Grades 9–12 develop a deep understanding of loops, control structures, and efficiency in coding. Designed for high school computer science classrooms, these task cards guide learners through the essential logic behind repeated execution and help them distinguish between different loop types, usage contexts,
Preview of Nested For Loop Cut & Paste Activity

Nested For Loop Cut & Paste Activity

This Computer Science Cut & Paste activity provides students practice matching nested for loops in Java with the corresponding output.
Preview of AP Computer Science A - Binary Number Programming Assignment

AP Computer Science A - Binary Number Programming Assignment

STARTER FILES, AUTOMATIC TESTER/GRADER, and WORKSHEET included! This bundle contains files for a Binary Number programming assignment. Check out the free resource "Binary Number Programming Assignment - worksheet" for a full description of the project. This project teaches students about binary numbers, binary number arithmetic, using arrays, and implementing classes that have array instance variables. The assignment can be completed on average in about 2 hours of class time, or could be desi
Preview of AP | Iteration Concepts in Programming | 30 Task Cards | Grade 9-12

AP | Iteration Concepts in Programming | 30 Task Cards | Grade 9-12

Created by
Lesson Academy
Are your students struggling to grasp iteration as a core concept in programming? Grab this ready-to-use resource to help them solidify their understanding with 30 thoughtfully designed multiple-choice task cards focused on loops and iteration techniques across multiple programming languages. This resource is specifically crafted for high school students in Grades 9–12 who are learning fundamental computer science principles. It covers a range of topics related to iteration, including loop struc
Preview of AP CSA 1.6 Compound Assignment Operators | Notes, Practice Worksheet

AP CSA 1.6 Compound Assignment Operators | Notes, Practice Worksheet

📘 AP Computer Science A – Topic 1.6 Compound Assignment Operators (PDF) Product Description Help your AP Computer Science A students build fluency with compound assignment operators using this focused, exam-aligned resource for Topic 1.6. This lesson helps students understand how operators such as +=, -=, *=, /=, %= as well as increment (++) and decrement (--) update variables in Java. Through rewriting statements, predicting output, and identifying common misconceptions, students strength
Preview of Coding Terms Word Search Puzzle | No Prep Activity Worksheet Game

Coding Terms Word Search Puzzle | No Prep Activity Worksheet Game

Created by
Puzzle Scoop
The students will love to test their knowledge playing the Coding Terms word search puzzle. Diving into the world of computer programing and all the different aspects of the digital frontier, this fun word game is perfect for a fun way to reflect on terms used. Words in the puzzle include: ALGORITHM, ARRAYS, BINARY, BIT, CODE, COMMAND, CROWDSOURCE, DATA, DEBUG, EVENT, FOR LOOPS, FUNCTION, JAVA, LANGUAGE, LINUX, OBJECT, OPEN SOURCE, PARAMETER, PROGRAM, PYTHON, READ, RUN, SCI
Preview of Ancient Rome I Have Who Has? Test Prep, Review, Game Activity | World History

Ancient Rome I Have Who Has? Test Prep, Review, Game Activity | World History

Ancient Rome review game, Ancient Rome test prep Savings Alert! This resource is also included in the following bundle:Ancient Rome Republic to Fall of Empire BUNDLE, Game, Project, Reading PracticeTransform your Ancient Rome unit with a high-engagement review activity!This comprehensive "I Have, Who Has" resource is designed to take your students on a journey from the mythical origins of Rome through its eventual decline, covering key social, political, and cultural concepts. Perfect for middl
Preview of Block Coding Word Wall

Block Coding Word Wall

Complete with student friendly definitions and visual examples, this block coding word wall display will help your students to use these terms regularly and give them a quick reference to support them as they code. Great to use in the classroom or as a STEM or Tech bulletin board display. This pack will continue to grow over time and be updated for free! Feel free to send in your suggestions. Terms currently included Loops (general definition)For LoopsWhile LoopsNested LoopsConditional Statement
Preview of JAVA Jeopardy (Google Slides)

JAVA Jeopardy (Google Slides)

Created by
Classroombop
Jeopardy is great for a fun and interactive way to review information. This is a Google Slides editable Jeopardy game template all based around JAVA This means all the questions and answers are pre filled out for you, ready to use. Don't like one or two of the questions? Quickly change the question and answer using Google Slides. Looking for a blank Jeopardy Google Slide Template? Click here.If you click the question the student wants to answer it will go directly to that slide. If you click "
Preview of Bottle Biography Research Project | Activity | Report | Craft | End of the Year

Bottle Biography Research Project | Activity | Report | Craft | End of the Year

This is a no prep resource for introducing a research biography project. This would make an excellent activity for the end of the school year. Students research an influential individual of their choice, write a report (which includes a time line), and then create a model figure of their chosen person using a recycled soda or water bottle. They "dress" up their bottle to look like their famous person. This is a versatile project in which students can choose a historical figure, a celebrity, or s
Preview of Hispanic Heritage Month Bottle Biography Project | Report | Activity | Craft

Hispanic Heritage Month Bottle Biography Project | Report | Activity | Craft

This is a ready to use document for a research biography project for Hispanic Heritage Month. Students will research an influential Hispanic figure of their choice, write a report, and create a model figure of their chosen person using a recycled soda or water bottle. They "dress" up their bottle to look like their famous American. This project can be done as a literacy center in class, or sent home. Purchase includes project student information sheet, and project grading rubric. If you like t
Showing 1-24 of 42+ results