jsPsych

Finalità
Purpose

La finalità del corso è quella di fornire agli studenti le competenze di base per la creazione di esperimenti online tramite l'utilizzo della libreria jsPsych del linguaggio di programmazione JavaScript. Grazie ai modelli precostituiti contenuti in jsPsych è infatti possibile presentare via browser ai partecipanti un'ampia gamma di stimoli e registrare differenti tipi di risposte. Al termine del corso gli studenti saranno in grado di programmare autonomamente diversi tipi di compiti sperimentali.

The aim of the course is to provide students with the basic skills needed for programming online experiments in jsPsych, a library that makes it easier to code in the JavaScript programming language. Thanks to jsPsych's pre-built templates, it is possible to present participants with a wide range of stimuli and register different types of responses remotely, via browser. At the end of the course, students will be capable to autonomously program different kinds of experimental tasks.

Software utilizzato
Software used

Il corso prevede l'utilizzo dell'editor di testo Visual Studio Code, scaricabile all'indirizzo https://code.visualstudio.com/

The course requires the download and installation of the text editor Visual Studio Code, available at https://code.visualstudio.com/

Programma del corso

Lezione 1
- Installazione guidata del software e verifica del suo corretto funzionamento. Guida alla navigazione sul sito jspsych.org. Introduzione alla programmazione in HTML, CSS, JavaScript.
Lezione 2
- Tutorial introduttivi di jsPsych. Basi di JavaScript: tipi di dati e variabili, sintassi, oggetti, funzioni, cicli.
Lezione 3
- Opzioni avanzate per la costruzione di trial in jsPsych.
Lezione 4
- Panoramica dei plugin di jsPsych.
Lezione 5
- Hosting degli esperimenti. Esercitazione pratica. Test finale.

Course program

Lesson 1
- Guided installation of the software and operational check. Guided navigation on the jspsych.org website. Introduction to programming with HTML, CSS, JavaScript.
Lesson 2
- Introductory jsPsych tutorials. Basics of JavaScript: data types and variables, syntax, objects, functions, loops.
Lesson 3
- Advanced options for building trials in jsPsych.
Lesson 4
- Overview of jsPsych plugins.
Lesson 5
- How to host experiments. Practical exercise session. Final test.

 

 

Prerequisiti/Prerequisites: Nessun prerequisito/There are no prerequisites for the course

Durata del corso/Duration of the course: 20 ore/hours

Aule di svolgimento delle lezioni/Classrooms for lessons: Aula CARS (Piano Terra, Psico1)

Possibilità di erogare il corso in inglese/Possibility of delivering the course in English: Si/Yes

Numero massimo partecipanti/Maximum number of participants: 10

Conduttore/Conductor: Marco Roccato

 marco.roccato@studenti.unipd.it

 

ISCRIVITI