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

Apr 7

Welcome: what to expect in this class?

What is a computer? (Canvas video)

Apr 8

Java objects: what is an object?

Writing a Java program (Eclipse IDE)

HelloWorld

 Apr 9

Lab 1:

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

Writing a class - a first example (Canvas video)

Apr 10

Java objects: writing a class - a first example

Person, PersonUser

2

Back to top

Apr 14

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

Apr 15

Java objects: more about writing a class.

Vocabulary list

using String: notes

Apr 16

Using graphics: notes, FirstGraphicsApp

(Canvas video)

Apr 17

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

FaceScene, SmilingFace

Exercises #1 (due 4/18)

3

Back to top

Apr 21

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

Apr 22

Programming project 1, quiz 1: explanations

Apr 23

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

Book, LibraryMember, LibaryMemberTest

Apr 24

Instance Methods: defining a method

Quiz 1

4

Back to top

Apr 28

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

Apr 29

Instance Methods: calling a method, PracticeIt examples (ex1, ex2, ex3), written homework #2 explanations

Apr 30

Using the debugger in Eclipse (Canvas video)

Programming project #1 due

May 1

Lab3: Using several classes, the String class

SmilingFace, PineTree, FunnyPicture

Exercises #2 (due 5/2)

5

Back to top

May 5

Primtive types (Canvas videos: part 1 + examples)

May 6

Class exercise

Dog, DogUser

May 7

Primtive types (Canvas video: part 2)

May 8

Primtive types: examples

Lab4: Arithmetic

Programming project #2 due 5/10

Quiz 2

6

Back to top

May 12

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

May 13

Parameter practice

References and primitives: ReferenceVsPrimitive

May 14


No office hour (college-wide professional development day)

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

May 15

InputExample

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

7

Back to top

May 19

Iterations (see Canvas video: Loops)

May 20

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

Programming project #3 due

May 21

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

May 22

Exam 1

sample1, sample2

Exercises #3 (due 5/23)

8

Back to top

May 26


Memorial Day (no office hour)

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

programs shown in class: Mandelbrot, MandelbrotWithIterations

May 27

Lab 6: Iterations, ArrayList

ArrayListFirstExample

ArrayListExample,

May 28

ArrayLists, Arrays (1D)

(see Canvas videos: ArrayList - an introduction, ArrayList examples, 1D arrays)

May 29

Arrays (1D)

Lab 7: 1D arrays, mouse events

RandomArray

Quiz 3

9

Back to top

June 2

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

June 3

Lab 8: 2D arrays, designing several classes

TwoDimensionalArray

June 4

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

Exercises #4 (due 6/5)

June 5

Inheritance: what is inherited

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

10

Back to top

Jun 9

Inheritance (see Canvas video: Inheritance: an introduction)

Jun 10

Lab 9: Overloading, inheritance

Person, Student, PersonStudentTest

Jun 11

Talk by a former student (see Canvas video)

Exercises #5 (due 6/12)

Jun 12

inheritance: abstract classes, interfaces

Inheritance exercise

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

Quiz 5

Programming project #4 due 6/14

11

Back to top

Jun 16

Exam 2 review

Practice questions, solution

sample exam, solution

sample exam, solution

Jun 17

Exam 2

Jun 18

Jun 19

 

12

Back to top

Happy Break to All !!!