Tutorials in Quantitative Methods for Psychology (Jun 2023)

Programming an n-Back task in Qualtrics using HTML and JavaScript

  • Bradley-Garcia, Meenakshie,
  • Bolton, Victoria

DOI
https://doi.org/10.20982/tqmp.19.2.p136
Journal volume & issue
Vol. 19, no. 2
pp. 136 – 155

Abstract

Read online

The n-back task is an extensively used cognitive test that assesses working memory. The task is well-suited to virtual administration as it reliably produces similar results to in-person administration and is easily adapted to asynchronous operation. However, the procedure to program this task into various computer programs and software is not widely known. Therefore, this tutorial aims to provide researchers with simple yet detailed step-by-step instructions on how to program an n-back task in Qualtrics using HTML and JavaScript. This tutorial is meant to be easily followed by the layperson without extensive knowledge of computer programming.

Keywords