Global Challenge Fitness Friend Lesson 3.

Slides:



Advertisements
Similar presentations
Global Challenge Fitness Friend Lesson 2.
Advertisements

Global Challenge Night Sensor Lesson 2.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Night Sensor Lesson 3.
Global Challenge Night Sensor Lesson 2.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Night Sensor Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Love Heart Lesson 3.
Global Challenge Fitness Friend Lesson 3.
Global Challenge Walking for Water Lesson 2.
Global Challenge Love Heart Lesson 3.
Global Challenge Night Sensor Lesson 2.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Fitness Friend Lesson 2.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Walking for Water Lesson 2.
Global Challenge Love Heart Lesson 3.
Global Challenge Love Heart Lesson 3.
Global Challenge Walking for Water Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Night Sensor Lesson 2.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Love Heart Lesson 3.
Global Challenge Walking for Water Lesson 2.
Global Challenge Walking for Water Lesson 2.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Walking for Water Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Night Sensor Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Walking for Water Lesson 2.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Night Sensor Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Love Heart Lesson 3.
Global Challenge Night Sensor Lesson 3.
Global Challenge Night Sensor Lesson 3.
Global Challenge Love Heart Lesson 3.
Global Challenge Fitness Friend Lesson 2.
Global Challenge Night Sensor Lesson 3.
Global Challenge Fitness Friend Lesson 3.
Global Challenge Night Sensor Lesson 3.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Fitness Friend Lesson 3.
Global Challenge Night Sensor Lesson 3.
Global Challenge Walking for Water Lesson 2.
Global Challenge Night Sensor Lesson 3.
Global Challenge Fitness Friend Lesson 3.
Global Challenge Walking for Water Lesson 2.
Global Challenge A bag for Julienne Lesson 3.
Global Challenge Walking for Water Lesson 2.
Global Challenge Flashing Wheels Lesson 3.
Global Challenge Night Sensor Lesson 3.
Global Challenge Love Heart Lesson 3.
Global Challenge Night Sensor Lesson 3.
Global Challenge Love Heart Lesson 3.
Global Challenge Flashing Wheels Lesson 3.
Presentation transcript:

Global Challenge Fitness Friend Lesson 3

We need to: design a Fitness Friend: a wearable device that will give an audio and visual reminder every 25 minutes to do some exercise.

Input Start button pressed Fitness friend algorithms When START button pressed: REPEAT Count 25 minutes (1500000 seconds) OUTPUT audio beep for 1 second OUTPUT visual display ‘Move!’ When STOP button pressed, STOP. Input Start button pressed Count 25 minutes Output Audio beep 1 second Output Visual display ‘Move!’ Is stop button pressed? No Yes Stop

Learning objectives: To follow an algorithm to write a program to create a ‘Fitness Friend’ To use paired programming and understand why it is helpful To test and debug code

Paired programming 2 programmers working together to code One types the code (driver) One watched the driver, checks the code, makes suggestions (navigator) work collaboratively, talking through problems Why might this be helpful? more accurate code written in shorter time can collaboratively work through problems

Sample code for basic Fitness Friend Actual For testing

Sample code for Fitness Friend with stop & start buttons Actual For testing

Explaining your code Talk through the code to explain what each block does. Why have you used those particular blocks? What alternative ways could you have coded the ‘Fitness Friend’? Why did you choose this way? What problems did you encounter and how did you overcome them?

Learning objectives: To follow an algorithm to write a program to create a ‘Fitness Friend’ To use paired programming and understand why it is helpful To test and debug code