1 4 3 5 9 7 2

# 1 4 3 5 9 7 2

Télécharger la présentation

## 1 4 3 5 9 7 2

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
##### Presentation Transcript

1. 1 4 3 5 9 7 2

2. 1 4 3 5 9 7 2 Which one is the biggest number?

3. 1 4 3 5 9 7 2

4. 1 4 3 5 9 7 2 How do you know?

5. 1 4 3 5 9 7 2 How would you instruct the computer to find out?

6. 1 4 3 5 9 7 2 Our program would scan the numbers left to right.

7. 1 4 3 5 9 7 2 Our program would scan the numbers left to right.

8. 1 4 3 5 9 7 2 We need to start somewhere.

9. 1 4 3 5 9 7 2 We start at the beginning.

10. 1 4 3 5 9 7 2 The first number is the largest we’ve seen.

11. 1 4 3 5 9 7 2 The first number is the largest we’ve seen. max

12. 1 4 3 5 9 7 2 The first number is the largest we’ve seen. max

13. 1 4 3 5 9 7 2 The first number is the largest we’ve seen. 1 max

14. 1 4 3 5 9 7 2 We move on. 1 max

15. 1 4 3 5 9 7 2 We move on. 1 max

16. 1 4 3 5 9 7 2 Hey, that’s a bigger number than ours! 1 max

17. 1 4 3 5 9 7 2 Let’s take it. 1 max

18. 1 4 3 5 9 7 2 Let’s take it. 1 max

19. 1 4 3 5 9 7 2 Let’s take it. 4 max

20. 1 4 3 5 9 7 2 We move on. 4 max

21. 1 4 3 5 9 7 2 We move on. 4 max

22. 1 4 3 5 9 7 2 This number doesn’t look interesting. 4 max

23. 1 4 3 5 9 7 2 So we move on. 4 max

24. 1 4 3 5 9 7 2 So we move on. 4 max

25. 1 4 3 5 9 7 2 This number is better than ours. 4 max

26. 1 4 3 5 9 7 2 Let’s take it. 4 max

27. 1 4 3 5 9 7 2 Let’s take it. 4 max

28. 1 4 3 5 9 7 2 Let’s take it. 5 max

29. 1 4 3 5 9 7 2 And we move on. 5 max

30. 1 4 3 5 9 7 2 We find a bigger number… 5 max

31. 1 4 3 5 9 7 2 We find a bigger number… 9 max

32. 1 4 3 5 9 7 2 The next number is not interesting… 9 max

33. 1 4 3 5 9 7 2 And neither is the next one… 9 max

34. 1 4 3 5 9 7 2 And we’re out of numbers. 9 max

35. 1 4 3 5 9 7 2 We checked them all. 9 max

36. 1 4 3 5 9 7 2 Each one once. 9 max

37. 1 4 3 5 9 7 2 And this is the largest number we’ve seen. 9 max

38. 1 4 3 5 9 7 2 So this is max. 9 max

39. 1 4 3 5 9 7 2 Way to go, Max! 9 max