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 29

Read module "Class organization" on Canvas

Sep 30

Welcome: what to expect in this class?

Extra credit #1 assignment

Inheritance: example

Person, Student, PersonStudentTest

 Oct 1

CodeStepByStep example

Unit testing: example

Oct 2

Homework 1 help: code + object diagram

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

Object diagram

2

Back to top

Oct 6

Lab 1: Interfaces, abstract classes, unit testing.

Extra credit #1 due

Oct 7

Interfaces

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

Quiz 1 practice, solution

Oct 8

Equals (slides: ppt, pdf)

Equals: Car, CarTest, FancyCar

Oct 9

Equals: Car, CarTest, FancyCar

HW#1 due

3

Back to top

Oct 13

Clone: deep copy vs shallow copy

Car, CarTestWithDeepAndShallowCopy

Video recommended by a student

Oct 14

Lab 2:

Swing, generics, events

generics tutorial

Quiz #1: Notes

Oct 15

Swing, generics, events

Swing: FirstSwingApplication

Oct 16

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

slides

4

Back to top

Oct 20

recursion

RecursionExamples

Oct 21

recursion practice (see CodeStepByStep and Codingbat)

Oct 22

Recursive backtracking:

Queens problem Queens.java, Board.java,

solution:Queens.java

HW#2 due

Hw2 test rotation: TetrisTestRotate

Oct 23

Lab 3: Recursive data structure: Box, BoxViewer

Extra credit assignment #2

5

Back to top

Oct 27

Exceptions

Oct 28

No in-class meeting (see Canvas)

Exceptions

UsingExceptions, UsingCheckedExceptions, BadInputException, ExampleWithFinally

See assertions on the Oracle web site

Oct 29

Exceptions

exercises

Oct 30

No in-class meeting (see Canvas)

Lab 4: Streams

UsingFiles, DownloadFile, FileCopy, FileCopy2

StreamsAndRecursion


Extra credit #2 due

6

Back to top

Nov 3

Collections: IntroToCollections, MapExample

Collections: CodeStepByStep.

Extra credit assignment #3

Nov 4

Introduction to the teaching machine.

Data driven programs

Lab 5: Teaching Machine

Quiz #2: Notes, solution

Nov 5

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

Nov 6

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

HW#3 due

7

Back to top

Nov 10

Lab 6:

Collections: ArrayList, LinkedList

Nov 11

No class: Veterans day

ArrayList

Extra credit #3 due

Nov 12

Linked lists

MyArrayList, MyLinkedList, MyList, TestMyList

Nov 13

Exam 1: Notes

8

Back to top

Nov 17

Complexity (notes)

Nov 18

Searching

BinarySearch

Nov 19

Lab 8: sorting

Sorting: neat animations

Nov 20

Sorting (see an optimized version of quick sort)

9

Back to top

Nov 24

BigO examples: examples, solution

Nov 25

Recursive backtracking: exercise

Quiz #3 Notes

Nov 26

Lab 9: trees

Nov 27

No class: Thanksgiving day

10

Back to top

Dec 1

Binary search trees

BSTree

Dec 2

Lab 9:

Stacks

Dec 3

Trees applications

Dec 4

Trees applications

Tree question, solution

Heap

Hw4 help: Adventure, AdvRoom, AdvObject, AdvCommand

HW#4 due
11

Back to top

Dec 8

Stacks, applications: postfix, infix, prefix

Stack, EmptyStackException, PostfixInfixCalculator, ExpressionFormatException

Dec 9

Lab 10:

Hash set

Hash set (why a prime number?)

Dec 10

Review: sample, solution

Dec 11

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

12

Back to top

Happy Break to All !!!