Assignments


DO ALL ASSIGNMENTS WHEN ASSIGNED. DO WEBTOTEACH WHEN IT LETS YOU IN.

ASST 1
...

ASST 2
...

ASST 3
...

ASST 4
Create your homepage (index.html in public_html). Add a link to Asst4.html. In Asst4.html print your identifying information (comments on your program) and the URL of your homepage. Hand in html files and web pages.

ASST 5
Applet to print your name in red. Hand in .java , too.

ASST 6 Sept 13
Applet to draw two octaves of a piano. Use Loops. See applet.

ASST 7 Sept 13
Applet to draw refrigerator with notes of different sizes, colors, fonts (color,name,style and size). You don't need a picture. See applet. You don't need to hand in HTML from now on, just .java and output.

ASST 8 Sept 13
Applet to draw growing, thickening rectangles (only once). Use Loops. Don't use FillRect. See applet.

ASST 9 Oct 4
Applet to draw notes with alternating messages on your refrigerator each time your page is painted. Change the text, the font and the color of the font.

ASST 10 Oct 4
Applet that has two textfields and a label. Each time your page is painted it prints their product.

ASST 11a Oct 4 Do not submit yet.
Applet to draw moving car each time your page is painted.

ASST 11b Oct 11 Do not submit yet.
Applet to draw car that moves right and left and reset. Use Car class and three buttons. You do not have to include the code for your Car class in this file since you already have a Car.class file. Create and add the buttons. Register the applet. Handle the event. See Pinnochio 3 applet.

ASST 11c Oct 16 HAND THIS IN
Applet to draw car that moves right and left and resets inside a Canvas. Use Carclass and three buttons. Create and add the buttons . Create the canvas. (Send it the Buttons.) Register the applet. Handle the event. Put limits on your Car so it doesn't "fall off".

ASST 12 Oct 4
Change Asst 10 so that hitting enter in the second textfield makes it update the product.

Asst 13 Oct 11
Applet with two buttons (HAPPY and SAD). Pressing HAPPY results in a happy face. SAD results in a sad face being drawn. Be Creative. If you have trouble drawing the smile let me know. See applet.

Asst 14 Oct 11
Create a web page with an Applet that has four buttons, 2 textfields and a label. It should Add, Subtract, Multiply or Divide the values in the textfields and print the result in the label. The user chooses the operation by clicking on the corresponding button. You'll have a simple calculator.

ASST 15 Oct 23
Draw the flag as discussed in class

ASST 16 Oct 25
Write an applet that displays a control "panel" where the A,B,C,D are labels .for the buttons. Below the control panel are 4 displays of CAR canvas with labels below each. When the user clicks a button, the appropriate CAR(A or B or C or D ) carries out the action. See similar applet. I need a donation of a program. Use the Car class you defined in HW 11. Use panels to group the controls for each canvas and a panel to group those panels. Use panels to group each label with each canvas (extended Canvas) object and then use panels to group those panels.
It refuses to add the same label twice. You must recreate it.
You do not have to put the code for Car or CarCanvas in this file.
Start by writing an applet for A only.
Then modify it for A and B.
Then go for C and D.
If you use a loop, the program is less than one page long.
Watch out for various sizes--but don't sweat them.
Hand in code for Car, CarCanvas, and this program (or whatever you called them). Print the output with each car in a different position.

ASST 17 Nov 6
See sheet

ASST 18 Nov 13
See sheet. I'm rethinking this one.

ASST 19 Nov 6
Run a C program under Unix to print your name.

ASST 20 Nov 20
Write a C program that reads an integer and calls a recursive function to print the integer with spaces between the digits. Don't forget the minus sign.

ASST 21 Nov 20
See sheet

ASST 22 Nov 27
See sheet

ASST 24 Dec 4
See sheet

ASST 25 Dec 4
See sheet