Skills101
← All practice quizzes

Quiz: LLM Workflow Patterns

5 questions · new set on every retakeNo time limitPass: 60%+10 XP on first pass

Most useful LLM apps are not free-roaming agents but small, predictable workflows. Learn the five standard patterns (prompt chaining with gates, routing, parallel calls and voting, orchestrator and workers, evaluator–optimizer loops) with runnable Python control flow.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    What is a "gate" in prompt chaining?

  2. Question 2

    Why does routing often reduce cost?

  3. Question 3

    What does this print?

    from collections import Counter
    votes = ["yes", "no", "yes", "yes"]
    answer, count = Counter(votes).most_common(1)[0]
    print(answer, count / len(votes))
    
  4. Question 4

    Five votes on "is this message spam?" split 3 to 2. What should a careful app do?

  5. Question 5

    Which task fits parallel sectioning?

🎯 Today’s placement challenge — 10 questions, no login. Can you score 10/10?Take today’s challenge →