Application: Quiz Master

Share your advanced PureBasic knowledge/code with the community.
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Application: Quiz Master

Post by collectordave »

Started off as a little programme to help the grandchildren learn maths and turned into a multiple choice quiz programme.

There are two parts to this.

Part 1 is a project that allows you to administer a quiz. That is add and edit questions in a main question database, add and edit quizes and to set a quiz to be taken.

Questions are entered with four multiple choice answers, only one of which is correct, and can be assigned to upto three categories each with it's own difficulty level. These questions form the main question bank. I have included about a hundred or so questions to get you started.

When a new quiz is created it is given a title then a category for the quiz is selected and a difficulty level. Questions can then be selected from the main question bank to be included in the quiz from any question that has been assigned to that category and difficulty level.

Once created and questions assigned the quiz can be set ready to be answered.

I have included a few general knowledge quizes to get started.

Part 2 is a simple stand alone programme for taking the quiz "TakeQuiz.pb". Not sophisticated at all.

Further development is planned along the lines of printing a quiz so it can be used in a Pub Quiz environment and developing the TakeQuiz programme to track scores and also have a timed element to each question.

If anyone likes it and wants to see more post here.

If anyone can add more questions then please feel free to send me a PM so I can give you an email address to send the questions to, after receipt I will add the questions to the main question bank and upload to github.

The link to the code on GitHub is here:-

https://github.com/collectordave/PureBasic-Quiz-Master

Enjoy

cd
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.