* Home
* Description
* Overview
* Syllabus
* Resources
* Quizzes *
* Announcements
* Assignments
* Projects
* Grades
* Students *
Assignments will be posted here when ready, usually by noon on
Thursdays. If applicable, solutions and/or demos will also be posted. All
assignments are due by midnight on Wednesdays. Assignments are to be
submitted electronically, by following directions as given here. All
assignments are due on the due date before midnight.
There is no late policy. You have to submit whatever you have managed to do
by Wednesday night.
Each of the assignments below includes a small summary. When the
assignments are ready, you can view the full details by following the
link corresponding to the assignment number.
Assignment Outlines
- Assignment
0: (due: Jan 20) Fun with shakey the robot. Introduction
to programming through animation and exercise. Informal introduction
to statements, comments, repeating instructions.
[Details]
- Assignment
1: (due: Jan 27)
Simple Java programs - simple input and output, simple arithmetic
operations on variables. Assignment operator and the ccj class
library. [Details]
[Assignment 1 FAQ]
[Assignment 1 solutions:
Grade.java,
Gas.java, and
Change.java.]
- Assignment
2: (due: Feb 3)
Objects and Strings - creating and instantiating objects, invoking
methods on objects.
[Details]
[Assignment 2 FAQ]
[Assignment 2 solutions:
Comma.java,
Months.java, and
Typing.java.]
- Assignment
3: More strings and objects. (due: Feb 10)
[Details]
[Assignment 3 FAQ]
[Assignment 3 solutions:
Smartpig.java,
Letters.java, and
Deadline.java.]
- Assignment 4: Making decisions, if-else statements, Applets (due: Feb 24)
[Details]
[Second lab exercise]
[Assignment 4 FAQ]
[Assignment 4 solutions:
Smartpiglet.java,
Lettergrade.java, and
Intersect.java.]
- Assignment 5: More if-else
statements. Boolean variables and random numbers. (due: Mar 3)
[Details]
[Assignment 5 FAQ]
[Assignment 5 solutions:
Iguess.java,
Youguess.java]
- Assignment
6: (due: Mar 10) Functions, return values and more
games.
[Details]
[Assignment 6 FAQ]
[Assignment 6 solutions:
Yougues2.java,
Darts.java]
- Assignment
6 - Bonus portion for Spring Break: (due: Mar 24)
Functions, return values and more games.
[Details]
[Assignment 6A - FAQ]
[Assignment 6a solutions:
DartGame.java]
- Assignment
7: (due: Mar 31) Loops and iterations.
[Details]
[Assignment 7 FAQ]
[Assignment 7 solutions:
Iguess2.java,
Blackjack.java]
- Assignment
8: Arrays (due: Apr 9)
Arrays and loops [Details]
[Assignment 8 FAQ]
[Assignment 8 solutions:
Eliminate.java]
- Assignment
9: (due: Apr 13) [Details]
- Assignment
9 supplement (in-lab exercise only): (due: Apr
15/16 in lab) [Details]
In order to submit your assigment to the course account, do the following:
- Start an email message to: a201@cs.indiana.edu. You can do
so by clicking on the above link or by typing in the URL
mailto:a201@cs.indiana.edu to bring up the mailer.
- Attach (not include, make an attachment) each file to the
mail message. You can do this by clicking on the attach button and
selecting the appropriate file(s) from the appropriate drive.
- Make yourself a carbon-copy recipient by typing your email address in
another To: line of the email message.
- Give your message an appropriate subject. The subject should always
be something like "lab0" or "lab1" etc. It should be just like it is
specified, with no capital letters, no spaces between lab and the
number. In-lab exercises should have a "secret" subject that will be
given to you during the lab. Lab instructions will also tell you what
subject to use.
- Send it off.
- Wait for a bit. You should receive two email messages, one from
yourself to yourself (since you copied the message to yourself) and
one from the course account. This usually takes only a few minutes,
but it can take longer, depending on system loads. If you do not
receive a response, then it is likely that your assigment has not
been accepted. If the message "from yourself" shows up as coming
from someone else, your netscape is not configured appropriately, or
you did not log in properly. Make sure you log in as yourself, and
submit again.
- If you feel you submitted incorrect files, feel free to resubmit. You
can resubmit as many times as you like. Only your last submission
will be kept and graded.
- Check the automatic email response to see
whether there were any errors or warnings in the handin process. It
is your responsibility to make sure that your
complete assigment is in on time, so check carefully. Make sure that all
the necessary files are listed and that the file content matches
what you sent.
- If you encounter any difficulties or you
think something may be amiss, contact one of the instructors.
Important: Programs mailed directly to your AI or professor will
not be graded or kept. Only those programs mailed to a201@cs.indiana.edu, with the proper subject line and before the
published deadline, will be graded.