Skip to content
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

lab 2.04 hint considered harmful #418

Open
Dan-TEALS opened this issue Jun 27, 2022 Discussed in #328 · 0 comments
Open

lab 2.04 hint considered harmful #418

Dan-TEALS opened this issue Jun 27, 2022 Discussed in #328 · 0 comments
Assignees
Labels
Bug IntroCS.2 Medium Severity Makes the lesson hard to use but has a workaround

Comments

@Dan-TEALS
Copy link
Contributor

Discussed in #328

Originally posted by jdonwells February 3, 2022
I don't think this is going to work for most students.

The food quiz program uses what looks like a single level neural net. I like that idea even though it isn't presented as such.

The problem is with the hint. "Hint: Use a search engine to look up an efficient way to find the largest number in a Python list." If you actually do that you will find loops and sorting. They don't know how to use loops and using the sort function won't work because the food names and ratings are in different lists. That takes it to another level.

Looking at the given example code we see the use of for loops to solve a different though similar problem.

The way to solve this with what they currently know is to create a long if elif... else statement that looks for the maximum votes. We can do that with a fixed 6 choices. So 5 comparisons will always work. No loop needed, just a bad habit that we reinforce with the Zork project. (But that is a different issue.)

So get rid of the hint. Most students will be confused and waste time looking for a solution that isn't there.

@Dan-TEALS Dan-TEALS added Bug IntroCS.2 Medium Severity Makes the lesson hard to use but has a workaround labels Jun 27, 2022
@Dan-TEALS Dan-TEALS self-assigned this Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IntroCS.2 Medium Severity Makes the lesson hard to use but has a workaround
Projects
None yet
Development

No branches or pull requests

1 participant