CS112: Sample Final Projects
In the cs112 download directory, there is a folder called sampleProjects.
That folder contains all the code for the projects on this page.
Wellesley Softball Scouting Report (Rachel Harris 2014)
(download/sampleProjects/softball)
Relativity (Lynn Geiger 2013)
(download/sampleProjects/relativity)
Chromatic Number (YuShan Dai 2013)
(download/sampleProjects/chromatic)
Brick Breaker (Nritya Kamath 2013)
(download/sampleProjects/brickbreaker)
Wetlands (Jen Errington 2011)
(download/sampleProjects/wetlands)
Cournot & Stackelberg Economic Models (Yasmine Devi-Chou 2012)
(download/sampleProjects/yaz)
Stroop Effect (Sarah Seigel 2011)
(download/sampleProjects/stroop)
Contaminant (Stephanie Lau 2011)
(download/sampleProjects/contaminant)
Neuro Quiz (Preeti Viswanathan 2014)
(download/sampleProjects/neuro)
Economic Data Visualization (Lily Zhou 2011)
(download/sampleProjects/dataVisualization)
Face Symmetry (Yrianna Germosen 2013)
(download/sampleProjects/symmetry)
Economics: Ricardian Model (Jenny Poon 2011)
(download/sampleProjects/ricardian)
Viewing Eye-Tracking Experimental Data (Sarah Koopman 2011)
(download/sampleProjects/tracking)
Psychology: Face Recognition (Tiffany Ho 2010)
(download/sampleProjects/faces)
Biology: Tracking Species Across Depth and Location (Harriet Alexander 2010)
(download/sampleProjects/cruise)
Macroeconomic and Financial Condition Analysis (Leslie Shen 2010)
(download/sampleProjects/econ)
Geosciences: Ice Rafting (Clara Wilder 2011)
(download/sampleProjects/ice)
Determining Insurance Costs (Rifaiyat Mahbub 2012)
(download/sampleProjects/insurance)
Psychology: Analyzing Tongue Twister Experimental Data (Simone Dufresne 2012)
(download/sampleProjects/twist)
Hodgkin-Huxley / Integrate and Fire Neuron Models (Lily Zhang 2012)
(download/sampleProjects/neuron)
Art History: Identifying Artists and Paintings (Christina Nava 2013)
(download/sampleProjects/art)
Mathematics: Cryptography (Serena Zhan 2011)
(download/sampleProjects/crypt)
Viewing Historical Census Data (Jessica Woo 2010)
(download/sampleProjects/census)
German Vocabulary Quiz (Clara Buchholtz 2012)
(download/sampleProjects/german)
Neuroscience: Viewing Single Cell Brain Data (Marken Shedd 2011)
(download/sampleProjects/cell)
Economics: IS/LM/BP Model (Eweline Oleszek 2010)
(download/sampleProjects/islmbp)
Molecular Orbital Theory (Thanh Thu Ngo 2010)
(download/sampleProjects/molecularOrbital)
Type moGUI to start the GUI.
- Choose an element from the drop down menu (carbon, fluorine, etc)
- Click on the buttons in their numbered order:
- valence
- plot MO orbitals
- bonding
- plot electron densities
- is it stable?
Snake (Abigail Perry 2006)
(download/sampleProjects/snake)
Playing the snake game.
Type snakeGUI to start the GUI.
- Pick your level (easy is the default)
- Click start
- Try to eat all the blue food (which makes the snake body grow)
by using the up/down/left/right buttons
- If the snake's body runs into itself, it dies
Click here for Abby's Phase I write-up.
Paper Airplane Simulation (Sharon Kotz 2008)
(download/sampleProjects/airplane)
Simulation of a paper airplane's flight.
Type airplane to start the GUI.
The airplane GUI simulates a paper airplane's flight.
A window will appear with several sets of axes and several parameters
which can be adjusted.
- Wing Angle Slider -- adjusts the angle of the wings
(a top view of the airplane is shown above the slider)
- The user enters launch velocity (meters/sec, reasonable range [1-4]) --
for fun, can try >100 m/sec
- The user enters initial height (meters, reasonable range [2-8]) --
for fun, you can try an extreme height of > 100m
- Push the Launch button
- The three sets of axes on the bottom will display the height, velocity and acceleration of the plane over time
Titration (Jessica Chen 2007)
(download/sampleProjects/titration)
This project makes corrections to flourescence titration data
and uses MATLAB's curve fitting tools.
Type titrationGUI to start the GUI.
- Save flourescence data as signal.txt, volume.txt and peptide.txt.
- Enter a text file name into the Corrected File Name text box for corrected data
- Press the necessary corrections button in any order
- Invert the data should be pressed last
- Press the Done button (the corrected data will appear as a new file)
- In the command window, create vectors for x and y variables of the binding curve equation
using the
textread function. e.g. xvals = textread('volume.txt'); yvals = textread('data1.txt')
- Press the plot button to show the curve-fitting GUI. Choose x and y vectors and create the data set. Tools>Custom Equation>General Equation
- Press New Data button and save new set of raw data