





























Teach students to plan and build a text analyzer in Java. Students pick Word Counter, Password Checker, Repeat Finder or their own idea. They plan the report first, then the array or list, a ready-made call and two or more method headers. In our online code lab, they build an analyzer that reads typed text, uses String methods and splits its work into methods.
● Instant download · Lifetime access · Editable & print-ready
A short coding level practices this lesson in CodeGrove, our code lab that runs in the browser. Students write the program, run it and check it, with no account and nothing to install. Use it with the lesson or as practice later.
Open the level→Text programs often work on a normal sentence and then fail on empty text. This project has students plan two tests before they code. They test empty text and one word, fix what fails and retest.
The build runs online in CodeGrove, our in-browser code lab, on both days, so students need a computer or tablet. Students pick one of 4 builds: My Text Analyzer, Password Checker, Repeat Finder or Word Counter. The Text Analyzer level practices building one text analyzer that reads typed text with a Scanner, uses String methods, keeps words in an array or an ArrayList, calls a ready-made sort or search, and splits its work into two or more static methods. On the last day, students send the turn-in Form with their CodeGrove link. CodeGrove is free, with no accounts, sign-ins or installs.
Students build their analyzer in CodeGrove, test it with empty text and one word, and turn it in with the turn-in Form. Students pick one of 4 builds: My Text Analyzer, Password Checker, Repeat Finder or Word Counter.
Students write two sample report lines before they plan any methods. Each method then has a clear job in that report.
Students log an empty-text test and a one-word test on a test log. Then they turn in their code and answer two questions that explain it.
Every page is a print-ready PDF, and the Google Forms™ and Google Slides™ let you teach the same lesson in Google Classroom™.
Students write and run real Java in CodeGrove, our in-browser code lab, on a computer or tablet, with no accounts or installs.
Every day has its own answer key, and every written question has a sample answer and what to look for.
Each day's plan is timed activity by activity against real reading and writing speeds.
Reviews help me a lot, and they help other teachers pick the right resources for their classes. It takes about a minute.
Leave a reviewInstant download right after checkout: PowerPoint and Word files you can edit, print-ready PDFs, and links that copy the Google Forms™ and Google Slides™ into your Drive.
Yes. This lesson is part of the Unit 2 bundle and the complete Java Programming course. Both cost less than buying the lessons one at a time.
No. It is a full-year, non-AP Java course for grades 9 to 12, and it is not built for the AP exam. For AP, see our AP Computer Science A and AP CSP courses.
Students can loop over text, use String methods, store values in arrays and ArrayLists, and call ready-made sorts and searches, all in one Main.java file with static methods.
Yes, on the CodeGrove days. Each student needs a computer or tablet that's online, and CodeGrove needs no account or install. The bell ringers, notes, exit tickets and quiz are on paper.
Every page is a print-ready PDF. The slides are an editable PowerPoint and the guided notes an editable Word file. The exit tickets and the turn-in Form also come as Google Forms™, and the deck as Google Slides™.
Written for Florida's Advanced Programming course (9007230). The skills map in the lesson shows which standards each day teaches.