XQuiz

Last modified by Nicolas Lemoine on 2024/07/05 17:53

cogQuiz Application using XWIKI,jQuery, Ajax, html5 and css3
TypeXAR
CategoryApplication
Developed by

Zoubir Medjdoub

Rating
1 Votes
LicenseGNU Lesser General Public License 2.1

Description

This extension Allow you to create a Quiz for users, You can prepare the Quiz, publish it, and let the users start the test, You can view the result of each user

Features

Back-Office

  • Create a new quiz
  • Add Question to Quiz
  • Publish the Quiz
  • Display the list of Quiz
  • Listing of user Quiz Result
  • Display Quiz Macro , in order to integrate it on a wiki page 

Front-Office

  • Display list of Quiz
  • Choose one Quiz and start.
  • Display previous quiz results.

Improvements

 

  • Delete question from Quiz ( if there is no response )
  • Result statistics
  • Macro to list top 5 of users.
  • Improve Selection of Quiz.
  • Add a timer once the user start the Quiz.
  • Warning popup when user want to leave in mid of his current Quiz.
  • Secure the result document once the user finish the Quiz.

Model

 
All the code will be stored on XQuizCode  Space

Quiz

Each Quiz is a document that contains one object of type XQuizCode.QuizClass, and one or many objects of type XQuizCode.QuestionClass, 

  • The Structure of QuizClass is the following : quizTitle ( String) , published (boolean )
  • The structure of QuestionClass  class is the following :
    XWiki Class Questions : XQuizCode.QuestionClass( title,answer1,answer2,answer3,answer4,answer5,correctAnswer (static list ): That contains the field of correct answer , value can be : Answer1 | ..| Answer5.
    All Quiz documents are stored on XQuiz  space.

Once an Admin user create a Quiz, the quiz will be unblished by default ,The Admin can decide to publish it, once he finish it.

Response

For each Quiz Document, a user can create a response , the result will be saved on a document , that contains an object of type XQuizCode.QuizResponseClass and  one or many objects of type : XQuizCode.QuestionResponseClass , it depends on the number of questions on the Quiz. 

  • The  structure of QuizResponseClass  is the following : user ( DBList ),quiz ( DBList ),note ( int ),time ( String )
  • The structure of class QuestionResponseClass is the following : questionId ( String ) :obj id of the concerned question , response (String ): That contain the field of correct answer , value can be : Answer1 | ..| Answer5.

All Response Quiz documents are stored on XQuizResults space.

Schema

xquiz-structure.png

Screen view

Admin view

  • The admin can see the list of quiz, create new quiz and edit a quiz
    admin-List.png
  • Once an admin click on a Quiz, he will be redirected to the Quiz sheet

Quiz-sheet.png

  • The admin can modify the Quiz questions and add a new question :
    quiz-sheet-edit.png
  • An admin can add a quiz on a wiki page by adding a macro

User view

  • The user can start a quiz,you can see here the screen of starting here :
    user-start-quiz.png
  • Example of quiz question
    user-quiz.png
  • Once the user finish the Quiz , the screen below will be displayed :
    user-end-quiz.png
  • The user can save , the result on a wiki page :
    user-result.png
  • Listing of user result :
    user-list-result.png

Get Connected