Friday 4 December 2015

Y10 - Intro to Python - The Importance of Planning

Lesson Objectives

 - be able to apply flowcharts to a sequencing program 
 - understand the importance of planning before coding

Starter

Have a little fun on Lightbot - click HERE


Main
Red Task


Draw a flowchart to solve the following problems:
1.   
2. 



Amber Task
Using Flowcharts to plan Python programmes:
     


Python Challenge (Draw flowcharts for the following BEFORE you start coding)


1. SAVE AS rectangle.py
Challenge:
Ask a user for the LENGTH and WIDTH of a Rectangle, than calculate and print the AREA.



Green Task

Python Challenge (Draw flowcharts for the following BEFORE you start coding)



2. SAVE AS circle.py
Challenge:  
Ask a user for the RADIUS of a Circle, than calculate and print the AREA.



Plenary

Share with a partner the importance of planning BEFORE coding


No comments:

Post a Comment