





























Teach students the parts of a Java program and how Java checks the code before it runs. Students name the class, the main method, the braces and the statements, and print text with print and println. They work out what args holds for three commands. Then, in our online code lab, they fix receipt programs that won't compile and write one of their own.
Enter your email and we'll send you one password that unlocks every freebie on the site.
Short coding levels practice 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 them with the lesson or as practice later.
See the levels→Students who coded in another language often see a compile error and don't know where to start. This lesson shows that Java compiles the whole file first, and that the error names the line where they start looking. Students fix each error and run the program again.
The try-it on Day 1, the lab on Day 2 and the quiz task on Day 3 run online in CodeGrove, our in-browser code lab, so students need a computer or tablet on those days. The Receipt Printer level practices fixing compile errors in a Java program and printing text with print, println and comments. CodeGrove is free, with no accounts, sign-ins or installs.
Students fix two receipt programs that won't compile and write a third in CodeGrove.
Students name each part of a short program on paper before they type. A box in the notes shows the same idea in Python and in Java side by side.
Students fix receipt programs that won't compile. They learn that a missing semicolon or quote mark stops the whole program, not just one line.
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.
Yes. Lesson 1.1 is completely free. Enter your email to get the library password, then use it to download this lesson and every other freebie on the site.
Enter your email once and we send you a single library password. Type that password in any "Unlock" box and every download turns on. Your device remembers it.
Students know how to print text, store values and read an error message in some programming language, such as Python.
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.
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 quiz 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.