slvdr510 / RandomOrderTypeTestExam

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random-Order Type-Test Exam

What's this?

  • Python script made for loop over data from a json file.
  • It let you choose one correct answer for each question.
  • Modify the time.sleep() after each correct or failed answer as you want.
  • At the end shows up a resume with all the fails and a counter of Failed❌| swersnd Correct answers: ✔️

How To Use

# Clone this repository
$ git clone https://github.com/slvdr510/randomOrderTypeTestExam

# Go into the repository
$ cd slvdr510-randomOrderTypeTestExam

# Run the script in CMD or VSCode
$ python random_order_type_test_exam.py

JSON Format

    [
        {
            "question": "Commodo sunt excepteur irure sint veniam",
            "option": [
                "Pariatur velit elit qui labore officia labore qui voluptate sint.",
                "Incididunt velit excepteur pariatur id excepteur.",
                "Proident eiusmod amet eiusmod incididunt reprehenderit sint anim laborum ut laboris sit laboris.",
                "Pariatur id velit mollit est dolore sint aute irure voluptate Lorem esse."
            ],
            "correctOption": 1
        },
        {
            "question": "Question",
            "option": [
                "Answer number 1",
                "Answer number 2",
                "Answer number 3",
                "Answer number 4"
            ],
            "correctOption": 1
        }
    ]

License

MIT


About

License:MIT License


Languages

Language:Python 100.0%