Algorithms

Algorithms
Algorithms

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

Cette leçon contient 16 diapositives, avec quiz interactifs et diapositives de texte.

time-iconLa durée de la leçon est: 60 min

Éléments de cette leçon

Algorithms
Algorithms

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

Slide 1 - Diapositive

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 - Diapositive

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

Slide 7 - Diapositive

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 - Diapositive

Flowchart example

Slide 9 - Diapositive

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

Slide 10 - Diapositive

Create the flowchart for the algorithm using the correct shapes. 

Slide 11 - Diapositive

Can you code it?

Slide 12 - Diapositive

Create a algorithm of your choice and the flowchart.

Slide 13 - Diapositive

What is an algorithm?

Slide 14 - Question ouverte

Name one of the blocks in this flowchart?

Slide 15 - Question ouverte

What does this do?

Slide 16 - Question ouverte