Task summaryWhat you will learn:
How simple statements can be used to make an algorithm more powerful. By using simple rules we can make selections. How you will be assessed: By a game of guess who! |
Key terminologySelection:
A simplified, concise instruction given (to a computer) to carry out an operation Algorithm: A set of rules and instructions used by a computer to solve a problem Pseudo code: A way of representing an algorithm using simplified programming language |
Activities
|
Star wars habitsEven Star Wars characters have their interests and hobbies. Take a look at the five characters below.
Use the pseudo code to the left to find out interesting pieces of information about our favourite Star Wars characters. There are four different scenarios, use the gallery t swipe through them.
|
During the previous task we looked at how flowcharts are used to visualise problems and possible solutions. Part of their design are decision diamonds. These are used whenever we need to ask a question. Take a a look at the flowchart to the right. We can replace "Is it raining?" with IF rain = True THEN.
Can you think of any other examples? |
Assessment Task 2
Guess who!Using your understanding of IF selections answer the questions found on this google form.
|
Depending on how much time you have remaining your teacher may ask you to start the tasks found on the rapid router website.
|