CS 111 - Program Design I

Sample Code Page - Fall 2015

Link to Image Files

Sound Manipulation Examples

Picture Manipulation Examples Turtle Drawing Examples
  • Lect0924a.java - code that uses the loop variable to determine the size and color of the drawn shape
  • Lect0922b.java - Write drawHexagon() that will draw with a line thickness value as set by a parameter
  • Lect0922a.java - Write drawHexagon() that will take a color value as one of the parameters to draw the shape in that color for the function only. The color used by the turtle is reset to its previous color after the shape is drawn
  • Lect0917g.java - Call drawHexagon() multiple time from main() in a loop and rotating the turtle a small amount after each call
  • Lect0917f.java - Call drawHexagon() multiple times from main() in a loop and shifting the turtle over a small amount after each call
  • Lect0917e.java - Write drawHexagon() and drawCircle() methods
  • Lect0917d.java - Rewrite the drawSquare () methods using while loops
  • Lect0917c.java - Select a Picture from the file system using pickAFile(), draw on it, and save it back to the file system
  • Lect0917b.java - Select a Picture from the file system using a hardcoded name
  • Lect0917a.java - Draw on a blank Picture
  • Lect0915b.java - Multiple drawSquare methods
  • Lect0915a.java - Calling a method with different parameters
  • Lect0910d.java - Using our own method to draw a square
  • Lect0910c.java - Draw multiple squares of different colors
  • Lect0910b.java - Same as Lect0910a.java but using poor coding style
  • Lect0910a.java - Draw 2 squares with one turtle
  • Lect0908b.java - Make a simple drawing using turtles
  • Lect0908a.java - Place a Turtle on a World
Java Code Examples -- Main.troy - 2015-08-19
Topic attachments
I Attachment Action Size Date Who Comment
Java source code filejava Lect0827a.java manage 0.6 K 2015-08-28 - 18:52 UnknownUser  
Java source code filejava Lect0827b.java manage 1.1 K 2015-08-28 - 18:53 UnknownUser  
Java source code filejava Lect0903a.java manage 1.0 K 2015-09-07 - 21:02 UnknownUser  
Java source code filejava Lect0908a.java manage 0.8 K 2015-09-09 - 00:48 UnknownUser  
Java source code filejava Lect0908b.java manage 1.3 K 2015-09-09 - 00:49 UnknownUser  
Java source code filejava Lect0910a.java manage 1.6 K 2015-09-14 - 19:02 UnknownUser  
Java source code filejava Lect0910b.java manage 1.9 K 2015-09-14 - 19:02 UnknownUser  
Java source code filejava Lect0910c.java manage 2.3 K 2015-09-14 - 19:02 UnknownUser  
Java source code filejava Lect0910d.java manage 1.9 K 2015-09-14 - 19:02 UnknownUser  
Java source code filejava Lect0915a.java manage 2.0 K 2015-09-15 - 17:42 UnknownUser  
Java source code filejava Lect0915b.java manage 2.3 K 2015-09-15 - 17:42 UnknownUser  
Java source code filejava Lect0917a.java manage 2.3 K 2015-09-18 - 14:23 UnknownUser  
Java source code filejava Lect0917b.java manage 2.3 K 2015-09-18 - 14:24 UnknownUser  
Java source code filejava Lect0917c.java manage 2.5 K 2015-09-18 - 14:24 UnknownUser  
Java source code filejava Lect0917d.java manage 2.5 K 2015-09-18 - 14:24 UnknownUser  
Java source code filejava Lect0917e.java manage 3.0 K 2015-09-18 - 14:24 UnknownUser  
Java source code filejava Lect0917f.java manage 2.6 K 2015-09-18 - 14:24 UnknownUser  
Java source code filejava Lect0917g.java manage 2.5 K 2015-09-18 - 14:24 UnknownUser  
Java source code filejava Lect0922a.java manage 2.4 K 2015-09-24 - 01:54 UnknownUser  
Java source code filejava Lect0922b.java manage 3.0 K 2015-09-24 - 01:55 UnknownUser  
Java source code filejava Lect0924a.java manage 3.1 K 2015-09-25 - 15:01 UnknownUser  
Java source code filejava Lect1006a.java manage 1.5 K 2015-10-06 - 17:34 UnknownUser  
Java source code filejava Lect1006aErrorFree.java manage 1.6 K 2015-10-11 - 18:55 UnknownUser  
Java source code filejava Lect1006b.java manage 1.6 K 2015-10-06 - 17:34 UnknownUser  
Java source code filejava Lect1006c.java manage 1.6 K 2015-10-06 - 17:34 UnknownUser  
Java source code filejava Lect1006d.java manage 2.2 K 2015-10-06 - 17:35 UnknownUser  
Java source code filejava Lect1006e.java manage 2.2 K 2015-10-06 - 17:35 UnknownUser  
Java source code filejava Lect1008a.java manage 2.3 K 2015-10-11 - 18:45 UnknownUser  
Java source code filejava Lect1008b.java manage 2.2 K 2015-10-11 - 18:45 UnknownUser  
Java source code filejava Lect1008c.java manage 2.2 K 2015-10-11 - 18:44 UnknownUser  
Java source code filejava Lect1008d.java manage 2.2 K 2015-10-11 - 18:44 UnknownUser  
Java source code filejava Lect1013a.java manage 2.6 K 2015-10-13 - 17:53 UnknownUser  
Java source code filejava Lect1013b.java manage 2.9 K 2015-10-13 - 17:53 UnknownUser  
Java source code filejava Lect1020a.java manage 3.3 K 2015-10-23 - 17:34 UnknownUser  
Java source code filejava Lect1020b.java manage 2.3 K 2015-10-23 - 17:34 UnknownUser  
Java source code filejava Lect1020c.java manage 2.3 K 2015-10-23 - 17:34 UnknownUser  
Java source code filejava Lect1020d.java manage 2.3 K 2015-10-23 - 17:34 UnknownUser  
Java source code filejava Lect1020e.java manage 2.4 K 2015-10-23 - 17:34 UnknownUser  
Java source code filejava Lect1020f.java manage 2.8 K 2015-10-23 - 17:34 UnknownUser  
Java source code filejava Lect1020g.java manage 2.4 K 2015-10-23 - 17:35 UnknownUser  
Java source code filejava Lect1022a.java manage 2.1 K 2015-10-23 - 17:35 UnknownUser  
Java source code filejava Lect1022b.java manage 2.1 K 2015-10-23 - 17:35 UnknownUser  
Java source code filejava Lect1027a.java manage 3.1 K 2015-10-27 - 19:31 UnknownUser  
Java source code filejava Lect1027b.java manage 4.1 K 2015-10-27 - 19:31 UnknownUser  
Java source code filejava Lect1027c.java manage 5.1 K 2015-10-27 - 19:32 UnknownUser  
Java source code filejava Lect1027d.java manage 2.3 K 2015-10-27 - 19:32 UnknownUser  
Java source code filejava Lect1027e.java manage 2.5 K 2015-10-27 - 19:32 UnknownUser  
Java source code filejava Lect1027f.java manage 2.7 K 2015-10-27 - 19:32 UnknownUser  
Java source code filejava Lect1027g.java manage 2.3 K 2015-10-27 - 19:32 UnknownUser  
Java source code filejava Lect1029a.java manage 2.3 K 2015-11-02 - 01:07 UnknownUser  
Java source code filejava Lect1029b.java manage 3.3 K 2015-11-02 - 01:07 UnknownUser  
Java source code filejava Lect1029c.java manage 3.9 K 2015-11-02 - 01:07 UnknownUser  
Java source code filejava Lect1103a.java manage 4.0 K 2015-11-03 - 18:36 UnknownUser  
Java source code filejava Lect1103b.java manage 2.6 K 2015-11-03 - 18:36 UnknownUser  
Java source code filejava Lect1103c.java manage 2.1 K 2015-11-03 - 18:36 UnknownUser  
Java source code filejava Lect1103d.java manage 2.3 K 2015-11-03 - 18:40 UnknownUser  
Java source code filejava Lect1103e.java manage 2.4 K 2015-11-03 - 18:40 UnknownUser  
Java source code filejava Lect1105a.java manage 2.4 K 2015-11-05 - 19:18 UnknownUser  
Java source code filejava Lect1105b.java manage 0.7 K 2015-11-05 - 19:18 UnknownUser  
Java source code filejava Lect1105c.java manage 1.1 K 2015-11-05 - 19:18 UnknownUser  
Java source code filejava Lect1117a.java manage 1.6 K 2015-11-17 - 18:48 UnknownUser  
Java source code filejava Lect1119a.java manage 2.6 K 2015-11-19 - 18:27 UnknownUser  
Java source code filejava Lect1119b.java manage 1.4 K 2015-11-19 - 18:27 UnknownUser  
Java source code filejava Lect1119c.java manage 2.2 K 2015-11-19 - 18:27 UnknownUser  
Java source code filejava Lect1119d.java manage 2.3 K 2015-11-19 - 18:27 UnknownUser  
Java source code filejava Lect1124a.java manage 2.3 K 2015-11-25 - 18:12 UnknownUser  
Java source code filejava Lect1124b.java manage 2.9 K 2015-11-25 - 18:12 UnknownUser  
Java source code filejava Lect1124c.java manage 2.3 K 2015-11-25 - 18:13 UnknownUser  
Java source code filejava Lect1201a.java manage 2.3 K 2015-12-01 - 19:00 UnknownUser  
Java source code filejava Lect1201b.java manage 3.9 K 2015-12-01 - 19:00 UnknownUser  
Java source code filejava Lect1201c.java manage 4.0 K 2015-12-01 - 19:00 UnknownUser  
Java source code filejava QuickSort.java manage 5.5 K 2015-12-01 - 19:00 UnknownUser  
Java source code filejava SelectionSort.java manage 3.1 K 2015-12-01 - 19:00 UnknownUser  
Java source code filejava Template.java manage 0.6 K 2015-08-28 - 18:52 UnknownUser  
Topic revision: r23 - 2015-12-01 - 19:03:21 - Main.troy
 
Copyright 2016 The Board of Trustees
of the University of Illinois.webmaster@cs.uic.edu
WISEST
Helping Women Faculty Advance
Funded by NSF