Chris Pollett>Old Classes>CS102, Spring 1999>Hw6

CS 102
HW#6

        Due on the web by 4pm, Tuesday, April 27, 1999. Read Chapter 13 in Deitel and read to page 325 in Bailey. Then make a subdirectory of your homepage directory called hw6 (make sure you have the case right). The command to do this is cd public_html<ret> mkdir hw6 <ret>. Put your source code for this homework here. Leave the modifications on your homework so that no one can read or execute it until you want to submit the homework. When you decided to submit move into your public_html directory and type chmod -R a+rx hw6<ret>. Then under your browser find the class page and click on the homework bot to get it to collect your homework. After doing this, again in your public_html directory, type: chmod 0700 hw6 <ret>.

  1. Do problem 13.25 from Deitel. Call the applet you submit Bounce.java Rather than have the ball bounce randomly make it bounce like a ball normally would. You should use threads. You should support stopping and starting of the ball. Up to 6 bonus points are available if you implement all the additional features which I have implemented below.
    An applet in which one can launch bouncing balls.
  2. Do problems 12.4,12.5,12.10, 13.3 from Bailey. Submit these in a file problems.txt