Truman's CS1 Work Site

This site represents work that I have done in support of my efforts to learn to program in the CS1 course at SUNY Oswego during the Fall 2020 semester. The materials will be temporally organized for the most part. Links to external sites that pertain to computer programming, problem solving, Java, Web development, and related matters will be placed after the personally created artifacts.

Course Work

Lab 1 "Hello World! Hello You!" A first set of programming examples and exercises designed to establish a framework for learning to program. HelloWorld code + HelloWorld demo | HelloYou code + HelloYou demo

Lab 2 "Hello Painter! Hello Composer!" A first set of programming examples and exercises designed to establish a framework for learning to program. BlueDot code + BlueDot demo | Dorothy code + Dorothy demo | BasicsListener code + BasicsListener demo | Melody code + Melody demo | Target code + Target demo

Lab 3 "Establishing a CS1 Work Site" Setting up a Web site to house programs and demos and a few miscellaneous links.

Lab 4 "Expressions and Shapes World Problem Solving" Writing two programs, one involving arithmetic expressions, the other involving shapes from the NPW. ExpressionsThings code + ExpressionsThings demo | ShapesThings code + ShapesThings demo

Lab 5 "An Interpreter Featuring Loop Forever and Selection" Programs to create three interpreters that paint various colors of dots in an opened window. Interpreter1 code + Interpreter2 code + Interpreter3 code | Dot Demo + Input Dialong box Demo + Error Message Demo + Help Message Demo

Lab 6 "Functions and Commands" Writing two programs featuring both the function and command method. SurfaceAreaOfCube code + SurfaceAreaOfCube Demo | Balloons code + Balloons Demo | Alternate Balloons code + Alternate Balloons Demo |

Lab 7 "String Thing" This involves two programs which the first one helps get aquianted with basic character string processing. And the second one provides an opportunity to write string processing code. StringOps code + StringOps Demo | StringThing code + StringThing Demo |

Lab 8 "Array Play" Creating and implementing programs manipulating arrays to create designated products. Primes code + Primes Demo | Streets code + Streets Demo | ReverseCopy code + MariaImDrunk Text + MariaImDrunk Reversed Text |

Lab 9a "Simple List Processing" Creating and implementing programs manipulating arrays to create designated products. Primes code + Primes Demo | Streets code + Streets Demo | ReverseCopy code + MariaImDrunk Text + MariaImDrunk Reversed Text |

Lab 10 "Establishing and Using Classes" Die Program which models a die which you get a chance after you rool, and rolerm a program that creates and uses die objects. Die code + Roller code + Roller Demo |

Lab 11 "Modeling Object with Classes" Create the Person class and have different Demo People within the classes. Person code | PersonDemo1 code + PersonDemo1 Demo | PersonDemo2 code + PersonDemo2 Demo | PersonSpecification |

Lab 12 "Grapheme to Color Synesthesia" Takes the form of an interpretor, two parallel arrays are featured in the grapheme to color mapping. GraphemeToColorSynesthesia code + GraphemeToColorSynesthesia Demo |

Lab 13 "Chromesthesia" showing off the Chromesthesia by using the different pitches that corresepond with different colors. Chromesthesia code + Dialog box Demo + Pich code + Chromesthesia Demo |

Assignments

Programming Assignment 1: Microworld Problem Solving" Programs to create images in the Nonrepresentational Painting World (NPW) and sonic sequences the Modular Melody World (MMW). RedCross code + RedCross demo | MysterySong code+ MyesterySong Demo| MinuetFigureListener code + MinuetFigureListener Demo |

Programming Assignment 2: Microworld Problem Solving" Programs to that write computational solutions to the Nonrepresentational Paintering World (NPW) and the Modular Melody World (MMW). Kanizsa code + Kanizsa demo | Dots code + Dots Demo| AfterJSB code + AfterJSB Demo |

Programming Assignment 3: Shapes World Problem Solving" Programs to that write computational solutions to the Nonrepresentational Paintering World (NPW) but not using the painter functionality. Messy Desk code + Messy Desk demo | White Area code + White Area Demo| Grey and Yellow Tablecloth code + Grey and Yellow Tablecloth Demo | The Shipping Container code + The Shipping Container demo |

Programming Assignment 4: Nonrepresentational Artistic Expression" Programs to that write computational solutions but all in the context of the Nonrepesentational Painting World (NPW). Making use of both the painter functionality and the shapes functionality of the world Text Rectangles code + Text Rectangles demo | Colored Squares code + Colored Squares Demo| Hirst Squares code + Hirst Squares Demo | Hirst Dots code + Hirst Dots demo | Simple Dots code + Simple Dots demo | Deterministic Invention code + Deterministic Invention Demo| Nondeterministic Invention code + Nondeterministic Invention Demo | Stella code + Stella demo |

Programming Assignment 5: Three List Interpreters" Programs to that write computational solutions that all pertain to the storage and manipulation of lists. NumberList code + NumberList demo | WordList code + WordList Demo| WordList(arraylistplay) code + WordList(arraylistplay) Demo |

Programming Assignment 6: The Inflatable Household" Programs that use previous knowledge from the course to create balloon people and balloon families. BalloonPerson code + BallooPersonTester code + BallooPerson Demo | Balloonfamily code + BalloonfamilyTester code + Balloonfamily Demo |

Various external sites relating to course content

Java Notes | Think Java: How to Think Like a Computer Scientist | Java Examples | Oracle's Java SE Tutorial | WWW Consortium