How do decks work?

For Q11 we need to randomize a vector of value with DECK? How does it work

Decks are a useful general purpose way of creating a ‘random-without-replacement’ draw from a pool of numbers from 1 to N where you specify the maximum number. This is applied at the segment level.

Random-without-replacement draws have advantages over purely random numbers.
After N respondents - each number from 1 to N has been allocated exactly once. This means an even balance of random allocations in maintained across respondents.

In reality with respondent dropout and parallel allocation - perfect balance is not achievable, however SurveyEngine decks are continually re-balanced to recover unused allocations.

See the tutorials page for more information.
https://surveyengine.com/software/software-tutorials/