Overview | Schedule | Programs | Datasets | Participants | Staff | Photos | Contact | HOME

Programs

 Link to Program Description HTML webpage.zip Starting files for your webpage; includes index and section template. Website Index The starting template for making your webpage. Section Template HTML Section template for module writeups. Format Examples HTML An html document with several formatting examples. Python (save as .py) macslib.py MACS Plotting Library. Matplotlib and numpy made ever easier. lineFit.py For module 1.F: Plot data points and fit a line to them. sequence.py For module 2.B: Plot a sequence and connect the points, showing growth. fibLoops.py For module 2.C: Practice adding items to a list, using for loops, and the coding the Fibonacci Sequence. cTendency.py For module 3.A: Practice coding mean, median and generate the pseudo code for mode. weatherData.py For module 3.B: Plot time-series data daily, weekly, and monthly. fairDice.py For module 4.C: Use a histogram to determine if random numbers are chosen fairly. cards.py For module 4.E: Use the cards.py program to explore conditional probabilities. zombieDice.py For module 5.B: After playing "zombie dice", program a simplified version of it. randomNumbers.py For module 5.C: Compete against your peers to write the best random number generator. sampleData.py For module 5.D: Sample a height dataset and plot the occurrence count. 1Ddistance.py For module 6.B: Compute distances in one dimension. Add a second dimension. tsp.py For module 6.C: Compute a solution to the travelling salesman problem and compare it with your guess. 3Ddistance.py For module 7.A: Compute distances between points in three dimensions. kMeans.py For module 7.B: Play with k-means. Guess which points belong to each cluster. imageMatrix.py For module 8.B: Play with matrices by modifying the pixels in an image. imageMatrix3D.py For module 8.B: Demo of 3D transformation and projection using 4x4 matrices. fibRecurse.py For module 9.A: Play with recursion and calculate numbers in the fibonacci sequence with recursion. fibRecurse.py For module 9.B: Compare Fibonacci implementations to see which is fastest.
 © The MACS Project Department of Computer Science Colorado State University