CS106J: Programming Methodologies in JavaScript
Spring 2017
Monday, Wednesday, Friday 11:30am to 12:20pm in Lathrop 282


CS106J Info
Course Schedule
Section Signups
Office Hours


Assn 1: Karel
Assn 2: Simple JS
Assn 3: Breakout
Assn 4: HangKarel
Assn 5: Enigma
Assn 6: Adventure


Week 1 [Solution]
Week 2 [Solution]
Week 3 [Solution]
Week 4 [Solution]
Week 5 [Solution]
Week 6 [Solution]
Week 7 [Solution]
Week 8 [Solution]


Tuesday, May 9th
3:30pm - 5:30pm, or
7:00pm - 9:00pm

Wednesday, June 14th


Lecturer: Eric Roberts
Gates 202
Tu 9:30-11:00

Lecturer: Jerry Cain
Gates 192
We 3:30-5:00

Head TA: Jason Chen
Lathrop Tech Lounge
Tu 3:00-5:00


Final Exam Solution and Statistics Posted

We've published the solution to the final exam as the final handout of the quarter. It includes model solutions to each of the problems along with exam statistics and information about how the exam was curved.

Thank you for a great quarter, and enjoy your summer break.

Adventure Deadline Extended Until 11:59pm

We’ve also decided that we have enough time to look at the Adventure contests on Saturday (one of the advantages of a small class), so we’re extending the contest deadline to 11:59pm on Friday evening as well. More details about the extension were posted earlier on Piazza.

Special Adventure Lecture This Friday

We’ve noted more than a little confusion about the Adventure assignment, so we’re going to spend at least part (and possibly all, depending on the number of questions) of tomorrow’s class going over those aspects of the assignment that have generated the most confusion. We’ll split the discussion of adding JavaScript interactivity to web pages between whatever is left of tomorrow and next Monday’s class.

SJS 1.1.2

We have shipped a new version of SJS that fixes several of the bugs in the SJS 1.1.1 release, which added a number of new features including the ability to work with multiple files. There are probably still some issues, but this release fixes the major ones we’ve heard about. The new release is included in the Assignment6.zip file and is also available here.

New release of SJS

We have shipped a new version of SJS (version 1.0.6) that fixes most of the reported bugs. You can download it by clicking here.

Contest extended

The due date for the Graphics Contest has been extended to Friday. The current version of JSKarel should contain the extensions.

Section Signup


First off, state your preferences for a CS106J discussion section by going here. There's no rush, provided you submit your preferences by Sunday at 5:00pm. Discussion sections begin this coming week.

If you downloaded the Karel programming environment and you're having troubling launching it, let us know. (Mac users might be more successful double clicking on JSKarel.jar instead of the JSKarel application. We're aware of the fact that some people are having trouble launching it, though, and we're working on the problem.


Welcome to CS106J! We are looking forward to a fun quarter. Class starts Monday, April 3rd at 11:30am in Lathrop 282.