HTW Berlin Fachbereich 4 Internationaler Studiengang Internationale Medieninformatik (Bachelor) Info 1: Informatik I Summer Term 2014 |
Laboratory 6 : Bouncing Balls |
Pre-lab
This week's lab work is intended give you practice working with the basic concepts of programming.
Please bring these exercises printed out or written out with you to lab. Please have your name on your page.
P1. Download the Balls project. Create a BallDemo object and execute the drawDemo and bounce methods. Then read the BallDemo source code. Describe, in detail, how these methods work for your report.
P2. Read the documentation of the Canvas class. Then answer the following questions in writing, including fragments of Java code:
Lab assignments are due before your next lab at 22.00. They may, of course, be turned in earlier. You hand them in by preparing the report in PDF and submitting it to Moodle.
Assignment
Bouncing Balls
Writeup
Submit your writeup as your post-lab to the Moodle area.