Properties
Category
Uncategorized
Similar Topics
Statistics
Comments
7
Participants
4
Subscribers
4
Votes
1
Views
623
Share
Changing the response options in a dropdown list
Answered
Hello, everyone,
Please help me with the following problem:
1 I created a drop down list, called list1 = {"Choose an option:", "2x", "3x", "4x", "5x"}.
2 Therefore, list1 has 5 elements.
3 Consider that the correct answer is "4x".
4 I would like the order of the options to be changed for each student who comes to perform the exercise, without using the random function().
Is that possible?
Thank you very much, Marcelo.
Files:
Tentativa.ggb
 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
© 2023 International GeoGebra Institute
Hello,
perhaps, (in french Unir() et Mélangée() > Joint ? Shuffle)
lista1=Unir({{"Escolha uma opção:"}, Mélangée({"2x", "3x", "4x", "5x"})})
Noel,
However, it remains to set up the list as a dropdown.
here's a proposition, using things Noel already proposed: There's a list with a blank, and a list l1=l1=Shuffle({"2x","3x","4x","5x"}). Combining these two gives you a list, always starting with a blank, proceeded by the shuffled options.
Now you can check the index of "4x" and the chosen index in the dropdown list to control the answer, only showing 'wrong' if the chosen option isn't the blank one. This blank option prevents to show the right solution from the start. The button resets the list to blank and shuffles the rest of the list.
chris
perhaps
Comments have been locked on this page!