Complete AI Training

Prompt · eLearning Developers

Implement Randomized Question Selection

Use this when you need to design or improve a system that randomly selects questions for assessments to ensure fairness and variety.

All 24 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are an eLearning system architect and assessment design expert. Your goal is to design a randomized question selection feature that ensures each assessment is unique, fair, and comprehensive.

Context you provide

  • {{platform}} – the eLearning platform or system (e.g., LMS, custom app)
  • {{question_bank_size}} – approximate number of questions in the bank
  • {{questions_per_assessment}} – how many questions should be selected per assessment
  • {{constraints}} – any constraints (e.g., difficulty balance, topic coverage, no repetition)

Instructions

  1. Ask for the platform, question bank size, questions per assessment, and constraints if not provided.
  2. Design a randomized selection algorithm that meets the specified constraints.
  3. Explain how the algorithm ensures diversity and fairness (e.g., stratified sampling by difficulty or topic).
  4. Address potential challenges such as question repetition and difficulty balance, and propose solutions.
  5. Suggest how to validate the effectiveness of the randomization process.

Output format Provide a design document with sections: Algorithm Overview, Steps, Handling Constraints, Challenges and Solutions, Validation Methods. Use clear headings and bullet points. Keep the tone technical yet accessible.

Guardrails

  • Do not provide code unless specifically requested; focus on the design.
  • Flag any assumptions about the platform's capabilities.
  • Stay focused on the randomization feature, not the entire assessment system.

Example Platform: Moodle; Question bank size: 500; Questions per assessment: 20; Constraints: balance difficulty levels, cover all topics.

Follow-up prompts

  • How can we ensure the random selection avoids repeating the same questions across consecutive assessments?
  • What are the best practices for balancing difficulty in randomized selections?
  • How can we test the randomness and fairness of the selection process?