[FREE] Quiz Extension with Report

Dear team ,

here is y another extension named as QuizExtension which receives the Questions from the users and populate them easily for the users and if all are answerd it will give the details report with Correctly Marked Question and Answers as well Wrongly marked question,marked answer along with actual answer as a YAil list. and also score and percentage.

In community i found some peoples raised topic regarding the quiz, shuffling the its process. So i made this cute and compact extension. This supports 1000+ questions easily and shuffle them easily.

During initialization if you set the boolean as true or false then no need to add further shuffling. It may lead crash or not working or may get freeze.

Let me introduce the blocks and its documentation.

QuizExtension

Complete Quiz Extension with Answer Tracking

Events:

Helper Blcoks (Mostly no need of this unitill it needs outside of the event listenrs)

The work flow

Step 1 : Prepare your lists , may be from anywhere DB, file, manual etc etc.
Step 2 : Once ready with all the lists call the QuizExtension initialize helper block  (If need shuffle mark it as true else mark it as False

Format of questionData should be like this

item 1 Question 
item 2 Option 1 
item 3 Option 2 
item 4 Option 3 
item 5 Option 4 
item 6 Correct answer

(If you add other format it will throw error or app may not work, or foreclose)

Step 3: Loading will triggered if your list is too big.
Step 4: Once all the questionData initialized (if shffling requested, shuffled) then design blcoks like this. Thie questionData will give the first question to display as a YailList. So it will be easy to format it.

Step 4: Next focus on to the listener to submit answer. Try to get answer from the user in your style but in string type.

Step 5: If Step 4 success then automatically this event will trigger


If the user answer is correct automatically +1 will increment else 0. So no more worry about score.

displayPos: Will says which give the current index of the question (irrespective of shuffling)
originalPos: Will give you if shuffled actual nth place in the original questionData else it will be same int likedisplayPos

Step 6: Focus on to Next or Previous Click. Once it triggered then you wll be pushed to step 4 automatically and it will continue till user attend all the questions. Once all over automatically user will forced to final event listener

Pls read the documentation. I feel tired to type even though i used some screenshots, i feel tired to type, testing, debugging…

So team, pls test this aix, and if you find any error let me know. Then will decide whether to continue or discontinue this extension

Extension

Version 01:
QuizExtension(28).aix (15.6 KB) 2025-03-28T18:30:00Z

Demo aia :

QuizExtensionDemo.aia (58.6 KB)

5 Likes

please share AIA file if possible…

Ok let me share it after adding some UI

1 Like

Demo aia added at the end of the first post

2 Likes

Thnx… It will be useful to me and my students for educational purpose.

1 Like