Skip to content
programavimas.xyz docs

Question banks

How quiz questions are kept in banks and question groups, who sees them, and how to archive or delete banks, groups and questions.

Quiz questions are kept in the problem archive: Problem archive → Quiz questions; the address is /library/questions.

Concept What it is
Question bank A set of question groups, for example “Spreadsheets”. Shared like other library items.
Question group Interchangeable questions, for example “Formulas”. A quiz draws the number of questions you choose from each group, at random. A question group is not a course topic.
Question One of seven types (see Questions).

Questions are never copied into courses: every quiz attempt uses the questions of the shared bank.

The table lists the banks you can see: Bank, Groups, Questions (active ones), Sharing. Banks you can’t change are marked View only. Active and Archived above the table switch between the banks in use and the archived ones (?view=archived). Each bank you can change has a ⋯ menu at the end of its row: Archive bank (Restore bank for an archived one) and Delete bank… (see Archive or delete a bank).

Sharing Who sees it and can use it in quizzes
Private The owner, admins of its organisation and people it is shared with.
Organisation Staff of the bank’s organisation.
Public Every teacher on the platform.

A bank (its groups and questions) can be changed by its owner, admins of its organisation, system administrators and people with an edit grant.

  1. Quiz questions → New bank.
  2. Enter a Name (up to 120 characters) and click Create bank.

The bank is shared with your organisation (private if you have none). A system administrator’s bank belongs to no organisation and starts public. Change the name and sharing with Bank settings on the bank’s page. Organisation is available only when the bank belongs to an organisation.

The question groups are pills at the top (with their question counts), archived groups apart. The selected group is part of the address (?group=…). Below the pills, the selected group’s line shows its name, how many quizzes use it (Used by N quizzes or Not used by quizzes yet) and, at the right end, the group’s ⋯ menu.

The ⋯ in the panel header is the bank’s menu: Archive bank and Delete bank….

Each question’s row shows the start of its text, its version, Used in N attempts or Not used yet, and the labels Archived and Needs review (a question imported from the old system whose formatting was converted with warnings).

  1. On the bank page, click New group.
  2. Enter a Name (for example “Formulas”) and click Create group. Group names can’t repeat within a bank.

The group’s ⋯ menu (on the selected group’s line):

  • Rename…;
  • Archive group – new quizzes can’t draw from it; quizzes that already do keep working. An archived group takes no new questions. Restore group brings it back;
  • Delete group… – for a group nothing has used: no quiz draws from it and none of its questions was drawn into an attempt. Its questions (archived ones too) are deleted with it; the confirmation says how many. A group that is in use can’t be deleted: the dialog lists what uses it (Used by N quizzes, N questions used in attempts) and offers Archive group instead.
  1. Select a group.
  2. Click New question and choose the Question type. The button is disabled until a group exists (Create a question group first.).
  3. Fill in the question and click Save question (Ctrl Enter).

Every field is described in Questions.

A question row’s menu: Edit, Archive / Restore, Delete….

  • A question that was never drawn into a quiz attempt can be deleted for good (this can’t be undone).
  • A question used in attempts can only be archived: attempts, answers and marks keep it, and new attempts no longer draw it. Its Delete… dialog says so and offers Archive question.

Archived questions stay in the group with the Archived label and no longer count among the questions available to quizzes. Before archiving, check that the group keeps enough questions for the quizzes that use it.

Open the bank’s ⋯ menu (at the end of its row in the list, or in the header of its page).

  • Delete bank… – for a bank nothing has used: no quiz draws from any of its groups and none of its questions was drawn into an attempt. The confirmation names what goes with it (N groups and N questions, archived ones too); its images and sharing go as well. This can’t be undone.
  • A bank that is in use can’t be deleted: the dialog lists what uses it and offers Archive bank instead.
  • Archive bank – the bank moves to Archived. New quizzes can’t pick its groups; quizzes, attempts, marks and results that use it keep working. An archived bank can be opened and read but not changed. Restore bank (in its menu or on its page) brings it back.

Archiving, restoring and deleting a bank are for the people who can change it: its owner, admins of its organisation, system administrators and people with an edit grant.

  • Questions – question types and the editor.
  • Quizzes – build a quiz from the groups.