PIC 20A Lecture 1, Fall 2017

Ernest Ryu, MWF 9:00–9:50am, MS 5117
Discussion Sections
David Spencer, TR 9:00–9:50am, MS 6221

Basic resources


Lecture slides and code


Homework 1
Homework 2, PlayCard.java
Homework 3
Homework 4, CFPlayer.java, CFGame.java, Test.java
Homework 5, MetaCollection.java, Test.java
Homework 6, Business.java


Sample final

Wednesday, Nov. 1, 9:00–9:50am
MS 5117

Monday, Dec. 11, 11:30am–2:30pm
Location TBD

Teaching staff

Ernest Ryu, My email address.
David Spencer, Spencer email address.

Office hours

Ryu, MWF 10:00–11:00am, MS 7324
Spencer, R 10:00–11:30am, PIC lab


It is the student's responsibility to make sure, at the beginning of the quarter, that he or she can take the midterm and final exams on the specified date and time. Make-ups for the midterm of final exams will be accommodated only under extreme emergencies.

Homework policy and grading scheme

We will probably have 6 homework assignments. They are not of equal difficulty and are not weighed equally. You must complete all homework assignements. However, you have 5 late days and you can use up to 3 late days per homework assignment. The total score, which the final letter grade is based on, is computed with weight: homework 20%, midterm 30%, and final 50%

Collaboration policy

Collaboration is strongly encouraged as it has huge educational and social value. However, we take cheating in exams, quizzes, and homework assignments very seriously. We will report violations. Use common sense to judge what constitutes cheating. Clearly, any form of collaboration in exams and quizzes is cheating.
In homework assignments we have the baseline rule: it is cheating to look at a classmate's code, except when you are expressly helping to debug. For example, copy-pasting part of a friend's code and tweaking is cheating. However, feel free to use pseudocode in discussions.


A grading error must be brought to attention of the teaching staff within 14 calendar days of the due date of the assignment, the date of the quiz, or the date of the exam, and before the date of the final exam to be considered. Correction requests not initiated within this period will not be considered.

PIC lab

The PIC lab (located at MS 2000) is a good place to do your homework.