file:///home/syoun/public_html/CS212WorkSite/index.html

San'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.

Course Work

Lab1 "Hello World!" 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(Dolly) code + Dorothy(Dolly) demo | BasicsListener code + BasicsListener demo | Melody(Mello) code + Melody(Mello) demo | Target code + Target demo

Programming Assignment 1: Microworld Problem Solving" Programs to create images in the Nonrepresentational Painting World (NPR) and sonic sequences the Modular Melody World (MMW). RedCross code + RedCross demo | KanizsaSquare code + KanizsaSquare demo | Dots code + Dots demo | ThreeFigureMinuetThing code + ThreeFigureMinuetThing demo | MinuetFigureViewer code + MinuetFigureViewer demo | AfterJSB code + AfterJSB demo

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

Lab4 "Expressions and Shapes World Problem Solving" The first program involves arithmetic expressions. The second program involves shapes from the NPW. You will also be asked to post these programs, as well as output generated by these programes, to your work site. ExpressionsThing Code _ ExpressionsThing Demo | ShapesThing Code ShapesThing Demo ShapesThing String

Programming Assignment 3: Shapes world Problem Solving" Programs to create images in the Nonrepresentational Painting World (NPR) and sonic sequences the Modular Melody World (MMW). Work Area Code + Work Area demo | White Area code + WhiteArea demo | Yellow Space code + Yellow Space demo | Shipping Cotainer code + Shipping Container demo

Lab5 "An interpreter Featuring Loop Forever and Slection" For this lab you will be asked to write a sequence of three interpreters. An interpreter is a program that RECOGNIZES and RESPONDS to commands. The interpreters will display dots of various colors in a window. Input will be obtained through one kind of DIALOG box. Output associated with a HELP command, as well as ERROR messages, will be displayed through another kind of DIALOG box. Interpreter1 code | Interpreter2 code | Interpreter3 code

Lab6 "Functions and Commands" For this lab you will be asked to write one Programe that features FUNCTIONS and one program that does COMMANDS.A FUNCTION is a method that is characterized by the returen of a value. Any actions performed during execution of the method are performed in the service of computing the value to be returned A COMMAND is a method that is characterized by performing some action. Any values that are computed during execution of the method are computed in the service of performing the action. You will be asked to nidfully engage in the process of stepwise refinement as you prepare the first two programs for execution. Finally, you will be asked to perform a simple program alteration. SurfaceAreaOfCube code _ SurfacceAreaOfCube Demo | Balloons code _ Balloons Demo | AlternativeBalloons code _ AlternativeBalloons Demo

Lab7 "Functions and Commands" StringOps code _ StringOps Demo | StringThing code _ StringThing Demo

Lab8 "Array Play" Primes code _ Primes Demo | Streets code _ Streets Demo | ReverseCopy code _ ReverseCopy Demo

Lab9 "ArrayList play" Primes code _ Primes Demo | Streets code _ Streets Demo | ReverseCopy code _ ReverseCopy Demo

Lab10 "Establishing and Using Classes" Die code _ | Roller code _ Roller Demo

Lab11 "Modeling Objects with Classes" person code _ | PersonDemo1 code _ PersonDemo2 code| PersonSpecification code| PersonDemo1| PersonDemo2|

Lab12 "Grapheme to Color Synesthesia" GraphemeToColorSynesthesia code | GraphemeToColorSynesthesia Demo

Programming Assignment 4: Nonrepresentational Artistic Expressions" Your task is to write several separate Java programs for this assignment, all but one in the context of the Nonrepresentational Painting World (NPW). These programs, with the one exception, will make use of both the painter functionality and the shapes functionality of the world. You will be asked to place each of these programs, including the one exception, in the npw package of your CS1 project. . TextRectangle Code + TextRectangle demo | Circle Of Squares code + Circle Of Squares demo | Hirst Square code + Hirst Square demo | Hirst Dots code + Herst Dots demo | + SimpleDots Code| + SimpleDots demo|+ Invention1 code|+ Invention1 demo | + Invention2 Code| + Invention2 demo| + Stella Code+| + Stella demo+

Programming Assignment 5: Three List Interpreters Your task is to write three separate Java programs for this assignment, all pertaining to the storage and manipulation of lists. The first two will feature arrays. The last one will feature an ArrayList object. NumberList Code + NumberList demo | WordList code + WordList demo | WordList with arrayList code + WordList with arrayList demo | >+

Programming Assignment 6: Chromesthesia Chromesthesia Code + Pitch (class) code | Chromesthesia code + Pitch (class) code | Chromesthesia code + Pitch (class) code | Standard Stream output of the latest version Demo | imageRepresentation.png | warningBox |

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