Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Calculate % correct and email results

Calculate % correct and email results 1 Jahr 9 Monate her #89782

  • bdhibbs
  • bdhibbss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
Hi Everyone,
First post and new user to limesurvey. My hosting company had this in a list of free applications so I want to give it a try.

I created a quick quiz. I want it to calculate and show percentage correct and I want an email to go to the participant along with the person who created the quiz.

Thank you!
-B
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Calculate % correct and email results 1 Jahr 9 Monate her #89817

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6362
  • Dank erhalten: 827
  • Karma: 245
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Calculate % correct and email results 1 Jahr 9 Monate her #90029

  • bdhibbs
  • bdhibbss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
Thanks Denis!
I reviewed the documentation but Im confused where the code goes.

Any help appreciated.


-Brian
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Calculate % correct and email results 1 Jahr 9 Monate her #90045

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6362
  • Dank erhalten: 827
  • Karma: 245
Did you activate assessment and test it ?

In the confirmation mail (for token survey) you can send information from the survey. And you can do some calculation with Expression Manager.

Tell us what you test, you done.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Calculate % correct and email results 1 Jahr 9 Monate her #90156

  • bdhibbs
  • bdhibbss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
Hi Denis,
I activated the assessment value and I see it for each questions. I'm using a value of 1 for correct and 0 for incorrect. I am wondering how to calculate score and show the final % to the person who took it and also how to email final to the person who took the quiz and the person who is hosting the quiz.

I attached what I have so far.
Anhang:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Calculate % correct and email results 1 Jahr 9 Monate her #90176

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6362
  • Dank erhalten: 827
  • Karma: 245
You knwo the number of exact question,

Then you can use EM to calculate the percentage.

{sum(Q1.value,Q2.value,Q3.value ....)} : it's the sum of all assesment value for this user.

After do {sum(Q1.value,Q2.value,Q3.value ....)/40*100} to have the percentage.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Calculate % correct and email results 1 Jahr 9 Monate her #90238

  • bdhibbs
  • bdhibbss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
Every time I go into the EM I get a table. Do I attach this code to the survey question groups? All I get is a test column and a description column when I click on the EM icon.



Sorry for all the questions.
Anhang:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Calculate % correct and email results 1 Jahr 9 Monate her #90280

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6362
  • Dank erhalten: 827
  • Karma: 245
You don't have to go to Expression Manager, but USE Expression Manager ;).

This link goes to a documentation for using EM on your own text.

Just try in a question text:
question number : {QID} : you use EM
or
{if(1==0,"This is the end of world","")}

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Calculate % correct and email results 1 Jahr 9 Monate her #90301

  • bdhibbs
  • bdhibbss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
Ok,
- Do I put the assessment values inside the "Message:" portion of assessment Rules?

- Do I need to put anything inside the min max fields?

- Is that correct where I put the TOTAL code?

- Where is the link to the survey and how do I email it out to members in a group?

Thanks
Anhang:
Letzte Änderung: 1 Jahr 9 Monate her von bdhibbs. Begründung: updated info.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Calculate % correct and email results 1 Jahr 9 Monate her #90340

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6362
  • Dank erhalten: 827
  • Karma: 245
Hello,

{TOTAL} mean the {TOTAL} = {sum(Q1.value,Q2.value,Q3.value ....)}

But not sure you can do calculation with TOTAL,

Test
{sum(Q1.value,Q2.value,Q3.value ....)/40*100}

In place of {TOTAL}

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.149 Sekunden
Donation Image