CPSC 124 | Introduction to Programming | Fall 2013 |
Readings are to be done for the class period where they are listed. Warmups are due by midnight before the class for which they are listed.
Optional readings are more advanced or extra material for those who are curious or want to go beyond the basics - you are encouraged to check them out, but they will not be addressed in class.
Dates for things in light gray are tentative and may shift slightly.
Assignments | ||||
---|---|---|---|---|
Week 1: 8/26-8/30Topics: course introduction; the mental landscape; basic building blocks |
||||
Mon | Notes: course introduction | |||
Tue | Reading: Eck sections 2.6.1-2.6.2 (just to get a sense of the process - the lab will introduce the particular tools and directory setup) | lab #1 Introduction to Linux and Java due Tue Sep 3 |
||
Wed | Reading:
Examples:
|
warmup #1 due Tue 11:59pm |
||
Fri | Reading:
Examples:
|
warmup #2 due Thu 11:59pm |
||
Week 2: 9/2-9/6Topics: basic building blocks; algorithms; conditionals |
||||
Mon | In Class: 5-minute syntax quiz on
variable declarations, assignment statements, expressions, input, and
output. Expect questions of the following types:
Notes: program development Examples:
|
|||
Tue | lab #2 First Programs due Tue Sep 10 |
|||
Wed | Reading: Eck sections 2.5.3-2.5.4, 2.5.8, 3.1-3.2 [reading guide]
Examples:
|
warmup #3 due Tue 11:59pm |
||
Fri | Reading:
Examples:
|
warmup #4 due Thu 11:59pm |
||
Week 3: 9/9-9/13Topics: conditionals and loops |
||||
Mon | Reading:
In Class: 5-minute syntax quiz on if statements. Expect questions which ask you to translate pseudocode, such as:
(Note that in pseudocode like this, the indentation matters.) Examples: |
warmup #5 due Sun 11:59pm |
||
Tue | lab #3 Control I due Tue Sep 17 (comments) |
|||
Wed |
Notes: program development, 'if' questions, loop questions
Examples:
|
|||
Fri |
Reading:
Examples:
|
warmup #6 due Thu 11:59pm |
||
Week 4: 9/16-9/20Topics: loops, arrays |
||||
Mon |
In Class: 5-minute syntax quiz on loops. Expect
questions of the form:
As indicated, you'll be provided with code for everything except the loop syntax itself (which will be expressed in pseudocode). You may need to declare loop variables. You can write a while loop or a for loop. Examples:
|
|||
Tue | lab #4 Control II due Tue Sep 24 |
|||
Wed |
Reading:
Examples:
|
warmup #7 due Tue 11:59pm |
||
Fri |
Examples:
|
|||
Week 5: 9/23-9/27Topics: arrays, subroutines |
||||
Mon |
Reading:
In Class: 5-minute syntax quiz on arrays. Expect questions of the following types:
Examples:
|
warmup #8 due Sun 11:59pm |
||
Tue | lab #5 Arrays due Tue Oct 1 |
|||
Wed |
Examples:
|
|||
Fri |
Reading:
|
warmup #9 due Thu 11:59pm |
||
Week 6: 9/30-10/4Topics: subroutines |
||||
Mon |
Reading:
|
warmup #10 due Sun 11:59pm |
||
Tue | project
1 Battleship pseudocode due Mon Oct 7 program due Fri Oct 18 |
|||
Wed |
exam #1
Wed 10/2 in class |
|||
Fri |
Reading:
In Class: 5-minute syntax quiz on subroutines and subroutines with parameters. Expect questions of the following types:
Examples:
|
warmup #11 due Thu 11:59pm |
||
Week 7: 10/7-10/11Topics: subroutines and functions |
||||
Mon |
Reading:
Examples:
|
warmup #12 due Sun 11:59pm |
||
Tue | lab #6 Subroutines and Functions due Tue Oct 22 |
|||
Wed |
Examples:
|
|||
Fri |
In Class: 5-minute syntax quiz on functions and
return statements. Expect questions of the following
types:
Examples:
|
|||
Week 8: 10/14-10/18Topics: odds and ends, using objects |
||||
Mon | fall break (no class) |
|||
Tue | ||||
Wed |
Reading:
Examples:
|
no warmup | ||
Fri |
Reading:
Examples:
|
warmup #13 due Thu 11:59pm |
||
Week 9: 10/21-10/25Topics: objects and classes |
||||
Mon |
Reading:
Examples:
|
warmup #14 due Sun 11:59pm |
||
Tue | lab #7 Using Objects due Tue Oct 29 |
|||
Wed |
Reading:
In Class: 5-minute syntax quiz on using objects. Expect questions of the following type:
You may be asked to work with the Card, Deck, and Hand classes, or with a new class. You will be provided with the API of any classes you are to use (including Card, Deck, Hand), similar in format to the Card/Hand/Deck handout. Examples:
|
warmup #15 due Tue 11:59pm |
||
Fri |
Reading:
Examples:
|
no warmup | ||
Week 10: 10/28-11/1Topics: objects and classes |
||||
Mon |
In Class: 5-minute syntax quiz on writing classes as a
blueprint for objects. Expect questions of the following type:
Examples:
|
|||
Tue | lab #8 Writing Classes due Tue Nov 5 |
|||
Wed |
Reading:
Examples:
|
warmup #16 due Tue 11:59pm |
||
Fri |
Examples:
|
|||
Week 11: 11/4-11/8Topics: partially full arrays, dynamic arrays, array lists |
||||
Mon |
Reading:
Examples:
|
warmup #17 due Sun 11:59pm |
||
Tue | project
2 Pac-Man design due Wed Nov 6 program due Tue Nov 19 (comments) |
|||
Wed |
Reading:
Examples:
Reference: |
warmup #18 due Tue 11:59pm |
||
Fri |
exam #2
Fri 11/8 in class |
|||
Week 12: 11/11-11/15Topics: searching and sorting, inheritance |
||||
Mon |
In Class: 5-minute syntax quiz on using ArrayList. Expect
questions asking you to write statement(s) for tasks like the
following:
A section of the ArrayList API will be provided for you for reference. Examples:
|
|||
Tue | lab #9 Partially-Full and Dynamic Arrays due Tue Nov 19 |
|||
Wed |
Reading:
Examples:
|
warmup #19 due Tue 11:59pm |
||
Fri |
Examples:
|
|||
Week 13: 11/18-11/22Topics: inheritance and polymorphism; GUI programming |
||||
Mon |
Reading:
In Class: 5-minute syntax quiz on inheritance. Expect questions of the following types:
Examples:
|
warmup #20 due Sun 11:59pm |
||
Tue | lab #10 Rabbit Hunt due Tue Nov 26 |
|||
Wed |
Examples:
|
|||
Fri |
Reading:
|
warmup #21 due Thu 11:59pm |
project 3 Connect Four due Wed Dec 11 |
|
Week 14: 11/25-11/29Topics: GUI programming |
||||
Mon |
Notes: GUI programs, setting up the user interface
Examples:
More Information on GUIs: |
|||
Tue | work on project | |||
Wed | Thanksgiving break (no class) |
|||
Fri | ||||
Week 15: 12/2-12/6Topics: GUI programming; wrapup |
||||
Mon |
Reading:
Notes: handling events Examples:
More Information on GUIs:
|
no warmup | ||
Tue | work on project | |||
Wed |
meet in Gulick 208
Examples:
|
|||
Fri | Notes: from idea to program | |||
Reading Period and Exams: 12/7-12/13 |
||||
Sat | ||||
Sun | ||||
Mon | ||||
Tue | ||||
Wed |
exam #3
Wed 12/11 1:30-4:30pm |
end-of-semester deadline no work accepted after 12/11 4:30pm |
||
Thu | ||||
Fri |