The Computer Science deparment at UIS requests of applicants a sample of Java code they have written. They don’t give any particular guidance as to the desired size or complexity of the code. I am submitting a Black Box game applet, which I think should be sufficient to show that I’m reasonably proficient without being so large as to be difficult to evaluate.
You can play the game online in your browser.