CS305J Assignment 1, Learning to Use the Course Software

Programming Assignment 1 Individual Assignment. You must complete this assignment by yourself. You cannot work with anyone else in the class or with someone outside of the class. You are encouraged to get help from the instructional staff.

Placed online: Tuesday, August 26
10 points, ~1% of total grade
Due: no later than 11 pm, Friday September 5
General Assignment Requirements

Description The purposes of this assignment are:
  1. Learn how to use the software programs required for the course including the Java compiler, the Dr Java IDE, the course listserv, and the turnin program.

In this assignment you will simply be typing in a given program not designing one on your own. You will copy, examine, compile, run, edit, compile again, and run again a program we wrote for you.


When finished turn in your Factorial.java program using the turnin program.

Steps to Complete Assignment
  1. Go to http://www.cs.utexas.edu/facilities/computing/ to request a CS lab account. You must remember the account name and password you choose. They will not be emailed to you. You must have this account to turn in your files, even if you do not plan on working in the lab.
     
  2. Sign up for the class listserv. There is a class listserv to facilitate communication in the class.
  3. (If you are working in the lab skip to step 5.)
    If you are planning on working at home during the semester download Java on to your computer by following the instructions on the class web page.
     
  4. If you are planning on working at home during the semester  and you want to use an interactive development environment to help you create and run Java programs I suggest you use Dr. Java. See this page for links for downloading and running Dr. Java.
     
  5. Once you have your environment set up type in the code for the Factorial program.

    I am not providing a copy and paste version of Factorial.java because I want you to get the experience of having to get syntax exactly correct when programming.
     
  6. Compile and run the program.
     
  7. Edit the program. Fill in your name, date, and answer the questions included in the comment at the top of the Factorial program. Do not remove the questions. Simply type in your answers after the questions. try to change the program so that it prints out the result of factorial up to 100 instead of 50.
     
  8. Save your program! If you are working in the lab it is very important to do this. The microlab machines do not save your work! They delete it as soon as you log off. You may save your files using the turnin program , or transfer them onto a USB memory stick, or send them to yourself in email, or use webspace .
Submission Turn in your Factorial.java program using the turnin program. Ensure you turn in the correct, changed file to the correct location! If you do not turn in the correct file you will very likely end up wasting slip days or getting a 0 on the assignment.

Turn in your file to your cs305j folder! Realize that your turnin account will have multiple folders (or directories) if you are registered for more than one computer science class. (For example CS301k). Ensure you turn your assignment in to your CS305j folder. We don't have access to your other folders so it will cost you 2 slip days if we have to take the time to straighten out the mistake.

Files
File Responsibility
Factorial.java (Picture of program at this web page.) Provided by me and you.
Checklist Did you remember to:
  • review the general assignment requirements?
  • work on the assignment individually?
  • fill in the header and answer the questions in your file Factorial.java?
  • ensure your program does not suffer a compile error or runtime error?
  • turn in your Java source code in a file named Factorial.java to the proper folder in the Microlab via the turnin program before 11 pm, Friday, September 5?

  Back to the CS 305j homepage.