Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com), Millisecond
Created: January 20, 2016
Last Modified: January 12, 2025 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This script implements a Serial Subtraction Task akin to the Serial7/Serial3 task. The Serial Subtraction Task is a working memory performance task of the 'updating' category.
The implemented procedure is based on:
Kennedy, D.O. & · Andrew B. Scholey, A.B. (2000). Glucose administration, heart rate and cognitive performance: effects of increasing mental effort. Psychopharmacology (2000) 149:63–71.
Note: in this script, the Serial Subtraction task uses written input instead of oral input
2 minutes
Participants are given a randomly generated 3 digit number between 900-999 and are asked to subtract the specified number (e.g. 3 or 7) as often as they can within a 2 minute time frame (adjustable). Participants enter their solution by selecting digit buttons 0-9 with the mouse. Responses can be corrected before submit. Correct solutions are based on the last entered number (whether or not that response was correct).
This Inquisit script provides a template for a Serial Subtraction Task.
The target Difference can be set under Editable Parameters in the main script.
Participants are given a target number and are asked to start subtracting the specified number
(e.g. 3 or 7) from it in their heads.
They enter their solution to each new subtraction via a response dial.
The response is evaluated in regard to the previously entered solution (whether or not that was a correct
solution).
The task is over after 2 minutes (default)
randomly generated 3 digit start numbers (generated without replacement across blocks) between 900-999
Instructions are not original to the task. They are provided by Millisecond and can be
edited in script "serialsubtractiontask_instructions_inc.iqjs"
File Name: serialsubtractiontask_summary*.iqdat
| Name | Description |
|---|---|
| inquisit.version | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| startDate | Date the session was run |
| startTime | Time the session was run |
| subjectId | Participant ID |
| groupId | Group number |
| sessionId | Session number |
| elapsedTime | Session duration in ms |
| completed | 0 = Test was not completed 1 = Test was completed |
| targetDiff | Contains the target difference between numbers (here: 7) |
| roundCount | Counts the number of rounds run (default: 1 round with difference = 7) |
| countResponses | Counts the number of given responses |
| countErrors | Counts the number of errors made |
File Name: serialsubtractiontask_raw*.iqdat
| Name | Description |
|---|---|
| build | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| date | Date the session was run |
| time | Time the session was run |
| subject | Participant ID |
| group | Group number |
| session | Session number |
| blockCode | Name of the current block |
| blockNum | Number of the current block |
| trialCode | Name of the current trial |
| trialNum | Number of the current trial |
| currentNumber | Contains the current start Number to be presented |
| targetDiff | Contains the target difference between numbers (here: 3) |
| correctSolution | Stores the current correct solution the current correct solution number is generated based on the last proposed solution. Thus if the last proposed solution was incorrect, the new correct solution is based on the incorrect proposed solution |
| proposedSolution | Stores the entered proposed solution for the current subtraction |
| correct | The correctness of the response (1 = correct; 0 = incorrect) |
| latency | The response latency (in ms); measured from onset of response dial |
| countResponses | Counts the number of given responses |
| countErrors | Counts the number of errors made |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
| targetDiff | The target difference btw. numbers | 3 |