Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data: Programming Design and Modularization IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 24, 2013 Marie desJardins University.

Similar presentations


Presentation on theme: "Data: Programming Design and Modularization IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 24, 2013 Marie desJardins University."— Presentation transcript:

1 Data: Programming Design and Modularization IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 24, 2013 Marie desJardins University of Maryland, Baltimore County

2 Semester Game Basic scenario Player makes choices about how to allocate time in each of 15 weeks Game simulates outcomes Possible choices for outcomes Happiness Grades Wealth Possible choices for time (for 168 total hrs/wk) ???

3 Choices: How Time is Spent Eating/drinking, sleeping/zoning out, exercise, showering, laundry Zombie apocalypse, socializing (real or online), participating in clubs, video games, surfing the web, partying, music Studying alone, homework Study group Office hours / tutoring Going to class – listening actively/learning, texting/sleeping/facebooking Working (for $) Commuting

4 Project Choices Made once: number of credits of classes number of hours worked at a job Made weekly: hours spent attending class percentage of class spent actively participating hours spent studying and working on assignments hours spent participating in study groups hours spent on visits to academic resources hours spent on taking care of yourself (sleep, food, exercise...) hours spent on solitary leisure activities hours spent on nonacademic activities with other people

5 Modeling Exercise 1 In your group, discuss the following choice: Hours spent studying and working on assignments by yourself For this choice, Specify a reasonable range (might depend on number of credits taken this semester) Model the effect on each outcome with a mathematical rule E.g. “for each hour spent over 100, happiness goes down by 5%” or “for each hour spent, grades go up by 50%” Be prepared to share your model and argue why it is superior to other models.

6 Competing Models for Hours Spent Studying…

7 Initial Rules Choice NameExpected rangeImpact number of credits of classes 0-21no direct impact number of hours worked at outside job 0-168 for each hour worked, increase total wealth by $5 (to figure in taxes and expenses) hours spent attending class0-#credits if hours < #credits, decrease grade potential by (100*(credits - hours)/(2*credits)); increase happiness by 1% for each hour of class missed percentage of class spent actively engaged 0-100 if percentage < 100, reduce value for “hours spent attending class” by (100 - percentage)% before using it in grades and happiness calculations described below hours spent studying and working on assignments 0-168 if hours 4*credits, decrease happiness by 20% hours spent participating in study groups 0-5 for each hour (up to a max of five), increase grades potential by 2% hours spent on visits to academic resources 0-3 for each hour (up to a max of three), increase grades potential by 5% hours spent taking care of self 0-168 if hours < 70, reduce grades and happiness potential both by (100*(70-hours)/(4*70)) hours spent on solitary leisure activities 0-168for each hour, increase happiness potential by 2% hours spent on activities with other people 0-168for each hour, increase happiness potential by 3%

8 Modified Rules / Notes Choice NameExpected rangeImpact number of credits of classes 0-21no direct impact number of hours worked at outside job 0-168 for each hour worked, increase total wealth by $5 (to figure in taxes and expenses) hours spent attending class0-#credits if hours < #credits, decrease grade potential by (100*(credits - hours)/(2*credits)); increase happiness by 1% for each hour of class missed percentage of class spent actively engaged 10-90 if percentage < 100, reduce value for “hours spent attending class” by (100 - percentage)% before using it in grades and happiness calculations described below hours spent studying and working on assignments 0-168 if hours 4*credits, decrease happiness by 20% hours spent participating in study groups 0-5 for each hour (up to a max of five), increase grades potential by 1.5% and increase happiness by 3% - can depend on size of group hours spent on visits to academic resources 0-3 for each hour (up to a max of three), increase grades potential by 5% hours spent taking care of self 0-168 if hours < 70, reduce grades and happiness potential both by (100*(70-hours)/(4*70)) hours spent on solitary leisure activities 0-168for each hour, increase happiness potential by 2% hours spent on activities with other people 0-168for each hour, increase happiness potential by 3%

9 Modeling Exercise 2 With your group, discuss the two choices in the game that are assigned to your group For these choices, Specify a reasonable range (might depend on other variables) Model the effect on each outcome with an equation Look at the initial rule for inspiration, but don’t be bound by it Be prepared to report out your model and argue why it is superior to the initial rule

10 Semester Project Highlights Implement the Semester Game in Processing Five deliverables To be completed with your project team Individual contributions and grading We’ll be working on some pieces of the project in class We started today I’ll post the final version of the game rules on the online schedule


Download ppt "Data: Programming Design and Modularization IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 24, 2013 Marie desJardins University."

Similar presentations


Ads by Google