Wiris

Documentation / WirisQuizzes

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • WirisQuizzes
                        • Advanced Validation Features
                        • Lists and sets
                        • Lists and sets

                        Example 2: Compare as sets

                        Reading time: 1min

                        By default, to be accepted, lists in student and correct answers must have equivalent items and be in the same order. That is, the order is important, and repetition has sense. In contrast, sets are lists without order nor duplicated items.

                        As an example, we can ask for the roots of a given polynomial, and we might be interested in accepting any answer with the correct values.

                        Thus, we can set the lists to be understood as sets in Validation options > Comparison with student answer. That is, ignore repetition and order in the comparison.

                        Besides, we can also define these lists to be understood as sets where repetition matters, but order does not. The grading will behave as you can see below.

                        Student answer Validation
                        {1,2,2}
                        1,2,2
                        1,2
                        1,2,2,2,1
                        122

                         

                         

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Convert grams to number of moles and particles
                        • Match the plot

                        Empowering STEM education

                        MathType

                        • Office Tools
                        • LMS
                        • XML
                        • HTML

                        WirisQuizzes

                        Learning Lemur

                        Integrations

                        Solutions

                        • Education
                        • Publishing houses – platforms and interactive
                        • Publishing houses – Print and digital
                        • Technical writers

                        Pricing

                        Downloads

                        Blog

                        • Success stories

                        About us

                        • Careers
                        • Partnership

                        Contact Us

                        Contact Sales

                        European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Cookie Settings

                        © Wiris 2026

                        Expand