assessment and InputBoxes. Nothing stops user entering question in box instead of answer.

pfare1 shared this question 7 months ago
Answered

If an input box is used to answer a question, it seems that often student can enter the question into the input box (instead of entering the answer) in order to be told their "answer" is correct

For example, Q. Calculate derivative of x^4? Student should enter 4x^3 into input box for correct answer. But student can instead enter: derivative[x^4] into input box to be marked/told answer is correct.

Is there a way to stop a student from doing this?

Thanks

Comments (7)

photo
1

---

photo
1

Yes!


1) make sure the answer variable is longer than 1 letter long

2) make sure you use the new Symbolic Input Boxes

3) wait for us to finish some jobs at our end (eg to disable commands)

photo
1

In the time between you can use this

(independent of language and commands and expressions)

photo
1

as a workaround, you can check if Text(InputBox1) contains the string "Derivative" using IndexOf()

photo
1

Thanks for the quick replies and the workarounds.

photo
1

I think an option to turn off calculation "inside" an InputBox allows for this to be stopped. Otherwise you have other examples, like: Calculate 4+7, student enters InputBox[4+7] instead of answer.

photo
1

Have you already discovered the selection of questions in the lowest object?

Choose the first or second and try to cheat the system.

photo
© 2020 International GeoGebra Institute