3 ms·
The topic is too broad. My recommendation is to give they a good enough kick start to motivate them to learn more about the subject instead of a general knowled
by gus_massa 4y ago
The topic is too broad. My recommendation is to give they a good enough kick start to motivate them to learn more about the subject instead of a general knowledge that is more difficult to apply immediately. Start with a hands on course of programing.
Just teach them how to nest two `for` and two `if`
It's incredible the amount of task that you can solve with two `for` and two `if`, and they look like magic to uninitiated. Functions may be a nice optional objective in case some students go too fast. Under promise and over deliver.
Stick to one language. I recommend Python that is beginner friendly, battery included but is also used professionally and has a ton of advanced libraries. [1]. If someone knows another language, allow them to use it.
If they can't use a normal computer for each one, it may be a problem. It's hard to install a programing languages in smartphones. What about Jupyter? I never tried that, but it may be a good alternative.
For a hand on curse, I strongly recommend to have 2 teachers instead of 1. With 20 students it's too easy to get distracted and answer a question that is too long with one student. The second teacher can help to avoid the dead time of the rest of the class. For 30 students I recommend to have 3 or 4 teachers. I guess this is a personal project, so it's hard to get helpers, but perhaps you can invite a different one for each class.
In my curses for kids I used problems of integer math that can be solved by brute force nesting two `for` and two `if`. (In the last clases we have some advanced topic like naive primality check.) (Actually, the amount of `for` and two `if` was not fixed.) They are easy to understand and to create new ones, and there are many recreational math problems that are trivially bruteforzable.
The math problems were relevant for the activity that organized the curses. Perhaps you can try with some turtle graphics like the old logo. I think there is a package for python for that, but I'm not sure it's smartphone friendly, I never tried the package and I never used it in a curse. I just guess it may be interesting.
Avoid explaining bits, just use numbers, magic numbers. It may be a problem with floating point equality, but just explain that floating point numbers are weird and will be explained in the next curse.
[1] Later they can get enlighten and learn Racket. Save some parens in the beginners curse. [2]
[2] I'm ashamed for the amount of value I got from using a little of html + javascript + php, but I prefer that beginners avoid any language where 1+"2" is not a syntax error.