Section in Quiz

Section in Quiz

by Peter Eliyahu Kornfeld -
Number of replies: 8

I was looking for a way to group questions in quiz (something visual) and saw that there is a unit called 'section'.

However it seems that the handling of 'section' is not fully supported (the 'addsection' menu item always hidden, and does not working anyway)... The only way to create sections today is via the DB (which is not really an option)...

Can anyone elaborate on this? It is in development? Abandoned? Can I pick up it and go forward as a kind of contribution?

Average of ratings: -
In reply to Peter Eliyahu Kornfeld

Re: Section in Quiz

by Colin Fraser -
Picture of Documentation writers Picture of Testers

The only section I know of outside the Course Sections is a section course block with just shows a menu that allows you to jump to a section inside a course. That block never made any sense to me as my courses rarely go beyond 5 sections anyway. I only ever put labels into section descriptors with small images left or right aligned, and links to all the required work are often inside the label, so never used it. 

You can find out if there is any development in this area, look at the Moodle Roadmap and in Moodle Tracker specifically at Quiz developments. That might give some proof of something, or some ideas that you could build on. In any case, I suspect that the word "sections" may be too generic and "groups" may be restricted, so think about what it is you really want and work it through that way calling whatever you want. Make your development and see if you can get it working as a plugin for the quiz module. Worry about the niceties later if you are starting from scratch.   

In reply to Peter Eliyahu Kornfeld

Re: Section in Quiz

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

When you say "Sections" do you mean section headings as added to new pages of the quiz as here (direct link) https://docs.moodle.org/en/Building_Quiz#Quiz_layout ? 

I am moving this to the Quiz forum...

Average of ratings: Useful (1)
In reply to Peter Eliyahu Kornfeld

Re: Section in Quiz

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Sections work (normally). You can try it at https://qa.moodle.net/course/view.php?id=2#section-9 (but remember that you can only edit the layout of a quiz if there are no attempts, so you may need to delete the attempts on the demo site to try it.)

In reply to Tim Hunt

Re: Section in Quiz

by Peter Eliyahu Kornfeld -

Gone to the test site, and same as locally - you can not add section in quiz... The option is there, but hidden, and even if I hack it and enable, click on it does nothing...



In reply to Peter Eliyahu Kornfeld

Re: Section in Quiz

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
  1. Go to https://qa.moodle.net/mod/quiz/report.php?id=31
  2. Log in as teacher
  3. Click Select all.
  4. Click Delete selected attempts
  5. Go to https://qa.moodle.net/mod/quiz/edit.php?cmid=31
  6. Click the "Add page break" icon after question 2.
  7. Select Add -> a new section heading from the menu.
  8. It works.
Average of ratings: Useful (2)
In reply to Tim Hunt

Re: Section in Quiz

by Dave Sherwin -
Picture of Particularly helpful Moodlers

Yes that functionality works great. It really organizes the quiz questions.

PS - remember you can add sections to spilt questions into groups.
However I do not believe you can add sections first and then add your questions to each section...