Schedule

A week in this course runs Wednesday through the following Monday, across the weekend:

Wed (class) Mon (class) Tue (no class)
Assignment may go out due
Reading due before class
Quiz at the start, 2 attempts
Presentation of the assignment due the day before

Why the week is arranged this way is on How the week works.

Week 12 (11/11—11/16): for loops, nested; map by hand; Progress Exam 3

Wed 11/11 — for: the three lines about the counter in one header; a loop inside a loop, and the pictures it draws; map, filter and fold written by hand, with the arrow as a parameter. A11 goes out.

Mon 11/16 — Progress Exam 3, in the first half of class; then loops, continued.

Week 11 (11/04—11/09): while loops

  • Assignment: A10 out Wednesday 11/04, due Tuesday 11/10.
  • Presentation: A9 on Wednesday 11/04, two students.
  • Quiz: Quiz 7, Nov 9, 2026 — Both attempts in class — one at the start, one near the end.
  • Reading (before Nov 9, 2026): [CU] 6.1 — while Loops

Wed 11/04 — while: Monday’s list functions written again as loops, the same walk with a name that changes instead of a call; a loop that never stops; loops with no list behind them. A10 goes out.

Mon 11/09 — Quiz 7; then loops that stop before the list ends, a condition with two parts; two lists walked together; and do, the loop that runs its body before its question.

Week 10 (10/28—11/02): Lists in Java: map, filter and fold

  • Assignment: A9 out Wednesday 10/28, due Tuesday 11/03.
  • Presentation: A8 on Wednesday 10/28, two students.
  • Quiz: Quiz 6, Nov 2, 2026 — Both attempts in class — one at the start, one near the end.
  • Reading (before Nov 2, 2026): Lists in Java

Wed 10/28 — week 3’s lists, in Java: a list, the arrow, and filter, map and fold, over Pyret’s list as a Java type. A9 goes out.

Mon 11/02 — Quiz 6; then lists by hand: a switch with a case for each kind of list, a function that calls itself on the rest, and a list built one link at a time.

Week 9 (10/21—10/26): Graphics: the flags again; Progress Exam 2

Wed 10/21 — Progress Exam 2’s routine once through, in the exam seat, on two problems that count for nothing. Then graphics: A1’s flags again, in Java, with Img on top of the reading’s JavaFX. A8 goes out.

Mon 10/26 — Progress Exam 2, in the first half of class.

Week 8 (10/14—10/19): Decisions at their edges; enums, switch and records

  • Assignment: A7 out Wednesday 10/14, due Tuesday 10/20.
  • Presentation: A6 on Wednesday 10/14, two students.
  • Quiz: Quiz 5, Oct 19, 2026 — Both attempts in class — one at the start, one near the end.
  • Reading (before Oct 19, 2026): [CU] 5.4 — switch Statements, Enums and records

Wed 10/14 — a chain of ifs asks its questions in order, so the order is part of the rule, and the examples that matter sit at its edges. Then an enum, a type whose values are all listed, and switch, which answers for each of them. A7 goes out.

Mon 10/19 — records: a value made of named parts, and functions that read the parts they need.

Week 7 (10/7): Decisions: if as a statement, ? : as its expression form; and, or, not

A one-class week. Monday 10/12 and Tuesday 10/13 are fall break, so this week is Wednesday only and the next class is Wednesday 10/14. Under the one-class rule, the reading goes out with the class it opens and is due before the next one.

Wed 10/07 — the if you wrote in Pyret gave a value back. Java’s is a statement: it does something and is nothing, so a branch hands its answer out with return, and ? : is the one-line form that is a value. Then &&, || and !, the spelling of and, or and not. A6 goes out, smaller than usual, with the break in its week. The reading comes after the class rather than before it.

Week 6 (9/30—10/6): Objects you make: new, StringBuilder, Random

Wed 09/30 — new makes an object and gives back its address, and the first object you make, a StringBuilder, can be changed in place — which Monday’s texts could not. A5 goes out.

Mon 10/05 — Random: a die you can test, because a seed makes it roll the same way every run, and the first call in the course whose answer changes from one call to the next.

Week 5 (9/23—9/29): Java in a file; names, equality and what a variable holds

Wed 09/23 — Monday’s program moves from a browser tab into a file in IntelliJ IDEA, with Check.is where where: was. A4 opens with a short setup survey: which Java you have, and where you run it.

Mon 09/28 — what a name holds in Java. == and .equals, and why two equal strings can be two different things.

Week 4 (9/16—9/22): State in Pyret, Progress Exam, transition to Java

  • Assignment: None
  • Presentation: A3 on Wednesday 09/16, two students.
  • Exam: Progress Exam 1 — Pyret, Sep 21, 2026 — First half of class. Open book, open notes, no AI. Pyret, not Java.
  • Quiz: None

Each class this week is two halves.

  • Wed 09/16 — a test drive of the exam, then var, := and for each: loops and state in Pyret.
  • Mon 09/21 — Progress Exam 1, then the first Java class: the same ideas in a second language.

No new reading. Wednesday’s material is taught from the board, and the textbook covers variables in its Python half rather than its Pyret one. Revision is the work instead, and the exam page says how to do it.

Week 3 (9/9—9/15): Lists, map and filter, recursion

A3 comes in three parts that open on different days. Part A needs only Wednesday’s class, so it can be finished Wednesday evening. Part B needs Monday’s, and starting it early makes it look impossible when it is not. Part C uses A2’s if and and/or and is open from Wednesday.

[DCIC] 5.2 — Processing Lists is the half taught on Monday, so reading it over the weekend puts you ahead of the class that covers it.

Week 2 (9/2): Conditionals and booleans

A one-class week. Monday 09/07 is Labor Day, so this week is Wednesday only and the next class is Wednesday 09/09. Under the one-class rule, the reading goes out with the class it opens and is due before the next one.

The reading goes out with this class rather than before it, so you are not expected to have read it beforehand — we start conditionals together on Wed 09/02, and [DCIC] 3.4 — Conditionals and Booleans is there to consolidate it afterwards.

There is no class between 09/02 and 09/09, so A2 has a full week. Conditionals are the last piece you need before we start writing programs that make decisions, which is most of what comes next — this is not a section to skip.

Week 1 (8/26—9/1): Values, expressions, names, functions

Week 0 (8/24): Intro, Pyret, values, expressions