Sven'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 2019 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.

Labs

Lab1 "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

Lab2 "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

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

Lab4 "Expression and Shapes World Problem Solving" Programs to find area and other values of shapes made in the canvas

ExpressionsThing code + ExpressionsThing demo | ShapeThing code + ShapeThing demo |

Lab5 "An Interpreter Featuring Loop Forever and Selection" Write 3 interpreters that recognize and respond to commands

Interpreter1 code | Interpreter2 code | Interpreter3 code | Error Message + Help Message + Input Box + Random Colored Circle |

Lab6 "Functions and Commands" Write a program with a function and a program with a command

SurfaceAreaOfCube code + SurfaceAreaOfCube Demo | Balloon code + Balloon Demo | Alt Balloon code + Alt Balloon Demo |

Lab7 "String Thing" Write two programs that focus on writing Strings and using substrings

String Ops code + String Ops Demo | String Thing code + String Thing Demo |

Lab8 "Array Play"

Primes code + Primes Demo | Streets code + Streets Demo | Reverse Copy code + Reverse Copy lyrics + Reverse Copy lyrics reversed |

Lab10 "Dies and Roller"

Die code | Roller Code + Roller demo |

Assignments

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 | KanizsaSquare code + KanizsaSquare demo | Dots code + Dots demo | ThreeFigureMinuetThing code + ThreeFigureMinuetThing demo | MinuetFigureListener code + MinuetFigureListener demo | AfterJSB code + AfterJSB demo

Assignment 2:"Enabling Your Web Work Cited" Put your work on the Work Sited Webpage

Assignment 3 "Expression and Shapes World Problem Solving" Write four separate Java programs for this assignment, all in the context of the NPW. Shipping Container code + Shipping Container demo | White Area code + White Area demo | Work Area code + Work Area demo | Yellow Space code + Yellow Space demo |

Assignment 4 "Nonrespresentational Artistic Expressions" Make some NPW paintings and some shapes out of other shapes

TextRectangle code + TextRectangle demo | CircleOfSquares code + CircleOfSquares demo | HirstSquares code + HirstSquares demo | HirstDots code + HirstDots demo | SimpleDots code + SimpleDots demo | Invention1 code + Invention1 demo | Invention2 code + Invention2 demo | Stella code + Stella demo |

Assignment 5 "Nonrespresentational Artistic Expressions" Make some lists containing words and numbers

NumberList code + NumberList demo | WordList code + WordList demo | WordList code + WordList demo |

Assignment 6 "Chromesthesia" Final assignment using NPW, MMW and arrays

Chromesthesia code + Pitch code | Chromesthesia code + Pitch code | Chromesthesia code + Pitch code | Various notes to use for program | Input Box | Painter box while note is being played |

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