SUCCEED

   

programmingHS 2010
Shodor > SUCCEED > Workshops > Archive > programmingHS 2010

Today DeMarcus Hill and Gavin Borg introduced the students to Java using the SIR (Susceptible, Infected, Recovered) Model. The SIR Model shows the result of one sick person being exposed to a large group of healthy people.

At the start of class, Matt showed the students how to access their code and how to change the colors of the sliders. DeMarcus then took over and explained the layout of the SIR Model while showing the students how to create new sliderbars and how to give the sliderbars names using TextCanvas labels. DeMarcus then had the students create the rest of the sliderbars and add them to the sliderbar panel. Once this was complete, Gavin, DeMarcus, and Matt helped the students debug their code before taking a short break.

After the break, Gavin gave further explanation about panel creation, adding buttons to the panels, and applying them to the applet. He then helped the students to create and modify a legend for the graph that would be implemented the next day. After showing an example of the working program, Matt, DeMarcus, and Gavin finished the day by helping all the students debug their programs in order to prepare for Wednesday's class.