## Programming Contest Practice

Regardless of whether you participated in the competition, **to practice using input Files you are to do at least 6 practice problems that use input files for me to check off!** For reference here are the presentations on File input:

- File input with Scanner

- Line-based file input

And you can Download this Java example of how to set up an input file for the first problem of the April 2009 contest:** Pr2dot1.java** (which requires the data file: pr21.dat)

These problems are a great way to bring together all that we’ve learned from expressions all the way to file input. Plus, they’re pretty satisfying — I think you’ll find them very approachable.

Pick any 6 from the following sets:

- April 2009 contest – the problem number indicates how many points it is worth. For example, problem 2.1 is worth two points while 9.1 is worth 9 points. Naturally, the higher the point value, the harder the problem! I recommend 5.1, 5.2, 5.3, 5.4, 5.6, 9.3 and 9.6 to practice skills we’ve specifically worked on. Data files. Extra data files.
- Fall 2008 contest – the problem number indicates how many points it is worth. For example, problem 2.1 is worth two points while 9.1 is worth 9 points. Naturally, the higher the point value, the harder the problem! I recommend 2.5, 2.6, 5.1, 5.4, 5.7, 9.1 and 9.8
- Spring 2010 contest / Data files
- Advanced problems – the competition has two divisions: advanced and novice. Advanced is for students who have completed a programming course. Check these out, though, because there are many you can do now…

Congratulations to everyone who participated in last year’s fall competition, I hope we will have a few more winners this year! Here’s the results: Garfield Programming Competition Victory – Fall 2011

[I hope many of you will be interested in joining us for the programming contest December 10th at University of Washington. Register now - **Registrations are due by Monday the 10th of December!** If you need team members, talk to Mr. Bergquist and get on the list of students interested.]