Resources
Frequently Asked Questions
Is this the right Computer Science course for me?
Where are computer clusters on campus?
How do I download Eclipse, with Ambient, to my home machine?
I unzipped Eclipse, but won't start. Why?
How do I perform basic tasks in Eclipse?
How do I download, document, and submit assignments for this class?
How can I get help from the course staff?
Where are tests from previous semesters that I can use to review for this semester's tests?
How do I post a Java applet on my web page?
Where can I find the basic methods and operations for Java that we use in this course?
Java
Java API
- documentation you should have open any time you are programming
Princeton Library API
- documentation for libraries from
Introduction to Programming in Java
The Java Tutorial
- Sun's standard tutorial
Common Syntax Error Messages
Java Coding Conventions
- how to capitalize, do line breaks, indentation, etc.
Sedgewick & Wayne booksite
JavaBat
: good online Java practice problems
Nick Parlante
's indispensible advice on coding.
Debugging Zen
: basic tips and strategies for debugging. A must read!
Documentation
. How to write good, readable code.
Decomposition & Style
: breaking down your program into sensible functions is a very good thing. This article tells you how to do it. It's targetted for C and C++, but it's applicable to Java.
Thinking in Java
by Bruce Eckel (online Java book)
More help on Scanner, Split, and Parsing
Eclipse: An Integrated Development Environment (IDE)
Eclipse
- used in class to edit, compile, and run Java programs
Instructions for installing Eclipse (and Java) on your own computer
and a
video of the process
.
Instructions for using Eclipse to do classwork
Duke Specific Resources
Older tests
from CompSci 100 & 100e.
OIT On-Line Help Page
OIT Software Library
: software available to Duke Students
Academic Resource Center
Last modified: Mon Feb 21 17:43:58 EST 2011