CSCI 161: Introduction to Programming I
Spring 2012
| Section | Days | Time | Room |
| 02 | M F | 1:00pm -- 1:50pm | Roddy 147 |
| - | W | 1:00pm -- 2:50pm | Roddy 147 or STB 130 |
| 03 | M F | 2:00pm -- 2:50pm | Roddy 147 |
| - | R | 1:00pm -- 2:50pm | Roddy 147 or STB 130 |
Instructor:
Gary M. Zoppetti, Ph.D.
Office: Roddy 134
E-mail:
Web: cs.millersville.edu/~zoppetti
Office Hours:
cs.millersville.edu/fs/gzoppetti
Final:
Section 02: Tue, 05/08; 10:15am -- 12:15pm
Section 03: Wed, 05/09; 10:15am -- 12:15pm
Syllabus/Assignments:
- Syllabus
- Homework:
- Read Intro to Java Programming
- Read Primitive Data and Definite Loops
- Read Intro to Parameters and Objects
- Read Conditional Execution
- Read Program Logic and Indefinite Loops
- Read File Processing
- Read Arrays
- Programs/Labs (Tentative):
- Unless otherwise specified, a due date of X means the
assignment is due by 11:59 p.m. on day X.
- Lab 1: Hello World! (Linux, Eclipse, and Java), due Tue, 02/07.
Lab 1a,
Lab 1b.
- Lab 2: Figure (Problem Decomposition and Methods), due
Tue, 02/14. Lab 2.
- Lab 3: Coins (Data and Expressions), due Tue, 02/21. Lab 3.
- Lab 4: Rocket ("for" Loops, Problem Decomposition, and
Methods), due Tue, 02/28. Lab 4.
- Lab 5: Song (Parameters), due Tue, 03/13. Lab 5.
- Lab 6: CD Interest (User input, Formatting), due Tue,
03/27. Lab 6.
- Lab 7: Pig Latin I (String Processing, Characters,
Boolean), due Tue, 04/03. Lab 7.
- Lab 8: Pig Latin II (String Processing, Software
Enhancement), due Tue, 04/17. Lab 8.
- Lab 9: Diving (File I/O), due Tue, 04/24. Lab 9.
- Lab 10: muTunes (Arrays, File I/O), due Tue, 05/01. Lab 10.
Useful Links:
- How to Submit
- Creating a Project in Eclipse
- Formatting Reminder: Hit Control+Shift+F in Eclipse to
format your program periodically and before you submit.
- Lecture Slides
- Practice-It!
(Practice Problems)
- Sample Exam Questions
-
Color Table
- Color
Palette Applet
- My Code Samples
-
Source Code from the Text
(Building Java Programs, 2nd Edition)
- Student Code of Conduct
- Course Expectations
-
How Much Information? (Executive Summary)
- Units of
Measurement
- Downloads (for working at home):
- Eclipse IDE
for Java Developers. Choose the Eclipse IDE for Java
Developers package after following the preceding
link. The appropriate downloads for your platform (Windows,
Linux, or Mac) will be determined by the web page. You do,
however, have to select the 32 or 64 bit version. Save the
archive file to disk, then extract it to your hard drive
(C:/Eclipse works well). On Windows, you can launch Eclipse by
double-clicking
C:/Eclipse/eclipse.exe.
-
Latest Java SE Runtime Environment (JRE) for Windows. You
likely do not need to download this. If you run
Windows you likely have a recent JRE installed via the Java
Update utility that runs in the system tray (bottom-right area
of the desktop). On a Mac system updates include a JRE.
- Files you create on non-lab computers can be transferred
to the lab using a USB flash (thumb) drive. Before you transfer
the files, create a new directory on your Linux
account to store the files (e.g.,
mkdir
~/ProjectName). Transfer only the files that have a
".java" extension to your newly created directory. You can then
launch Eclipse and create a New Java Project. Select "Create
project from existing source" under Contents. Then "Browse..."
to the directory where you stored the transferred files (e.g.,
ProjectName).
- Java
Platform SE 6 API. Documentation for all available classes
and methods for Java SE 6.
- Essential Unix commands
- Accessing the
Linux machines via SSH
Gary M. Zoppetti