Courses‎ > ‎Software Development 2‎ > ‎Dyrland-Weaver‎ > ‎

Work

All smaller assignments (those posted here) should be uploaded as submodules to the workshop repository in the appropriate assignment directory. Remember to use HTTPS to link your submodule.

Work 9: I'd kinda' like to be the president. So I could show you how your money's spent

posted Mar 17, 2017, 6:38 AM by JonAlf Dyrland-Weaver


It's federal budget season and we thought you might like to know something about where the money goes. 

Submit this in the workshop under d3

Work 8: Why won't anyone listen to me?

posted Mar 8, 2017, 7:49 AM by JonAlf Dyrland-Weaver   [ updated Mar 10, 2017, 10:12 AM ]

  • Create an html/js program with the following features
    • An svg container
    • 2 buttons, one labeled clear, the other labeled move
  • Enable the following event listeners for the svg area
    • Clicking on a blank section of the sag area should create a circle at that position
    • Clicking on a circle once should change its color, no new circles should be added to the svg container
    • Clicking on a circle a second time should remove the circle and add a new one to the svg container at a random location
      • Don't put this all in a single event listener
  • When the "move" button is clicked, the circles should start to move around the svg container, bouncing off the walls
    • The other event listeners should still function as described above.
    • NEW: When circles reach the middle of the svg container, a new circle should be added half the size of the original, going in the opposite direction of the original, and the original circle should decrease its size by half.
    • When circles have a radius < 1, they should be removed from the page.
submit this in the workshop under svg-interactive

Work 7: Vanimainiacs

posted Mar 2, 2017, 9:02 AM by JonAlf Dyrland-Weaver

Recreate the animations from work 5 using svg.

Submit this ins the svg-animation folder in the workshop.

Work 6: Connect the vector dots

posted Feb 28, 2017, 8:35 AM by JonAlf Dyrland-Weaver

Recreate your connect the dots html/javacsript program using SVG instead of the canvas.
  • Every time the user clicks inside the SVG area, a circle should be drawn.
  • After the first circle, every subsequent click should also result in a line from from the previous circle to the next.
  • Include a clear button
    • clearRect() will not work, that is a canvas method. You need to remove all the circles somehow...
Put this under svg in the workshop

Work 5: Animanics!

posted Feb 17, 2017, 7:04 AM by JonAlf Dyrland-Weaver

Create an html5/javascript program that can display the following animations:
Put this in the animation directory in the workshop.

If the name is unfamiliar to you, read this.

Work 4: Connect the dots

posted Feb 14, 2017, 6:44 AM by JonAlf Dyrland-Weaver


Create the page demonstrated in class today. You Should use the same html/javascript files that you had from yesterday.

javascript
  • Your javascript code should be able to to do, at a minimum 2 things
  • Draw a connected series of dots inside the canvas as the user clicks inside it.
  • Clear the canvas when the user clicks the clear button.

Work 3: We Rect that canvas!

posted Feb 13, 2017, 8:24 AM by JonAlf Dyrland-Weaver   [ updated Feb 13, 2017, 9:29 AM ]

Create the page demonstrated in class today.

html
  • The only requirement is that it contain a canvas, you can be as minimalist or opulent as you'd like after meeting that requirement.
  • Oh wait, you also a need a clear drawing button, that's important, but that's it.
  • You'll also need this paddle game.
javascript
  • Your javascript code should be able to to do, at a minimum 2 things
  • Draw a rectangle on the canvas as the user clicks inside it.
    • The rectangle location should be based on the click location
  • Clear the canvas when the user clicks the clear button.
put your html and canvas files in the workshop under canvas

Work 2: Finding more data

posted Feb 6, 2017, 6:54 AM by JonAlf Dyrland-Weaver   [ updated Feb 7, 2017, 6:44 AM ]

Using python and the database from the previous assignment write a program to do the following:
  • Compute the average for each student.
  • Display each students name, id and average.
The points above are not specific steps you need to take in a particular order. You should organize the code however you feel will accomplish the task best.

Work with the same people with whom you did Friday's assignment in the same repository.

But wait, there's more!
  1. Download teachers.csv (attached here)
  2. Create a separate collection for teachers
  3. Each teacher document should contain their name, class, period and students in that class
    1. The student data should be a list of ids that match the ids of students from the other collection.



Do this work in a separate python file

Work 1: hey MON, GO and get some data!

posted Feb 3, 2017, 7:11 AM by JonAlf Dyrland-Weaver

With a table buddy, set about the mission below:

Read data from the same two CSV files you used on your first SQLite assignment, (one containing students and their IDs, another linking said IDs to the students' current grades in some courses) and create a MongoDB database to store the information therein. 

TASK: 
  • Write db_builder.py, which will create a new MongoDB database with a single collection, containing a document for each student.
  • Use your local Simpson's MongoDB server.
  • Name your database with your team name

ATTENTION: 
  • We have a new workshop! It is called workshop2.
  • Save your work in a new repo, linked under the mongo1 folder as TeamName_LastF-MastF-NastF
  • The csv files needed can be found in the new workshop repo

PROTIPs:
  • Use the mongo shell and python shell to test commands before baking them into your Python script.

Work 0: Odds and Ends

posted Feb 1, 2017, 9:14 AM by JonAlf Dyrland-Weaver

Take care of the following tasks:
  1. Fill out the final project reflection form: https://goo.gl/forms/eXk5udtoMDcBjawx2
  2. Fill out the presentation form: https://goo.gl/forms/wKWNZzZoPfAG80Xp1
  3. If you used an API for the final project, fill out the information about the API in the directory shared in your STUY.EDU google drive. The directory is named "Softdev API knowledge base"

1-10 of 10