Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Like this presentation? Why not share!

- DRYing to Monad in Java8 by Dhaval Dalal 13095 views
- Transition contours by Dhaval Dalal 1783 views
- Code jugalbandi by Dhaval Dalal 626 views
- Approaching Rich Internet Applications by Dhaval Dalal 3457 views
- Language portfolio by Dhaval Dalal 682 views
- The tao-of-transformation by Dhaval Dalal 1580 views

3,096 views

Published on

License: CC Attribution License

No Downloads

Total views

3,096

On SlideShare

0

From Embeds

0

Number of Embeds

818

Shares

0

Downloads

31

Comments

0

Likes

2

No embeds

No notes for slide

- 1. MathWorks Kids Game dhaval.dalal@software-artisan.com @softwareartisan
- 2. 1 6 2 4 5 3 7 Σ xⁿ 9
- 3. Story #1 As a Kid learning mathematics, I want to be able to identify prime numbers So that I can understand what primes are.
- 4. Acceptance Criteria #1 Given numbers 1, 2, 3, and 4 When using Prime filter and emptying contents of the source bucket to target bucket Then target bucket should contain 2 and 3. #2 Given numbers -1, -2, 3, and 4 When using Prime filter and emptying contents of the source bucket to target bucket Then target bucket should contain 3.
- 5. Story #2 As a Kid learning mathematics, I want to be able to identify odd numbers So that I can grow my understanding of odd numbers.
- 6. Acceptance Criteria #1 Given numbers 1, 2, 3, and 4 When using the Odd filter and emptying contents of the source bucket to target bucket Then target bucket should contain 1 and 3. #2 Given numbers -1 and 4 When using the odd filter and emptying contents of the source bucket to target bucket Then target bucket should contain -1.
- 7. Story #3 As a Kid learning mathematics, I want to be able to identify odd primes So that I can understand numbers that are odd and primes at the same time.
- 8. Acceptance Criteria Given numbers 1, 2, 3, 4 and 5 When using the Odd and prime filters and emptying contents of the source bucket to target bucket Then target bucket should contain 3 and 5.
- 9. 2 4 5 1 2 6 4 Σ xⁿ 5 7 11
- 10. Story #4 As a Kid learning mathematics, I want to be able to sum all the numbers that are in the bucket. So that I can learn addition.
- 11. 2 4 5 1 2 6 4 Σ xⁿ 13 11 Σ
- 12. Acceptance Criteria Given numbers 5, 7, 10 and 5 When using the aggregator and emptying contents of the source bucket to target bucket Then target bucket should contain 27.
- 13. Story #5 As a Kid learning mathematics, I want to be able to identify numbers within a range So that I can grow my understanding of ranges.
- 14. Acceptance Criteria Given there are numbers 5, 7, 10 and 15 When using the range between 5..10 and emptying contents of the source bucket to target bucket Then target bucket should contain 5, 7 and 10.
- 15. Story #6 As a Kid learning mathematics, I want to be able to sum all odd primes within a range. So that I can grow my understanding of numbers.
- 16. Acceptance Criteria Given numbers 1, 2, 5, 7, 8, 10 and 15 When using the range 2..10 and emptying contents of the source bucket to target bucket Then target bucket should contain 12.
- 17. 2 4 5 1 2 6 4 Σ xⁿ 13 11 *
- 18. Story #7 As a Kid learning mathematics, I want to be able to multiply all numbers in a bucket. So that I can grow my understanding of numbers.
- 19. Acceptance Criteria Given numbers 5, 7, 10 and 5 When using the multiplier and emptying contents of the source bucket to target bucket Then target bucket should contain 1750.
- 20. Story #8 As a Kid learning mathematics, I want to be able to multiply each number in the bucket by a factor. So that I can understand what scaling of numbers means.
- 21. Acceptance Criteria Given there are numbers 5, 7, 10 and 15 When using the scaler of 10 and emptying contents of the source bucket to target bucket Then target bucket should contain 50, 70, 100 and 150.
- 22. Story #9 As a Kid learning mathematics, I want to be able to square all numbers in the bucket. So that I can understand what squaring of numbers means.
- 23. Acceptance Criteria Given there are numbers 1, 2, 3 and 5 When using the squarer and emptying contents of the source bucket to target bucket Then target bucket should contain 1, 4, 9 and 25.
- 24. Story #10 As a Kid learning mathematics, I want to be able to find the first position of a given number. So that I can know where in sequence was the number was before entering the target bucket.
- 25. Acceptance Criteria #1 Given numbers 3, 1, 2, 1 and 5 When finding for first occurrence of 2 and emptying contents of the source bucket to target bucket Then target bucket should contain the position 3. #2 Given numbers 3, 1, 2, 1 and 5 When finding for the first occurrence of 10 and emptying contents of the source bucket to target bucket Then target bucket should be empty, indicated by -1.
- 26. Story #11 As a Kid learning mathematics, I want to be able to tell the first position of a prime number. So that I can know where in sequence was that prime number before entering the target bucket.
- 27. Acceptance Criteria #1 Given numbers 10, 1, 5, 1 and 7 When finding for first occurrence of prime and emptying contents of the source bucket to target bucket Then target bucket should contain the position 3. #2 Given numbers 10, 4, 8, 25 and 32 When finding for the first occurrence of prime and emptying contents of the source bucket to target bucket Then target bucket should be empty, indicated by -1.
- 28. Story #12 As a Kid learning mathematics, I want to be able to tell the positions of a given number. So that I can know where all in sequence the given number occurred before entering the target bucket.
- 29. Acceptance Criteria #1 Given there are numbers 3, 1, 2, 1, 8 and 5 When using the sequencer for finding position of number 1 and emptying contents of the source bucket to target bucket Then target bucket should contain the positions as 2 and4. #2 Given numbers 3, 1, 2, 1, 8 and 5 When using the sequencer for finding position of number 555 and emptying contents of the source bucket to target bucket Then target bucket should be empty, indicating that the number was not found.
- 30. Story #13 As a Kid learning mathematics, I want to be able to tell all the positions of all odd multiples of 5. So that I can know where all in sequence they were present before entering the target bucket.
- 31. Acceptance Criteria #1 Given there are numbers 3, 5, 2, 10, 35, 25 and 50 When using the sequencer to find positions of odd multiples of 5 and emptying contents of the source bucket to target bucket Then target bucket should contain the position as 2, 5 and 6. #2 Given numbers 3, 1, 2, 1, 8 and 4 When using the sequencer to find positions of odd multiples of 5 and emptying contents of the source bucket to target bucket Then target bucket should be empty, indicating that the number was not found.
- 32. Story #14 As a Kid learning mathematics, I want to be able to remove duplicate numbers. So that I can understand what a set of numbers means.
- 33. Acceptance Criteria Given there are numbers 1, 2, 2, 1 and 5 When using the duplicate remover and emptying contents of the source bucket to target bucket Then target bucket should contain 1, 2 and 5.

No public clipboards found for this slide

×
### Save the most important slides with Clipping

Clipping is a handy way to collect and organize the most important slides from a presentation. You can keep your great finds in clipboards organized around topics.

Be the first to comment