Presentation is loading. Please wait.

Presentation is loading. Please wait.

Decision Maths 1 Algorithms- Flow Charts. What is an algorithm? A set of precise instructions which if followed will solve a problem. e.g. Knitting patterns,

Similar presentations


Presentation on theme: "Decision Maths 1 Algorithms- Flow Charts. What is an algorithm? A set of precise instructions which if followed will solve a problem. e.g. Knitting patterns,"— Presentation transcript:

1 Decision Maths 1 Algorithms- Flow Charts

2 What is an algorithm? A set of precise instructions which if followed will solve a problem. e.g. Knitting patterns, recipes, repairing, multiplication etc

3 Flow Charts are used to represent algorithms Shows operations to be carried out- only one route from them Questions to be answered ‘yes’ or ‘no’ -2 routes from them Known as the terminus STOP

4 Example of a Euclidean Algorithm Finding the HCF of two integers A and B Is R=0? START Read A, B (A<B) Find Q: largest integer such that QA< B Write R=B-QA Current value of A is HCF STOP Let new value of B=A Let new value of A=R No Yes TASK: Find the HCF of 35 and 112

5 Exercise 1a pgs 6-7 Q 2, 3, 6 Answers: 2) a)13 b) 18 3) 1, 4, 9, 16, 25, 49, 64, 81, 100. All square numbers that are less than or equal to 100 6) 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144

6

7

8 https://www.youtube.com/watch?v=qwd4piEE yR0&list=ECD7FCC5C72E63825D#action=share


Download ppt "Decision Maths 1 Algorithms- Flow Charts. What is an algorithm? A set of precise instructions which if followed will solve a problem. e.g. Knitting patterns,"

Similar presentations


Ads by Google