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
CSC142 icon
CSC 142

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 (on line)
Tuesday (in class)
Wednesday (on line)
Thursday (in class)

 

1

Back to top

Jan 6

Welcome: what to expect in this class?

What is a computer? (Canvas video)

Jan 7

Java objects: what is an object?

Writing a Java program (Eclipse IDE)

HelloWorld

 Jan 8

Lab 1:

Writing a Java program: using the Eclipse IDE (Canvas video)

Writing a class - a first example (Canvas video)
Jan 9

Java objects: writing a class - a first example

Person, PersonUser

2

Back to top

Jan 13

Object based programming: class design (class diagram and object diagram - Canvas video)

Jan 14

Java objects: more about writing a class.

Vocabulary list

using String: notes

Jan 15

Using graphics: notes, FirstGraphicsApp

(Canvas video)

Jan 16

Lab2: Class design: using methods (in class and also as Canvas video)

FaceScene, SmilingFace

Exercises #1 (due 1/17)

3

Back to top

Jan 20

Martin Luther King, Jr. Day

Jan 21

Class diagram, object diagram, swapping variables, etc. - an illustration (Canvas video)

Programming project 1, quiz 1: explanations

Jan 22

LibraryMember example: A first view of conditionals (Canvas video)

Book, LibraryMember, LibaryMemberTest

Jan 23

Instance Methods: defining a method

Quiz 1

4

Back to top

Jan 27

Instance methods: control flow, local variable vs instance field (Canvas video)

Jan 28

Instance Methods: calling a method, CodeStepByStep examples (ex1, ex2, ex3)

Written homework #2 explanations

Jan 29

Using the debugger in Eclipse (Canvas video)

Hw1 help: MountainScene, SnowMan

Programming project #1 due

Jan 30

Lab3: Using several classes, the String class

SmilingFace, PineTree, FunnyPicture

Exercises #2 (due 1/31)

5

Back to top

Feb 3

Primtive types (Canvas videos: part 1 + examples)

Feb 4

Class exercise

Dog, DogUser

Feb 5

Primtive types (Canvas video: part 2)

Feb 6

Primtive types: examples

Lab4: Arithmetic

Programming project #2 due 2/8

Quiz 2

6

Back to top

Feb 10

Conditionals (Canvas videos: conditionals, examples of conditionals expressions)

Feb 11

No class (college-wide professional development day)

Feb 12

Conditionals (Canvas videos: Writing a method that returns a boolean: some examples, Examples of code with conditionals)

Feb 13

Parameter practice

References and primitives: ReferenceVsPrimitive

InputExample

Lab 5: Call by value, conditionals, standard I/O

Quiz 2

7

Back to top

Feb 17

Iterations (see Canvas video: Loops)

Presidents' Day

Feb 18

Conditionals: CodeStepByStep 4.1, 4.2, 4.5, 4.7, 4.9, 4.19, 4.21

Feb 19

Iterations examples: ex1, ex2 (see Canvas video: for, while, do-while examples with PracticeIt (now CodeStepByStep))

Feb 20

Exam 1

sample1, sample2

Exercises #3 (due 2/21)

8

Back to top

Feb 24

Iterations: MandelbrotSet (see Canvas videos: Mandelbrot set - parts 1 and 2)

Feb 25

Lab 6: Iterations, ArrayList

ArrayListFirstExample

ArrayListExample,

Feb 26

ArrayLists (see Canvas videos: ArrayList - an introduction, ArrayList examples)

Feb 27

Illustrations of the Mandelbrot set: Mandelbrot, MandelbrotWithIteration

Arrays (1D)

Lab 7: 1D arrays, mouse events

Quiz 3

Programming project #3 due 3/1

9

Back to top

Mar 3

1D - 2D arrays (see Canvas video: 1D-2D arrays examples)

RandomArray

Mar 4

Lab 8: 2D arrays, designing several classes

TwoDimensionalArray

Mar 5

Overloading, static keyword, scope, packages
(see Canvas videos: Methods revisited)

Mar 6

Inheritance: what is inherited

Quiz 4
(See videos on Canvas to prepare for the quiz)

Exercises #4 (due 3/7)

10

Back to top

Mar 10

Inheritance (see Canvas video: Inheritance: an introduction)

Mar 11

Lab 9: Overloading, inheritance

Person, Student, PersonStudentTest

Mar 12

Talk by a former student (see Canvas video)

Mar 13

inheritance: overriding

Quiz 5

Exercises #5 (due 3/14)

11

Back to top

Mar 17

inheritance: abstract classes, interfaces (see Canvas video)

Mar 18

Inheritance exercise

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

Mar 19

Exam 2 review

Practice questions, solution

sample exam, solution

sample exam, solution

Mar 20

Exam 2

12

Back to top

Mar 24

Programming project #4 presentations (on zoom for extra-creditl)

Programming project #4 due

Happy Break to All !!!