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
                    • Getting Started
                    • Basic Guide to Question Creation with WirisQuizzes
                    • Basic Guide to Question Creation with WirisQuizzes

                    Roots of a polynomial

                    Reading time: 2min

                    In the following example, we will ask the student to write a polynomial expression given its roots. Moreover, we will plot the polynomial the student gives to compare their solution with the correct one.

                    Select the question type

                    We'll select which type of question we will use. Most of the examples on this page use Short answer. Since we expect the student to answer this question with just the result, Short answer is the best of all the possible options for this one as well.

                    Write the statement

                    Now let's write the statement of the problem. We will ask the students to write a monic polynomial of degree two with roots 2 and -3.

                    Write the statement Now let's write the statement of the problem. We will ask the students to write a monic polynomial of degree two with roots 2 and -3.

                    Compute the correct answers

                    Open WirisQuizzes Studio by clicking , then go to the Correct answer section and write the correct answer.

                    Note

                    Since we are checking if the student's answer and the correct answer are mathematically equal, the order in which we write the correct answer is unnecessary.

                    Store the student answer

                    Next, click on the Advanced mode button and open CalcMe.

                       
                    As you can see, it's now the default option to generate the question's algorithm, and unless you are working with a previously created question, you can't use Wiris CAS (the old calculator) anymore.

                    Notice

                    For getting started with CalcMe, see its very very basic guide.

                    The student's answer is stored in a parameter called answer. Therefore, to work with it, we have to define this parameter. As we want to compare the correct and the student's answers, we have to plot both. The code to do so looks like this:

                    Tip

                    If you used CalcMe before, you might have noticed some differences with previous versions. You can see further details about the new procedure to define variables here.

                    The default value for the parameter answer is zero; that is why the red plot is always zero. Don't worry; it will look more friendly with the response from the student.

                    Preview the question

                    It is always a good practice to test how they behave using the Test this question section, even with simple questions. Once again, the order is not essential. The plot will appear in the preview of the whole question.

                    If the student answers with the polynomial in expanded form, it will be graded as correct since it will be mathematically equal to the right answer we have provided.

                    Save the question and assign full grade

                    Click so changes are saved, and WirisQuizzes Studio window closes. Next, assign the full grade to the correct answer.

                    Add the feedback

                    Note

                    Go to the General feedback field. Everything we write here will be shown to the students once they answer. Therefore, as we will do here, we can write all the steps they have to carry out when solving a problem or compare their answer with the correct one.

                    Recall that the correct answer's graph is blue, and the one stored in the parameter answer (the student's answer) is red. The plot is stored in a variable called plotter1 so that we will include it on the feedback preceded with the pound symbol #.

                    Preview the question

                    Save the question by clicking Save changes and continue editing.

                    Click Preview.

                    A new window will show up with the question shown as the student will see it. Then, we can test the behaviour of the question again.

                     

                    Was this article helpful?

                    Yes
                    No
                    Give feedback about this article

                    Related Articles

                    • Polynomials
                    • Linear algebra
                    • Polynomials and expressions

                    Roots of a polynomial

                    Select the question type Write the statement Compute the correct answers Note Store the student answer Notice Tip Preview the question Save the question and assign full grade Add the feedback Note Preview the question

                    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