9:25 - 10:40 Tuesday and Thursday
Instructor:
Kevin Lillis
429 Ambrose Hall, LillisKevinM at
sau dot
edu, 563-333-6429
This course introduces the fundamental concepts of programming from an object-oriented perspective. Students will study the fundamentals of the Java programming language and its application in problem solving. Topics include data types, control structures, arrays and strings, fundamental data structures and algorithms, file I/O, and an introduction to recursion and GUI programming. All topics will stress good software engineering practices, debugging techniques, and the social implications of computing.
Syllabus, Presentations, Assignments, Announcements, Online Resources, Blackboard
Number Assignment Points Due Date 14 Programming Exercise 7.13 20 Thursday 12/6 13 Magic Square Recognizer 30 Thursday 11/29 12 Write a class called ThreePoints and its tester program. Here are the requirements for this assignment. 35 Thursday 11/15 11 Extra Credit Wednesday 11/14 10 Programming Exercise 6.12 20 Thursday 11/8 9 Programming Exercises P6.1, P6.4 30 Thursday 11/1 8 Programming Exercises P5.2, P5.3 30 Tuesday 10/16 7 Programming Exercises P4.2, 4.5, 4.6 30 Thursday 10/11 6 Programming Exercises P3.3, P3.5, P3.6 30 Thursday 10/4 5 Programming Exercises P3.1, P3.2 20 Tuesdaay 10/2 4 Programming Exercises P2.5, 2.6 20 Tuesday 9/18 3 Programming Exercises P2.1, P2.2, and P2.3 30 Thursday 9/13 2 Programming Exercises P1.5, P1.7
Programming Exercise P1.8, Programming Project 1.130 Tuesday 9/4 1
Review Exercises R1.4, R1.6, R1.7, R1.9 (a and b only), and R1.10 20 Thursday 8/30
There are two ways to terminate a Java program that is running forever. From within NetBeans go the the Build menu and click on the Stop Build/Run command.
You can also open the Windows Task Manager and stop the process named java.exe.
For programming Exercise P5.3 think about swapping the value of two variables. For example, if you have two int variables x and y int x = 5;
int y = 7;then two swap their values you would need to use a temporary variable, perhaps called temp. Then to swap the values of x and y you would do this:
int temp;
temp = x;
x = y;
y = temp;The midterm exam will be on Thursday 10/18 and will cover chapters 1 through 5. Here is my solution for Programming Project 1.1. I have moved all of the software downloads directly into my web site and adjusted the links below. So there should no longer be any problem downloading the software.
Student Companion Web Site for Our Textbook
Online Books
Reference
API specification for the Java 2 Platform Standard Edition 5.0
How to write doc comments for the Javadoc tool
javadoc - The Java API Documentation GeneratorTutorials
Sun's Index of Tutorials
Dick Baldwin's Java tutorials
Java2D: An Introduction and TutorialSoftware
Command Prompt Here Power Toy for Windows XP
Command Prompt Here for Windows Vista
Java Development Kit
Java Development Kit with NetBeans IDE
Textpad Text Editor
NetBeans IDELinks to Additional Online Resources