programming 3/16/15 3/16 looping, arrays, objects 3/17 object-oriented design and becoming a better...
TRANSCRIPT
Programming3/16/15
3/16 Looping, Arrays, Objects3/17 Object-Oriented Design and Becoming a better
Programmer3/18 Introduction of Conditionals3/19 Introduction If, Or, and Randomness3/20 Introduction If, Or, and Randomness
Date: 3/16 Goal: I can investigate animation looping, arrays,and robjects using java script
Continue Khan Academy Lessons
Complete- Looping, Arrays, Objects
Date: 3/17 Goal: I can investigate animation object oriented design using java script
Continue Khan Academy LessonsGradingDrawing, Coloring, Variables 30
Animation Basics, Resizing, Text, Function, and Logic 50
Continue to finish the lessons tonight and this week.If you finish you will earn extra credit
Date: 3/17 Goal: I can investigate animation object oriented design using java script
Continue Khan Academy Lessons
Complete today- Object-Oriented Design and Becoming a better Programmer
Continue to finish the lessons tonight and this week.If you finish you will earn extra credit
Date: 3/18 Goal: I can investigate how to enhance variable programs with conditions
Bell Ringer: 1. What comes to mind when you hear the word “if”?2. What are some ways we use the word “if” in English?
Date: 3/18 Goal: I can investigate how to enhance variable programs with conditions
Bell Ringer: 1. What comes to mind when you hear the word “if”?
2. What are some ways we use the word “if” in English?
In English, if is used to state a condition where something might happen if the condition is true. Hence this topic is called conditionals.Point out that this is a common computer science construct. Anexample from computing is when a program like Microsoft Word asks
you if you want to save your work when you hit close.If you click yes, it saves your changes. If you click no, itDiscards your changes. If (some condition) then do this
Date: 3/18 Goal: I can investigate how to enhance variable programs with conditions
Conditionals Directions
Go back to Nutrition example and enhance
Date: 3/18 Goal: I can investigate how to enhance variable programs with conditions
Conditionals DirectionsUse your variable example about nutrition and add:1. A message about being nutritious if the number of points becomesgreater than 9. 2. A message about eating healthier food if the number of points Becomes less than –4.3. Have a sprite say the message or use broadcast to change thesprites/stage to convey the message.
Date: 3/19 Goal: I can investigate how to enhance variable programs with conditions
1. Download the Variable Nutritional file to the computer2. Open scratch online scratch.mit.edu3. Upload your Variable Nutritional into the scratch program
Enhance your variable nutrition file and add:4. A message about being nutritious if the number of points becomesgreater than 9. 5. A message about eating healthier food if the number of points Becomes less than –4.6. Have a sprite say the message or use broadcast to change thesprites/stage to convey the messageSave your file and email it to Mr. Stoll (15 min)
Date: 3/20 Goal: I can investigate how to enhance variable programs with conditions
Conditionals Directions
Complete Nutrition example and enhance if you did not finish yesterday
Date: 3/20 Goal: I can investigate how to enhance variable programs with conditions
Finish the age program1. Save the age program file from Mr. Stoll’s web page to the computer2. Open scratch online scratch.mit.edu3. Upload the age program into the scratch program
Use the hand out Day 15 from yesterday to complete the age program4. If you are older than 2 “you don’t need diapers”5. If you are older than 15 “you can drive”6. If you are older than 16 “you can see an R rated movie” 7. If you are older than 17 “you can vote.”8. If you are older than 20 “you can gamble” 9. If you are older than 24 “you can rent a car” 10. . If you are older than 49 “you can retire”
11.Save your file and email it to Mr. Stoll
Date: 3/19 Goal: I can investigate how to enhance variable programs with conditions
Finish the age program1. Save the age program file from Mr. Stoll’s web page to the computer2. Open scratch online scratch.mit.edu3. Upload the age program into the scratch program
Use the hand out Day 15 from yesterday to complete the age program4. If you are older than 2 “you don’t need diapers”5. If you are older than 15 “you can drive”6. If you are older than 16 “you can see an R rated movie” 7. If you are older than 17 “you can vote.”8. If you are older than 20 “you can gamble” 9. If you are older than 24 “you can rent a car” 10. . If you are older than 49 “you can retire”
11.Save your file and email it to Mr. Stoll
Date: 3/10 Goal: I can investigate animation basics and resizing using java script
Problems on the lessons.
Make sure you read the problem to make sure you understand the problem
Watch the video again if you still can’t solve the problem
Date: 3/10 Goal: I can investigate animation basics and resizing using java script
Continue Khan Academy LessonsComplete- Animation BasicsIntro to Animation Challenge: Exploding Sun Mouse InteractionChallenge: Tasty TomatoChallenge: Mouse movement maniaIncrementing ShortcutsA shorter shortcutChallenge: Parting CloudsProject: Shooting Stars