Computer Programming II: Java
Twelve units, 180 days, twelve performance tasks, a lesson plan and a substitute plan for every lesson, aimed at Certiport IT Specialist Java.
Part of Computer Programming I
Computer Programming II Java, unit 3 of 12
Every value in the first two units was declared in the source and every number printed as untidy concatenated text. Scanner fixes the first and printf fixes the second. Students import and create a Scanner, read words, numbers and whole lines, take a string apart with a closed list of nine methods, and lay out a receipt with money to the cent and aligned columns. The equals method finally answers the comparison problem Unit 2 raised, and the guide points back to that page.
The performance task is The Intake Form. A console program collects at least six values using at least three types, including one whole line of text, and prints a formatted receipt. Students submit a full run transcript, a Prompt Sheet a substitute could follow, and a Validation Note listing what the program checks and what it cannot yet do about a bad answer. The receipt carries the most weight, and it has to come from a real run rather than being typed into a document.
Validation is introduced here and honestly left unfinished. The unit teaches what hasNextInt and hasNextDouble can answer and has students write down what the program ought to do, because acting on the answer needs if, which is Unit 4. Lesson 7 shows the real crash a person causes by typing letters at a number prompt, names it, and says which unit prevents it and which unit catches it. A teacher gets a plan and a substitute plan for each of the ten lessons, keys, tiered handouts, and printf and String reference cards.
The unit runs 10 instructional days.
Adapt it, rename it, put it on your letterhead, use it as your own. The single license covers one classroom or one organization; the school license covers everyone in the building or department. Do not resell it or publish it as a template product. Full terms.
Twelve units, 180 days, twelve performance tasks, a lesson plan and a substitute plan for every lesson, aimed at Certiport IT Specialist Java.
Twelve units, 180 days, 665 documents. Binary to capstone, with a portfolio and interview practice at the end.