Properties
Category
English
Similar Topics
Statistics
Comments
7
Participants
4
Subscribers
4
Votes
1
Views
424
Share
assessment and InputBoxes. Nothing stops user entering question in box instead of answer.
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
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2020 International GeoGebra Institute

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)
In the time between you can use this
(independent of language and commands and expressions)
as a workaround, you can check if Text(InputBox1) contains the string "Derivative" using IndexOf()
Thanks for the quick replies and the workarounds.
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.
Comments have been locked on this page!