15
Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Embed Size (px)

Citation preview

Page 1: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Computational Thinking – Lesson 3

Lesson ObjectiveTo be able to construct an algorithm and

flowchart for a given problem

Page 2: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Learning Outcomes

LO1 – Decompose a problem and design an algorithm

LO2 – Evaluate the effectiveness of an algorithm

LO3 – Construct a flowchart based on an algorithm

Page 3: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

What can you remember

about algorithms?

Page 4: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Designing an algorithm

Think• What is the final goal?• What are the stages we need to go through?

Understand the problem• What are the inputs into the problem?• What will be the outputs of the problem?• In what order do the instructions need to be carried out?• What decisions need to be made in the problem?• Are any areas of the problem repeated?

Page 5: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

What can you remember

about Flowcharts?

Page 6: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Flowcharts

• A flowchart is a diagram that represents a set

of instructions.

• Flowcharts normally use standard symbols to represent

the different types of instructions.

• These symbols are used to construct the flowchart and

show the step-by-step solution to the problem.

  

 

Page 7: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

On your whiteboard draw the shape for a flowchart process and

hold it up.

Page 8: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

On your whiteboard draw the shape for a

flowchart decision and hold it up.

Page 9: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

On your whiteboard draw the shape that indicates the start

and end of the flowchart.

Page 10: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Spot the new shape?

Page 11: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Input/Output

Input Which is the best subject?

OutputOf course it is!

Page 12: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Open your Computational Thinking workbooks

Lesson 3 – Task 1

Page 13: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Peer Assessment

1. Have they identified the inputs to the problem?

2. Have they identified the outputs of the problem?

3. Are the steps in the correct order?

4. Have they identified any decisions?

5. Have they identified any areas that are repeated?

Page 14: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

Open your Computational Thinking workbooks

Lesson 3 – Task 2

Page 15: Computational Thinking – Lesson 3 Lesson Objective To be able to construct an algorithm and flowchart for a given problem

1. www.socrative.com

2. Student Login

3. Room No. 981750f9