Computer Science LearnITWithMrC ⛯ Year 7 Year 8 Year 9 GCSE
Responsive image

Create your own Program

What am I Learning today?

I am learning how to use selection with if, elif and else statements
I am learning how to use python to create a simple interactive quiz

Knowledge Organiser

×

Lesson

Task 1 - Getting Organised - PowerPoint Click to see more

  1. Set your Learning Objectives to red.

  2. Open your PowerPoint from last lesson.

If you need to download a copy of thePowerPoint Click here and open Task 1.



Task 2 - Using if elif else - Python Click to see more

Looking at options

If we want to have more than two options when we make a choice, we can do that in python by using an elif statement.

The code below is an example of a question with a set of choices

Activity 1

  1. Copy the code above, then Run it to see what happens .
  2. Screenshot or save the link into your PowerPoint
  3. Remember when we compare if things are equal in python we use == not a single =.


Task 3 - Project Task - Creating a text adventure Click to see more

Project Task - Create a text based adventure game

Now that we have seen how we can use Selection to make choices let's use what we have learned so far to make our own text adventure game in python

Project Task 1 - Create a text title

Use the ASCII Art Creator to make a title for your adventure like mine below


Task 4 - Project Task -A text adventure step by step Click to see more

Now it's time to start creating your own adventure, look at the code below to see the steps you need to follow to create your game


Task 5 - Project Task -An Example Click to see more

LLook at the example code below to see how you can use time and random functions to improve the look and feel of your game


Task 6 - Update Objectives Click to see more

Summing it all up

Lets look at the learning outcomes and decide which one best describes our current level of understanding :

Tick the one you feel is closest to your level

Learning Outcomes I need to learn how to use selection with if, elif and else statements

  • I have a basic understanding of how I can use selection with if, elif and else statements with a little help from my teacher
  • I can show my teacher that I can use selection with if, elif and else statements without their help.
  • I can use selection with if, elif and else statements independently and I can also explain it to others and can complete any extension tasks I am given.

🠜 Now update your learning objectivesClick on the Assessment image

My Notes: Coding-p1

Student_Comment_3 not found

Task Notes/Comments - Add here Click to see more

Comments/Notes

Copyright © 2013 - 2025 LearnITwithMrC