Friday 26 January 2018

Python Lesson 4 - Selection

In this lesson you are going to learn how to use 'selection' in a program.  You've used simple selection before in your Scratch Pacman program last year, eg making a blob disappear when the Pacman touched it and the score changed by 1.



Objectives and Outcomes

  • Be able to explain why selection is useful in a program (giving an example will help with this) (band 4)
  • Be able to apply this by creating a 'virtual barman' program in Python (band 5)
  • Be able to link this to an example of where you have used selection in a program last year (band 6)
Tasks
1.  Open a new blog post and title it the same as this one.

- Explain on your post why selection is useful in programming, giving an example to help your explanation.

2.  Complete the task/s set on Slide 16 of my slideshow - creating your own 'virtual barman' Python program.


Don't forget to paste screenshots to a Google doc as evidence of your work for this lesson!

3.  Complete the extension programming task on Slide 16.

4.  Link this work to Scratch programming last year to achieve band 6 - do this on your blog post.

5.  Share your Google doc correctly (Advanced - change from Private to Anyone with the link) and copy/paste link to your post, underneath your writing for Task 1.

Publish!!



No comments:

Post a Comment