|
CS 4 (aka CS 39L) Introduction to Computing for Engineers
Prof. Jonathan Shewchuk |
The final exam takes place in lab (277 Soda Hall) on Thursday, May 18, 5-8 pm.
This spring, a pilot version of CS 4 is being offered as a freshman/sophomore seminar (CS 39L). This means you will receive individual attention that would be impossible in CS 3 or E 77. To sign up, just register for CS 39L in TeleBears before spaces run out.
CS 39L may be used (by petition) as a replacement for E 77 for students in Mechanical Engineering, IEOR, the Haas School of Business, and some areas of bioengineering. Of course, it may be used as a replacement for CS 3 for EECS students.
Some lecture notes can be obtained by clicking on the lecture titles
(for ASCII) or the PostScript
or PDF
links (which save paper).
| Topic | Reading | Due | |
| 1: January 18 | Overview; expressions & variables
|
Sections 1.1, 1.3-1.6, 2.10 | . |
| 2: January 23 | Types & conditionals
|
Sections 2.1, 2.2, 2.4, 3.4 | . |
| 3: January 25 | Objects & methods
|
Sections 1.8, 1.9, 2.3 | . |
| 4: January 30 | Defining classes
|
Sections 2.7, 6-6.2, 7-7.3 | Homework 1 |
| 5: February 1 | Constructors & pass by value
|
Sections 6.3, 6.5, 6.8 | . |
| 6: February 6 | Loops & boolean operators
|
Sections 3.3, 4.1, 4.2 | Homework 2 |
| 7: February 8 | Physical simulations
|
. | . |
| 8: February 13 | Variables and scope
|
Sections 7.4, 7.7 | Homework 3 |
| 9: February 15 | Arrays
|
Sections 5-5.4 | . |
| February 20 | President's Day | . | . |
| 10: February 22 | 2D arrays & ``for'' loops
|
Section 4.3, Chapter 11 | . |
| 11: February 27 | ``switch'', ``break'', ``continue''
|
. | Homework 4 |
| 12: March 1 | Cellular automata
|
. | . |
| 13: March 6 | Software engineering, overloading, char
|
. | Homework 5 |
| 14: March 8 | Object-oriented programming
|
. | . |
| 15: March 13 | Euclid's GCD algorithm
|
. | Homework 6 |
| 16: March 15 | The stack & the heap
|
. | . |
| March 16 | MIDTERM (in lab) | covers Lectures 1-14 | . |
| 17: March 20 | Recursion
|
. | Homework 7 |
| 18: March 22 | Binary search
|
. | . |
| March 27-31 | Spring Recess | ||
| 19: April 3 | Collision simulation
|
. | Homework 8 |
| 20: April 5 | Fractals & recursion
|
. | . |
| 21: April 10 | Rocket motion
|
. | Homework 9 |
| 22: April 12 | Optimization
|
. | . |
| 23: April 17 | Nelder-Mead simplex optimization
|
. | Homework 10 |
| 24: April 19 | Java interfaces & inheritance
|
. | . |
| 25: April 24 | More inheritance
|
. | Homework 11 |
| 26: April 26 | Linked lists
|
. | . |
| 27: May 1 | Matlab
|
. | Homework 12 |
| 28: May 3 | Performance
|
. | . |