Google Classroom
GeoGebraGeoGebra Classroom

GeoGebra TAO PCI v4

Test item based on the template below

Template for GeoGebra questions

Predefined variables used for connection to TAO

correct This will output if the students answer is correct to TAO. maxscore This will output the max score for this question to TAO. responseListText This will output the students answers to TAO. assessment (optional) Will be automatically set to true in TAO. DO NOT change the names of these variables!

Use the predefined variables

correct / maxscore For single input questions, set correct directly, using sth. like correct = input == expectedInput and maxscore = 1. For multiple input questions with partial scoring, see below. responseListText Fill this list with all the inputs given by the student. This will make sure that the values inputted by the student will be visible in the results of a test. For example: responseListText = {input1 + "", input2 + "", input3 + ""} Adding +"" after every input will transform any input into a text object so that the response list in TAO is a list of strings. assessment This variable is optional. If the boolen assessment is available in the GeoGebra file, it will automatically be set to true in TAO. This boolen can be used to hide objects when using a GeoGebra file in TAO. For example, buttons used for development of a question can be hidden instead of removed. For hiding an object, go to the objects settings, tab "Advanced" and set Condition to show object to !assessment

Partial Scoring

If your question has multiple inputs and you want to give partial credit for partially correct answers, do this:
  1. Define a boolean for every input, e.g. correctA, correctB, correctC to check if the indivudual inputs are correct. Use for example correctA = input1 == expectedInput1 to check.
  2. Define a list of all your booleans: allCorrect = {correctA, correctB, correctC}
  3. Define your max score as: maxscore = Length(allCorrect) Length() will give the amount of items in the list, in this example 3 - therefore maxscore = 3
  4. Define the total score as: correct = Sum(allCorrect) / maxscore Sum() will treat the booleans in the list as numbers (0 or 1) and add them. For example: Sum({true, true, false}) = 2
Give different weight to some inputs
  1. Add weights to the list of booleans, like this: allCorrect = {3*correctA, 2*correctB, correctC}
  2. Set your max score manually to maxscore = 6

Functionality of TAO PCI v4

The PCI has 3 response processing modes:
  • none
  • match correct
  • custom
Response processing: none The RESPONSE will show the score, maxscore and responseList. The score is not added to the total score. Response processing: match correct SCORE = 1 if all inputs are correct MAXSCORE is always 1 Both score and maxscore are addet to the total scores. Responselist is not available. Response processing: custom The total SCORE (based on partial credit) is added to the total score. MAXSCORE will not be added to the total score. Responselist is not available.

GeoGebra Version

This version of the TAO PCI uses GeoGebra version 5.2.814.0