Welcome Page
Daily schedule (lectures, labs, and assignments)
Homework assignments
Copies of the powerpoint slides
Programs shown in class
Class organization
Find out how your homework is graded
Some links relevant to the class
CSC 143
Computer Programming for Engineers and Scientists

Class Schedule

The calendar is updated as we move through the quarter (Don't trust what is written beyond the current week).

 Week
Monday
Tuesday (in class)
Wednesday
Thursday (in class)

 

1

Back to top

Sep 23

Read module "Class organization" on Canvas

Sep 24

Welcome: what to expect in this class?

Extra credit #1 assignment

Inheritance: example

Person, Student, PersonStudentTest

 Sep 25

Practice-It example: BayPondOceanLake

Unit testing: example

Sep 26

Homework 1 help: code + object diagram

Tetris, EventController, Direction, Game, LShape, Square, Grid, TetrisUnitTest

Object diagram

2

Back to top

Sep 30

Lab 1: Interfaces, abstract classes, unit testing.

Extra credit #1 due

Oct 1

Interfaces

Critter, Cow, Buffalo, Bovine, Poodle, Trainable, TestCritter

Quiz 1 practice, solution

Oct 2

Equals (slides: ppt, pdf)

Equals: Car, CarTest, FancyCar

Oct 3

Equals: Car, CarTest, FancyCar

HW#1 due 10/5

3

Back to top

Oct 7

Clone: deep copy vs shallow copy

Car, CarTestWithDeepAndShallowCopy

Video recommended by a student

Oct 8

Lab 2:

Swing, generics, events

generics tutorial

Quiz #1: Notes

Oct 9

Swing, generics, events

Swing: FirstSwingApplication

Oct 10

Introduction to recursion, towers of Hanoi, a first example of algorithm analysis

slides

4

Back to top

Oct 14

recursion

RecursionExamples

Oct 15

recursion practice (see PracticeIt and Codingbat)

Oct 16

Recursive backtracking:

Queens problem Queens.java, Board.java,

solution:Queens.java

HW#2 due

Hw2 test rotation: TetrisTestRotate

Oct 17

Lab 3: Recursive data structure: Box, BoxViewer

Extra credit assignment #2

5

Back to top

Oct 21

Exceptions

Oct 22

Exceptions

UsingExceptions, UsingCheckedExceptions, BadInputException, ExampleWithFinally

See assertions on the Oracle web site

Oct 23

Exceptions

exercises

Oct 24

Lab 4: Streams

UsingFiles, DownloadFile, FileCopy, FileCopy2

StreamsAndRecursion

Quiz #2: Notes, solution


Extra credit #2 due

6

Back to top

Oct 28

No office hour (college-wide professional development day)

Collections: IntroToCollections, MapExample

Collections: practice-it.

Extra credit assignment #3

Oct 29

Introduction to the teaching machine.

Data driven programs

Lab 5: Teaching Machine

Oct 30

Lab 5: Teaching Machine
JavaReview.txt, TMQuestion, TMCourse, TMMain

Oct 31

Lab 5: Teaching Machine
JavaReview.txt, TMQuestion, TMCourse, TMMain

HW#3 due 11/2

7

Back to top

Nov 4

Lab 6:

Collections: ArrayList, LinkedList

Nov 5

ArrayList

Extra credit #3 due

Nov 6

Linked lists

MyArrayList, MyLinkedList, MyList, TestMyList

Nov 7

Exam 1: Notes

Sample, solution

8

Back to top

Nov 11

No office hour: Veterans day

Complexity (notes)

Nov 12

Searching

BinarySearch

Nov 13

Lab 8: sorting

Sorting: neat animations

Nov 14

Sorting (see an optimized version of quick sort)

9

Back to top

Nov 18

BigO examples: examples, solution

Nov 19

Recursive backtracking: exercise

Quiz #3 Notes

Nov 20

Lab 9: trees

Nov 21

Binary search trees

Hw4 help: Adventure, AdvRoom, AdvObject, AdvCommand

HW#4 due
10

Back to top

Nov 25

Binary search trees

BSTree

Nov 26

Lab 9:

Stacks

Nov 27

Trees applications

Tree question, solution

Heap

Nov 28

No class: Thanksgiving day

11

Back to top

Dec 2

Stacks, applications: postfix, infix, prefix

Stack, EmptyStackException, PostfixInfixCalculator, ExpressionFormatException

Dec 3

Lab 10:

Hash set

Hash set (why a prime number?)

Dec 4

Review: sample, solution

Dec 5

Exam 2 (10:30 - 11:35 am)

HW#5 (+ extra credit) due 12/7

12

Back to top

Happy Break to All !!!