COSC 1010
Introduction to Computer Programming
Fall, 2009


Course Description:
Introduction to programming using Java. Also includes an introduction to computer architecture, operating systems, and the object-oriented paradigm. Topics covered within the Java language form a subset of those covered by the level A advanced placement exam. No prior programming experience is assumed.

Course Syllabus

Homework Assignments

Inputs for Assignment #7

A few simple test cases are in inp1.txt, inp2.txt, inp3.txt
Study guide for final exam

Description of Lab 6.

HappyFace.java

Exam 2
The second exam will be Friday, Nov 6. Questions will ask about topics that we've discussed since the first exam. In particular, you should be familiar with sections 4.2, 5.1, 5.2, 5.3, 6.1, 6.2, 6.3, and 7.1.

Exam 1
The first exam was Friday, Oct 2. Here are some study suggestions for the exam.

Late Homework Policy
Late homework submitted within 48 hours of the specified deadline will receive 70% of the grade it would have received on time. Homework more that 48 hours late, but less than one week (168 hours) will receive 50% of the earned grade. No assignments will be accepted more than one week late. If you submit part of an assignment on time and part late, only the late part will be discounted. (If you face extenuating circumstances, please talk to me as early as possible)

Sample code from class
Listings of some of the programs discussed in class.

Reading Schedule in Savitch and Carrano
By:You should be reading:
Sep 2, 20091.1, 1.2
Sep 4, 20091.3, 2.1
Sep 7, 20092.2
Sep 9, 20092.3, 2.4
Sep 11, 20093.1
Sep 14, 20093.2
Sep 17 (for lab)pp.101-108, pp.166-168
Sep 19, 20093.3
Sep 21, 20094.1
Sep 28, 20094.2
Oct 5, 20095.1
Oct 12, 20095.2, 5.3
Oct 14, 20097.1
Oct 15 (for lab)1.4
Oct 26, 20096.1
Oct 28, 20096.2, 6.3
Oct 30, 20096.4, 6.5
Nov 9, 20097.2, 7.3
Nov 11, 20097.4
Nov 13, 20097.5
Nov 23, 20099.1
Nov 30, 200910.1, 10.2
Dec 2, 200910.3

Java 6 API
The API (Application Programming Interface) contains descriptions of many pre-defined classes in Java.

Examples from book
This folder holds Java code for many of the book's examples.

Download Java
If you'd like to run Java on your own computer, you can download the Java Development Kit from Sun for free. I'd recommend downloading JDK 6 with NetBeans (the choice on the download page will be something like "JDK 6 Update 16 with NetBeans 6.7.1", but the version numbers may be different).

Download Textpad
The Textpad editor is not free, but you can download a trial copy from this site.


This site created and maintained by Dr. Michael C. Slattery of Marquette University.
You can contact me at mikes@mscs.mu.edu.