Algorithms

Algorithms
Algorithms

Key learning intension: What is an algorithm and how do we write them?
1 / 16
next
Slide 1: Slide
ComputingUpper Secondary (Key Stage 4)GCSE

This lesson contains 16 slides, with interactive quizzes and text slides.

time-iconLesson duration is: 60 min

Items in this lesson

Algorithms
Algorithms

Key learning intension: What is an algorithm and how do we write them?

Slide 1 - Slide

What is this symbol called?
A
Terminator (start/end)
B
Process
C
Input/output
D
Decision

Slide 2 - Quiz

What is this symbol called?
A
Terminator (start/end)
B
Process
C
Input/output
D
Decision

Slide 3 - Quiz

What is this symbol called?
A
Terminator (start/end)
B
Process
C
Input/output
D
Decision

Slide 4 - Quiz

What is this symbol called?
A
Terminator (start/end)
B
Process
C
Input/output
D
Decision

Slide 5 - Quiz

An algorithm is a list of steps to follow in order to solve a problem.

Slide 6 - Slide

Let's create an algorithm to sign in to our student accounts.

Slide 7 - Slide

1. Take a user input for username
2. Take a user input for password
3. Check if username = username and password = password then log in
4. Else ask them to try again tries +1
5. If tries > 3 then lock account

Slide 8 - Slide

Flowchart example

Slide 9 - Slide

Create an algorithm for brushing your teeth. Think about toothbrush, toothpaste, length, order tasks are done in. 

Slide 10 - Slide

Create the flowchart for the algorithm using the correct shapes. 

Slide 11 - Slide

Can you code it?

Slide 12 - Slide

Create a algorithm of your choice and the flowchart.

Slide 13 - Slide

What is an algorithm?

Slide 14 - Open question

Name one of the blocks in this flowchart?

Slide 15 - Open question

What does this do?

Slide 16 - Open question