PremierLangage / premierlangage

Server for auto-evaluating exercices
Other
18 stars 9 forks source link

Prepared exercices #223

Open nimdanor opened 5 years ago

nimdanor commented 5 years ago

we should try to implement a prepared exercise for MCQ. See https://github.com/PremierLangage/plconception/blob/master/miniprojets/prepared.md

nimdanor commented 5 years ago

this is for a "stagière"

nborie commented 5 years ago

girl or boy ?

nborie commented 5 years ago

(The previous question is just a joke...)

Curentlty, if you synchronize, for example, preprod with OSBank (which is normaly the case...), you will find that with the save of context, the MCQ proto is working well...

You will have to answer 5 différents questions out to 10 with something between 5 and 8 different options among what is available question by question and the exercise will finally dive you a grade in percent

nborie commented 5 years ago

There is a -1 (grade that I do not want to print but which is printed) everywhere... but it is just a technical and cosmetic details. I do not know how to remove it for now...

esandier commented 5 years ago

I gave a look, and 1) The syntax is great, only missing is a way of specifying grading options (do you need to check every good answer, or just one?) and wether only one or two, or three answers can be checked. 2) There is such a thing as a carrousel available in bootstrap, [https://www.w3schools.com/bootstrap/bootstrap_carousel.asp]() This could maybe avoid the need to change the form after each question, and load the whole sequence at once, allowing also to go back and forth between questions, and validating once and for all when finished?

esandier commented 5 years ago

Here is a demo of an MCQ carousel. Only the visual aspect, it is not connected to the parser, and there is no grader, but that could easily be taken from the OSbank proto. https://pl-preprod.u-pem.fr/filebrowser/option?name=test_pl&path=Yggdrasil/maths-pl-bank/exercises/MCQ/mcq_carousel.pl