CIS 110

Assignment 0
Programming Assignment


The purpose of this assignment is to introduce you to programming in Java and familiarize you with the mechanics of preparing and submitting assignment solutions. Your goal this week is to learn to use DrJava for editing, compiling, and executing programs.

Hello, World.  The purpose of this step is to set up your computer for developing Java programs.

Programming.  Your job is to write two short programs on your own. We'll assume that you've already created, compiled, and executed HelloWorld.java by following the instructions in the previous part of the assignment.

Remember that every file you submit needs to have your name, PennKey and section number.

Writeup.  With each assignment you must submit a text file named readme.txt that is a narrative description of your work. We provide a readme.txt that you should use as a template. Download this file and answer all questions in the space provided. You will need to read the CIS 110 Collaboration Policy in order to answer the related questions in your readme file.

Browsing the course website.  The next part of the assignment is to browse the CIS 110 website. The address is:

http://www.cis.upenn.edu/~cis110
It is essential that you understand what's where and how to get to it.

Registering for the Piazza discussion board.  Next you should register for the CIS 110 discussion board on Piazza. This will be the main on-line forum for discussing assignments and course material, and interacting with other students and staff. We will also post course-wide announcements on Piazza (which will be e-mailed to the address you provide).

Submitting the assignment.  The final part of the assignment is to submit HelloWorld.java, HiFive.java, SumThree.java and readme.txt via the web submission system. To do this, click the Homework link from the course website, and click on Submit Your Homework. If you aren't already logged in, login using your PennKey. You can submit as many times as you like, but only the last version of each file that you submit will be graded (if you've already submitted a file, you can safely leave that field blank on future submissions unless the file changes). Your submission time will be the submission time of the last file you submit.

Getting help. If anything is unclear, don't hesitate to drop by office hours or email us. TAs will hold office hours in place of section on January 11 and 12. We also recommend reading the checklist, which provides some clarifications and answers to frequently asked questions.