HTW Berlin Fachbereich 4 Internationaler Studiengang Internationale Medieninformatik (Bachelor) Info 1: Informatik I Summer Term 2014 |
Laboratory 5 : Lotto and Technical Support |
Pre-lab
This week's lab work is intended give you practice using the Random class and HashMaps.
Please bring these exercises printed out or written out with you to lab. Please have your name on your page.
P1. How do you generate random numbers between 1 and 10 with Java? In what package is the library?
P2. How do you define an array that can count how often the numbers between 1 and 10 are generated? We call this a frequency table.
P3. Where can you find information about the lotto numbers that have been picked in Germany on the Internet?
P4. Where can you find information about javadoc on the Internet?
Lab assignments are due the night before your next class 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
Lotto
Technical Support
Writeup
Submit your writeup as your post-lab to the Moodle area.