





























Teach students how rules that a person wrote can make a machine seem intelligent, and how people test what a machine can do. Students vote on the moves a robot vacuum's rules pick and judge six made-up chat replies as human or machine. In our online code lab, they write a sense loop, put the rules in order and add a cliff rule at the top.
● Instant download · Lifetime access · Editable & print-ready
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 may think a program that follows many rules has learned, or that a machine that fools a judge must be thinking. This lesson shows the sense, decide and act loop behind a robot. It also shows why the first rule that fits is the one that runs.
The try-it on Day 1 and the quiz task on Day 2 run online in CodeGrove, our in-browser code lab, so students need a computer or tablet on those days. The 7.4 Quiz Task level practices writing a sense loop and putting the rules in order on Day 1, and adding a cliff rule at the top of a robot vacuum's rules on Day 2. CodeGrove is free, with no accounts, sign-ins or installs.
Students vote on what a robot vacuum's rules pick, then mark six made-up chat replies as human or machine on paper with computers closed.
The robot runs the first rule that fits, so students put a cliff rule at the top, where it is checked first.
They mark six made-up chat replies as human or machine and see that fooling a judge is not the same as thinking.
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 7 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 write an else if chain, read several answers with a for loop, and read a sensor again and again with a while loop that stops at -1.
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.