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 1: Compare as lists

                    Reading time: 1min

                    Let us create an essential question asking to sort a set of integers:

                    By default,

                    • Lists are allowed, but elements need to be enclosed within curly brackets.
                    • The comma is used as a separator.
                    • The student's answer is compared as a list (taking into account order and repetition).

                    In this example, we check the option Lists without enclosers.

                    Thus, the following answers will be validated as specified in the table below.

                    Student answer Validation
                    -7,-4,1,5
                    {-7,-4,1,5}
                    -7-415
                    -7-415

                     

                     

                     

                    Was this article helpful?

                    Yes
                    No
                    Give feedback about this article

                    Related Articles

                    • Creating lists via comprehension
                    • Example 1: Units
                    • Example 2: Currencies

                    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 Preferences
                    • Cookie Policy
                    • Terms of Use
                    • Privacy Policy / GDPR
                    • Student Data Privacy
                    • Compliance
                    • Powered by Helpjuice
                    Expand