represents a list of questions from which one of the question objects qoi can be randomly selected.


represents a cloud-deployed question selector.

Details and Options


open allclose all

Basic Examples  (1)

Create a question selector:

Get a random question from the pool:

Scope  (3)

Create a pool of geometry questions:

Get a random question from the pool:

Create a list of multiple questions from the pool:

Deploy a question selector to the cloud:

Get the deployed pool:

Use it:

The solutions are not included in either the pool or the question:

Define a list of true/false questions:

Create a pool that generates three questions from the list:

Generate the questions:

Applications  (2)

Create a question pool asking for the population of G7 countries:

Create a function to generate questions about classes of animals:

Make a question pool:

Retrieve a question from the pool:

Properties & Relations  (1)

QuestionSelector serves questions from a predefined, static set of questions:

QuestionGenerator can work equivalently using RandomChoice:

QuestionGenerator can also generate new questions:

Neat Examples  (1)

Using the resource function RandomEntityQuestion, generate a pool of random multiple choice questions about dog breeds with images as answer choices:

Select a random question:

Wolfram Research (2022), QuestionSelector, Wolfram Language function,


Wolfram Research (2022), QuestionSelector, Wolfram Language function,


Wolfram Language. 2022. "QuestionSelector." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2022). QuestionSelector. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2023_questionselector, author="Wolfram Research", title="{QuestionSelector}", year="2022", howpublished="\url{}", note=[Accessed: 26-September-2023 ]}


@online{reference.wolfram_2023_questionselector, organization={Wolfram Research}, title={QuestionSelector}, year={2022}, url={}, note=[Accessed: 26-September-2023 ]}