Serial 3 Task

Technical Manual

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com), Millisecond

Created: June 20, 2016

Last Modified: March 11, 2026 by K. Borchert (katjab@millisecond.com), Millisecond

Script Copyright © Millisecond Software, LLC

Background

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 & Scholey (2000). Note: in this script, the Serial Subtraction task uses written input instead of oral input

References

Kennedy, D.O. & Scholey, A.B. (2000). Glucose administration, heart rate and cognitive performance: effects of increasing mental effort. Psychopharmacology (2000) 149:63–71.

Duration

2 minutes

Description

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).

Procedure

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)

Stimuli

randomly generated 3 digit start numbers (generated without replacement across blocks) between 900-999

Instructions

Instructions are not original to the task. They are provided by Millisecond and can be
edited in script "serialsubtractiontask_instructions_inc.iqjs"

Summary Data

File Name: serialX_summary*.iqdat

Data Fields

NameDescription
inquisit.version Inquisit version number
computer.platform Device platform: win | mac |ios | android
computer.touch 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities
computer.hasKeyboard 0 = no external keyboard detected; 1 = external keyboard detected
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
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

Raw Data

File Name: serialX_raw*.iqdat

Data Fields

NameDescription
build Inquisit version number
computer.platform Device platform: win | mac |ios | android
computer.touch 0 = device has no touchscreen capabilities; 1 = device has touchscreen capabilities
computer.hasKeyboard 0 = no external keyboard detected; 1 = external keyboard detected
date Date the session was run
time Time the session was run
subject Participant ID
group Group number
session Session number
blockcode The name the current block (built-in Inquisit variable)
blocknum The number of the current block (built-in Inquisit variable)
trialcode The name of the currently recorded trial (built-in Inquisit variable)
trialnum The number of the currently recorded trial (built-in Inquisit variable)
trialnum is a built-in Inquisit variable; it counts all trials run
even those that do not store data to the data file.
currentNumber Contains the current start Number to be presented
targetDiff Contains the target difference between numbers
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

Parameters

The procedure can be adjusted by setting the following parameters.

NameDescriptionDefault
taskDuration Task duration in ms 120000
circleProportion Proportion of canvas height used for the circle radius of response buttons0.3