Feature: Randomize the order of quiz questions

Open Beginner friendly
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
85/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python
Domain
backend

Research direction

Start with src/quiz.py and locate the QUESTIONS list and the quiz entry point. Use the standard-library random module as requested, then verify that repeated quiz runs can produce different orders while the original QUESTIONS list remains unchanged. Done means questions are no longer always shown in fixed order and existing quiz behavior still works.

Written by the indexing model from the issue text.

Description

enhancement

The quiz always presents questions in the same order. It would be better to shuffle them each time so the quiz feels fresh when replayed.

Current behavior: Questions always appear in the same fixed order (1 through 5).

Desired behavior: Questions appear in a random order each time the quiz is run.

Use the random module from the standard library. Make sure not to modify the original QUESTIONS list.

The change should be in src/quiz.py.

Dominant language
Python
Stars
43
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pamelafox/github-copilot-mcp-tutorial

All issues in pamelafox/github-copilot-mcp-tutorial

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.