Download presentation
Presentation is loading. Please wait.
Published byEmma Mills Modified over 5 years ago
1
Computational Thinking (How to think like a computer scientist)
Lesson 2 Algorithms
2
Objectives To know the term ‘Algorithm’ means
To create algorithms to everyday situations
3
Recap - The four cornerstones of Computer Science
4
What is an algorithm? Algorithms are one of the four cornerstones of Computer Science. An algorithm is a plan, a detailed set of step-by-step instructions to solve a problem. If you can: tie shoelaces make a cup of tea get dressed prepare a meal then you already know how to follow an algorithm.
5
Video
6
Describing Algorithms
There are two ways of describing an algorithm: Flowcharts – A graphical representation of the steps involved Pseudocode – English like instructions detailing every step
7
Activity 1 Download the Sequencing Worksheet from this link:
Worksheet.docx Or Make sure that you save it to your CT folder. Open the document and follow the instructions
8
Algorithm Problem: How would you write an algorithm that draws this picture of a house like this?: Clue: Think about last lesson’s topic on decomposition
9
The Top Level Draw the outline of the house Draw the chimney
Draw the door Draw the windows Main Draw Outline Draw Chimney Draw Door Draw Windows
10
Activity 2 – Drawing the Windows
Complete the task on Page 2 of the Sequencing Worksheet Remember to save your work! Download the starter code using this link: rter.txt Or
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.