Documentation / WirisQuizzes

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • Wiris Quizzes

      • Learning Lemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Home
                    • Wiris Quizzes
                    • 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?

                    Yes
                    No
                    Give feedback about this article

                    Related Articles

                    • Convert grams to number of moles and particles
                    • Match the plot
                    • Basic Guide to Question Creation with WirisQuizzes

                    Making people’s STEM work more meaningful

                    MathType

                    • MathType for Office Tools
                    • MathType for Mac
                    • MathType for Microsoft 365
                    • MathType for Google Workspace
                    • MathType for LMS
                    • MathType for XML Editors
                    • Arabic notation
                    • Our products accessibility
                    • MathType is online

                    WirisQuizzes

                    Learning Lemur

                    Solutions for Education

                    • Blackboard Learn
                    • Brightspace by D2L
                    • Canvas
                    • Google Classroom
                    • Moodle
                    • Schoology

                    Solutions for Publishing Houses

                    Solutions for Technical Writers

                    Solutions for Chemistry

                    Integrations

                    • HTML Editors
                    • MathType in WordPress

                    Pricing

                    Company

                    Careers

                    Blog

                    Contact Us

                    Buy Now

                    Plugin Downloads

                    © Wiris 2025

                    • Cookie Settings
                    • Cookie Policy
                    • Terms of Use
                    • Privacy Policy / GDPR
                    • Student Data Privacy
                    • Compliance
                    • Powered by Helpjuice
                    Expand