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

Many of my students gave the wrong answer to exercise 15.1, because + is commutative #1130

Open
hugomg opened this issue Jun 19, 2023 · 0 comments

Comments

@hugomg
Copy link

hugomg commented Jun 19, 2023

I gave the exercises in Chapter 15 to my students and several of them presented solutions that computed 2*3 + 1 instead of 1 + 2*3. They kept the structure of the first exercise, but moved the numbers around.

1 * 2 + 3
1 + 2 * 3

Perhaps this could be avoided if the exercises asked for - instead of +?

1 * 2 - 3
1 - 2 * 3
@hugomg hugomg changed the title Students gave wrong answer to exercise 15.1, because + is commutative Many of my students gave the wrong answer to exercise 15.1, because + is commutative Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant