Welcome Page
Daily schedule (lectures, labs, and assignments)
Homework assignments
Copies of the powerpoint slides
Programs shown in class
What do you think of the class?
Ask for help or help a fellow student
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


Sample programs shown in class

To download the programs, right click on the links and select Save Link As... (netscape) or Save Target As... (explorer).

Display a circle in a graphics window: WindowWithCircle.java

A graphics window with two circles: SomeGraphics.java

Designing classes: LibraryMember.java, Book.java, TestForLibraryMember.java

Binary representation of a number: BinarySystem.java

Standard I/O: InputOutput.java

Loops: Loops.java

Arrays (1D): Arrays.java

Overloading: Calculator.java, Circle.java, Square.java, Triangle.java

public static void main: Salutations.java

inheritance: BankAccount.java, CheckingAccount.java, SavingsAccount.java

interfaces: BusinessContact.java, Customer.java, Provider.java, TestCustomerAndProvider.java

Sorting (there are more algorithms than what we covered in class): SortingAlgorithms.java