Background: I'm teaching my daughter Python this summer, (she's going into sixth grade) and it's been a bit of a challenge. I find the toughest thing to do is to find exercises that aren't too simple and aren't too hard. I've used a textbook for kids: Snake Wrangling for Kids which is a pretty good book. But it only has a few exercises, and most of them are so simple, that they are essentially useless.
So to give me problems with a challenge. I've gone through 10-15 or so Project Euler problems with her (cherry picked for simplicity), but the math involved was still too complex for her in many of the cases. She spends too much time spinning her wheels, and in the end, I have to go in and essentially solve the problem for her. To be fair, I do think she has benefited from this...she is learning how to game plan a programming program, but the challenge is strong enough that I think it's affecting her confidence and the efficiency of the learning process itself.
Part of my mission is to improve the math (we'll be doing a lot of Pre/Basic Algebra this summer too), so eventually she'll be able to tackle the PE problems. I do think her math is actually pretty good for her level, I'd even call her "advanced" when compared to her peers, but for most of the Project Euler stuff, she is simply not advanced enough mathematically.
So in a nutshell, PE is great and I will continue to use it, but many of the problems are just too complicated to be teaching tools for Python. I need good "kid-friendly" Python exercises. Maybe stuff on string operations? Maybe stuff that uses some basic math tricks. I have done the Sieve of Eratosthenes with her. She understands parts of the algorithm, but doesn't understand the heuristics used.
Here's the topics we've covered so far:
Data Types
Variables
Assignment
Basic Control Flow (if-then)
Loops (for and while)
Functions
Lists, Tuples, Sets
Just the basics needed to write a rudimentary program without too much fancy "pythonic" stuff.
No OOP
No Functional Programming
Can you guys propose some exercises to give her? Again, nothing too hard, but nothing too easy either. No pop quiz type questions which ask her to recite a fact....but rather, something like "write a function to do xxx and yyy" or "write a program to produce the following output in the interpreter".
Thanks for any help in advance.
K.
So to give me problems with a challenge. I've gone through 10-15 or so Project Euler problems with her (cherry picked for simplicity), but the math involved was still too complex for her in many of the cases. She spends too much time spinning her wheels, and in the end, I have to go in and essentially solve the problem for her. To be fair, I do think she has benefited from this...she is learning how to game plan a programming program, but the challenge is strong enough that I think it's affecting her confidence and the efficiency of the learning process itself.
Part of my mission is to improve the math (we'll be doing a lot of Pre/Basic Algebra this summer too), so eventually she'll be able to tackle the PE problems. I do think her math is actually pretty good for her level, I'd even call her "advanced" when compared to her peers, but for most of the Project Euler stuff, she is simply not advanced enough mathematically.
So in a nutshell, PE is great and I will continue to use it, but many of the problems are just too complicated to be teaching tools for Python. I need good "kid-friendly" Python exercises. Maybe stuff on string operations? Maybe stuff that uses some basic math tricks. I have done the Sieve of Eratosthenes with her. She understands parts of the algorithm, but doesn't understand the heuristics used.
Here's the topics we've covered so far:
Data Types
Variables
Assignment
Basic Control Flow (if-then)
Loops (for and while)
Functions
Lists, Tuples, Sets
Just the basics needed to write a rudimentary program without too much fancy "pythonic" stuff.
No OOP
No Functional Programming
Can you guys propose some exercises to give her? Again, nothing too hard, but nothing too easy either. No pop quiz type questions which ask her to recite a fact....but rather, something like "write a function to do xxx and yyy" or "write a program to produce the following output in the interpreter".
Thanks for any help in advance.
K.