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.
// Name: Benedict Brown // PennKey: bjbrown // Section: 101
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.
outputs% java HiFive Jackie Tito Jermaine Marlon Michael
You may print out any sentence you like &emdash; be creative! Make sure to include your name, PennKey, and section in a comment at the top of the file.Michael, Marlon, Jermaine, Tito, and Jackie formed the original Jackson 5.
should outputjava SumThree 2 5 8
2 + 5 + 8 = 15
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:
It is essential that you understand what's where and how to get to it.http://www.cis.upenn.edu/~cis110
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.