Quiz - Digital Asset
The quiz on this site is a digital asset, designed to raise funds for the Rotary Club of Ballymena
Through advertising campaigns or social media posts, email campaigns etc, public donors are directed, to the landing page, where they can buy entries into a digital quiz, or donate more than would be due for the same number of entries.
Quiz Landing Page
When the landing page loads, it checks the database to see if any quiz campaigns are active. If none are found, a message to that effect is presented to the user.
Once a quiz campaign is active, the web page presents some basic details such as :-
- Name of Quiz
- Entry fee
The user is offered a form to complete, with basic details so we can contact them should they win, as well as an option to receive marketing updates (defaulted to NO).
At the bottom of the form, the user enters their donation amount before entering how many entries they wish to receive. This allows someone to donate a greater, unlimited amount, for a small number of entries if they wish.
The form is then processed when the user 'submits'. Form validation is applied, to avoid administration errors, then the site creates the quiz entries.
*** This point in the process will redirect to a payment option, but doesn't currently.

Quiz Entry Generation
The backend systems deal with the creation of new Quiz entries. It creates a series of quizzes, as requested above, and then sends an email to the recipient with one link for each quiz entry.

Quiz User Completion
The user then opens their email, and follows the instructions contained within it.
- Clicking on each link brings the quiz applicant to a page on this site.
If the quiz has been previously completed, the user is presented with this information and the quiz is no longer available to them.
If the quiz hasn't been submitted, it is loaded into the webpage and the user is invited to complete each entry.
Once finished, they can either 'Save' or 'Save and Submit', where Saving allows the answers to be stored in the database but they can return to complete later. Submitting means the answers are final.
Upon either Saving or Submitting, the user receives a confirmation message, explaining what to do next.

Quiz Marking
A Dedicated page allows specified Ballymena Rotary account holders to 'mark' the quizzes which have been submitted. Additionally, this page is password protected.
The page loads, presenting the marker with a list of Campaigns. Once the Campaign has been chosen, the individual quizes are listed, but only if submitted and unmarked.
Once a valid quiz is selected, the questions, suggested answers and provided answers are displayed for the marker to proceed.
Each answer has a toggle button, defaulted to OFF. This is to be changed to ON to indicate a correct answewr.
At the bottom, the marker clicks the 'Submit' button, and the marks are stored in the database along with the total of correct answers.

Quiz Dashboard
A Dedicated page allows specified Ballymena Rotary account holders to oversee everything relating to a quiz campaign. Additionally, this page is password protected.
The page loads, presenting a list of Campaigns. Once the Campaign has been chosen, the summary information is retrieved from the database and presented to the user.
We see relevant information and a table showing all completed quizzes, organised by the number of correct answers.
Once the campaign has closed and all quizzes have been marked, the final button allows for a winner to be determined. If there's only one quiz with the highest number of correct answers, they win. Otherwise the system will choose one random winner from among the entries having the highest marks.
At this point, the 'Winner' is displayed on the screen and it falls to the Campaign administrator to reach out and make arrangements for the winner to receive their prize.

Quiz Creation
Quizzes are best explained in the reverse order to which they are built.
A Quiz Campaign holds information about the Quiz, The start and end date, beneficiary etc.
The Quiz itself holds a list of Questions & Answers.
Each Question & Answer is created and can used in multiple quizzes if needed.
Q&A Creation
Questions and Answers can be viewed, created or edited here.
Given the instant access that everyone has to the internet, cryptic questions are best.
Suggested answers allow the markers to allocate marks later on.
For example a suggested answer might not exactly match the answer supplied due to spelling or other issues but could be interpreted as being correct.
** Note on Question Reference
Each Question needs to have a unique reference. A good technique is to use the date the question was created followed by a number, such as in the image below.

Quiz Sheet Creation
Quiz Sheets can be viewed, created or edited here.
A quiz sheet can re-use questions from other quizzes, or have questions specifically created for it.
Quiz sheets have an author, so that different Rotarians can build their own quiz sheets in preparation for a campaign at some point in the future.
Quiz sheets have a target beneficiary, such as 'local charities', 'Foundation', 'Polio' etc.

Quiz Campaign Creation
Quiz Campaigns can be viewed, created or edited here.
A quiz campaign can re-use quizzes from other campaigns, or have quizzes specifically created for it.
Quiz campaigns have an campaign name, so that different Rotarians can build their own campaigns in advance.
Each campaign has a launch date and an end date, referred to in the landing page.
A campaign also has an entry Fee.
