-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CONTENT] Add wrong/debugging examples to slides #4784
Comments
I love this idea, but I see one small problem: As far as I know I can only use startcodes in the slides at the moment. I would need to be able to add more codes than just startcodes to the slides., before I can make this. |
In the slides for Level 2, I found one on debugging, great! Also, the last slide in Level 2 says: |
Yes, they still need to be translated. If you want to.... you could do that of course. Otherwise we will get around to it in a few weeks certainly!
Good catch! That is an easy fix, I wil update it right away. |
Done in #4975 |
Fixed by #5435 |
In this issue a great suggestion is being made: adding wrong examples to slides and have learners figure out what is wrong.
I think that is a lovely idea!
Pasted here: (cause the comment is unreasonably long :) )
A social solution
A possible solution that wouldn't involve needing to modify error messages would be: Introduce exercises in hedy that intentionally give students error messages and walk them through fixing them. Ask them socratic method questions about why the computer might be giving you that "weird" output with hints. #4043 could possibly help here if it's not a good fit for the existing hedy interface.
It would actually be really nice to have each section contain some some working and non-working examples of the syntax.
I'm imagining something like:
Teacher asks: What do you think happens when you run this code?
Students: ...
Teacher: Let's try it.
Teacher: That's not what we expected, what went wrong?
Students:
Teacher: Here's how we fix it...
Teacher: What about this code:
Student: ...
Teacher: Here's the output:
Teacher: Why does it think that animals is a string? Did we forget something? How do we fix it?
Then:
Teacher: How about this code:
Teacher: It says there's a problem with the comma. What if we remove it, what do you think will happen, do you think that will fix the program? No? Well...let's try anyway to see what happens.
The text was updated successfully, but these errors were encountered: