.

Concerto v3.0 Tutorials: Randomising test items

This tutorial explains how to create a test in which the items are presented in random order.

It is assumed that you are familiar with the Concerto v3.0 Tutorials: Create a simple test section and are familiar with the basic functions of Concerto v3.0 (Concerto v3.0 Tutorials: General Manual).

Note:

.

Constructing test logic sections for randomisation

Randomisation can be achieved by using the R command sample (a:b,c) which gives a randomized sequence of c numbers from a to b. After setting variable d with this R code, each element can be called in with d>e which refers to the _e_th number in the sequenced._

In the example below, a randomized sequence of 6 numbers from 1 to 6 is generated, and each of them is assigned to the id sequence from 1 to 6 (see Picture 1 below).

By this means, the six response options can be randomly presented on the template with corresponding html codes given to the six buttons (see Picture 2 below).

Picture 3 (below) shows the table with the prepared html and id.