CS 50 Homework 1 (Section 1 — Prof. Marshall)

Due by class time Tuesday, January 29
  1. If you haven't done so already, finish going through the Emacs Tutorial.

  2. Programming Exercise P1.1 (page 45). Name your program MyName.java

  3. Programming Exercise P1.2 (page 45). Name your program ChristmasTree.java

  4. Programming Exercise P1.3 (page 45). Name your program Sum.java

  5. Programming Exercise P1.4 (page 45). Name your program Reciprocals.java


Turning in Your Homework

To turn in your homework, put your Java source code files (i.e., the ones that end in .java, NOT .class) into a single folder named Your Name HW 1 and drop this folder into the drop box.

If you are an off-campus student, you may copy your folder to a CLEAN floppy disk (i.e., one containing no other files or folders), and hand this in at the beginning of class, instead of using the drop box.