Programming Assignment Checklist: Hello World

Goals

Regardless of the operating system that you choose, the goal of Assignment 0 is to make sure that you can:

Frequently Asked Questions

What's a checklist? The programming assignment specifies the general programming assignment. The checklist contains supplemental information, and you are expected to read it prior to submitting your work. Some examples include: links to any preliminary code, a readme.txt template, hints, and frequently asked questions.

What preparation do I need to complete this assignment? Read Section 1.1 and 1.2 of the textbook. If you don't understand something, email or visit your TA for assistance. Don't be bashful about asking for help.

Can I use the booksite instead of the textbook? No, the booksite is a super-condensed version of the textbook; it is suitable for reference while online (for example, while programming). The textbook is intended for use when initially learning new material and when reinforcing your understanding of that material (for example, when reviewing for an exam).

How can I download a program from the textbook? The corresponding section in the booksite contains links to all of the Java programs in the textbook. The link goes to a .java.html file (such as UseArgument.java.html) that is suitable for display in a browser. You can cut-and-paste the code into DrJava as needed. The .java.html file also contains a link to the .java file (such as UseArgument.java); you can right click this link and save the file to your computer.

I don't understand all of the jargon in HelloWorld.java. Should I drop the course? Don't worry—we'll explain this in the first weeks of the course. Do the readings and bring any lingering questions to section.

Do I have to use DrJava? No, feel free to use any development environment you like.

How should I read in user input? Use command-line arguments as specified in the assignment and described in Section 1.2 of the textbook. You will receive a significant deduction for not following directions. We will learn about more general ways to handle user input in Section 1.5.

What program should I use to edit the readme.txt file? Use DrJava. Be careful to save the file as readme.txt and not as a .java file. The readme.txt file must be a plain text file—Microsoft Word .doc or .docx formats and Mac TextEdit .rtf formats are unacceptable.

Submission

Submission. All assignments submissions are electronic, via the course web site. We do not accept email or hardcopy submissions. Here are some guidelines.

Formatting.

Enrichment

Here's the ACM Hello World Page. It contains everyone's first program in over 200 programming languages.