Skip to content

This page is for authors. It shows how to write a practice question that a learner can answer on the page and that explains every option. Each kind of question appears once below as a working example, so you can try it the way a learner will.

You will learnThe :::question syntax, the five kinds of item, and the rules the checks enforce.
Who reads the resultLearners, on the site, in a printed copy and in the PDF.
Where it goesThe ✓ Practice segment of a session, and the sample items on a course’s assessment page.

The program has two kinds of questions. They are written differently and they never mix.

Practice questionsAssessment bank items
Who sees themEvery learner.Facilitators only (instructor: true).
What they are forLearning: the learner answers, then reads why each option is right or wrong.Certification: they decide whether someone passes.
Where they liveSession pages and assessment.md, written as :::question.assessment-bank.md only.
ExplanationsRequired for every option, with a link to where the point is taught.A short rationale, for the facilitator.

A bank item that appears on a learner page is burnt: anyone can read it, so it no longer tests anything. Never copy a bank item into a practice question, not even reworded. Write a new practice item instead. The check-bank-leak check compares the bank with every learner page, in English and in Arabic, and fails when they share a stem or an option.

  • Without JavaScript, the learner reads the question, decides, and then opens Check your answer and the Explanation under each option. All of it is on the page, and all of it can be reached with the keyboard.
  • With JavaScript, a Check button marks each option right or wrong, opens the explanations that matter, and says the result aloud for screen readers. Try again clears the marks. Ordering items can be dragged, moved with the arrow buttons, or moved with Alt and the up or down arrow.
  • On paper and in the PDF, choices print as empty circles and boxes to fill in by hand, every explanation prints, and no buttons print.
  • In Arabic, the page runs right to left and the option letters are أ ب ج د.

A practice question is a container directive in an ordinary .md page. You do not need MDX.

:::question{#acp-m3-s1-q2 type=single concept=field-type}
Which field type should hold the person a task is assigned to?
- [ ] Short text
> Not this one: a typed name is not linked to a real user, so nothing can
> reach that person. See [User field](%DOCS_URL%/en/build/guides/field-types/field-types-user).
- [x] User
> Correct: a User field links the entry to a real account in your
> organization. See [User field](%DOCS_URL%/en/build/guides/field-types/field-types-user).
:::
  • The id follows #. On a session page it is <course>-m<M>-s<N>-q<k>, for example acp-m3-s1-q2. On any other page it is <course>-<page>-q<k>. An id is unique, the same in English and Arabic, and never reused.
  • The type is single, multiple, truefalse or order. A scenario wraps questions in ::::scenario{#id}.
  • concept= names the concept the question practises, from the list in the rebuild contract. It is optional but recommended.
  • The options are a task list. [x] marks a correct option and [ ] a wrong one. For order, write a numbered 1. list in the correct order; the page shows it shuffled, the same way on every build.
  • Every option has an explanation: a > quote indented under the option, of at least 12 words, that says why the option is right or wrong and links to the session section or docs page that teaches the point.

Use :::model-answer for a worked solution the learner compares their own work with. It shows collapsed and opens on demand. Write :::model-answer[Worked solution] to change its title.

The questions below are live. Answer them to see what a learner sees.

PracticeChoose one answer.

A task must record the colleague who is responsible for it. Which field type should hold that colleague?

  1. Explanation for A

    ✗ Incorrect

    Not this one: a Text field stores whatever is typed, so a name in it is not linked to a real account and can be misspelt or out of date. See User field.

  2. Explanation for B

    ✓ Correct

    Correct: a User field links the task to a real person in your organization, picked from a list of users, so the record knows exactly who is responsible. See User field.

  3. Explanation for C

    ✗ Incorrect

    Not this one: a Reference field links to an entry of another entity, such as an asset or a project, not to a person’s account. See Relations and references.

  4. Explanation for D

    ✗ Incorrect

    Not this one: a Category field offers a fixed pick-list of values, so the names would be a list someone keeps by hand, not real accounts. See Category field.

Check your answer

The correct answer is B. Open the explanation under each option to see why.

PracticeChoose every answer that applies.

Lina has View on the Employees entity directly, and Edit on it through the HR group. Which statements are true?

  1. Explanation for A

    ✓ Correct

    Correct: when grants overlap, the highest level wins, so the Edit she gets through the HR group applies even though her own grant is only View. See How grants add up.

  2. Explanation for B

    ✗ Incorrect

    Incorrect: no grant takes away access that another grant gives, so her direct View cannot cancel the Edit that comes from the HR group. See How grants add up.

  3. Explanation for C

    ✓ Correct

    Correct: removing a grant removes only that one grant; she keeps Edit through the HR group until that grant, or her membership, is removed. See How grants add up.

  4. Explanation for D

    ✗ Incorrect

    Incorrect: Admin counts only at the system level, so an Admin grant on a module or an entity gives nothing at all. See The access levels.

Check your answer

The correct answers are A and C. Open the explanation under each option to see why.

PracticeDecide whether the statement is true or false.

Every workflow starts at an initial step and ends at a final step, and the platform creates both of them when you add the workflow.

  1. Explanation for A

    ✓ Correct

    Correct: adding a workflow creates an Initial Step and a Complete Step for you, and you add your own steps between them. See How a workflow works.

  2. Explanation for B

    ✗ Incorrect

    Incorrect: you never build the start and the end yourself; the platform creates both when the workflow is added, and your own steps go between them. See How a workflow works.

Check your answer

The correct answer is A (True). Open the explanation under each option to see why.

PracticePut the items in the right order.

An employee asks for a laptop through an Asset Request. Put the steps of the main path in the order the record moves through them.

  1. Explanation for A

    Belongs in position 1 of 4

    First: the initial step is always owned by the person who created the record, and submitting it is what starts the workflow. See How a workflow works.

  2. Explanation for B

    Belongs in position 3 of 4

    Third: fulfilment happens only after approval, because the Approve action is what moves the record on to the IT team’s step. See Route the record with actions.

  3. Explanation for C

    Belongs in position 4 of 4

    Last: the Delivered action moves the record to the final step, which ends the main path of the workflow. See How a workflow works.

  4. Explanation for D

    Belongs in position 2 of 4

    Second: the manager must agree before anyone hands over equipment, so the approval step comes straight after the request is submitted. See Choose who acts at a step.

Check your answer

The correct order is A → D → B → C. Open the explanation under each item to see why it sits where it does.

Scenario

The Facilities team of a fictional city council runs an Asset Request service. Employees submit requests, line managers approve them and the IT Support group fulfils them. Rania has just joined IT Support. She can open the team’s dashboard, but she cannot see any Asset Request records in Administration.

PracticeChoose one answer.

Rania must list and open the Asset Request records in Administration. What is the lowest access level that allows it?

  1. Explanation for A

    ✗ Incorrect

    Incorrect: View shows the design of the entity and the screens shared with her, but not the records themselves in Administration. See The access levels.

  2. Explanation for B

    ✗ Incorrect

    Incorrect: Developer lets a person build and change the design, such as fields and views, without seeing the records. See The access levels.

  3. Explanation for C

    ✓ Correct

    Correct: to list or open the records of an entity in Administration, a person needs Edit on that entity or its module, or Edit at the system level. See The access levels.

  4. Explanation for D

    ✗ Incorrect

    Incorrect: Admin counts only at the system level, so an Admin grant on one entity gives her nothing at all. See How grants add up.

Check your answer

The correct answer is C. Open the explanation under each option to see why.

PracticeChoose one answer.

Three more agents join IT Support next month and need the same access as Rania. Where should that access be granted?

  1. Explanation for A

    ✗ Incorrect

    Incorrect: a grant to one user suits a single person with a unique need; repeated for a whole team it is hard to review and easy to forget. See Who you can give access to.

  2. Explanation for B

    ✓ Correct

    Correct: a team that needs the same access is the usual case for a group grant, and a new agent gets the access simply by joining the group. See Who you can give access to.

  3. Explanation for C

    ✗ Incorrect

    Incorrect: anonymous access is for people who are not signed in, such as a public form, so it would open the records far beyond the team. See Who you can give access to.

Check your answer

The correct answer is B. Open the explanation under each option to see why.

A reflection or a lab ends with a solution the learner checks their own work against. It belongs in :::model-answer, never in a facilitator block: a learner working alone needs it.

On your own: Rania moves to another team next year. Write down what you would change so that she loses her access to the Asset Request records, and why.

Model answer

Remove Rania from the IT Support group. Her access came from the group grant, not from a grant to her as a user, so removing her membership removes the access, and the other agents keep theirs. Then check her other groups and roles: access she gets through any of them stays until that grant is removed too. See How grants add up.

Draw flows, relationships between concepts, permission ladders and workflow paths as ```mermaid fences, never as ASCII art. Follow each diagram with a What to notice line. In the Arabic edition, write flows as flowchart RL so they read right to left.

flowchart LR
  A["Initial Step<br/>(the employee submits)"] -->|Submit| B["Manager approval"]
  B -->|Approve| C["IT fulfilment"]
  B -->|Return| A
  B -->|Reject| D["Complete Step"]
  C -->|Delivered| D

What to notice: the main path runs Submit, Approve, Delivered; Return and Reject are sub-paths that leave it.

flowchart BT
  R["Restricted"] --> V["View"] --> DV["Developer"] --> E["Edit"] --> AD["Admin<br/>(system level only)"]

What to notice: each level covers the ones below it, and the highest level a person holds is the one that counts.

The module and the Tasks entity: the opening frame of the video. Follow the link to watch it.

Tutorial · Part 1 of 3 · 2 min 6 s

The module and the Tasks entity

Create the Task Management module and its Tasks entity · Recorded on Osos 1.11.0-alpha.1

What to notice: the module is created first, and the Tasks entity is created inside it. The form’s five fields come from the fields placed on Structure.

Add a record: the opening frame of the video. Follow the link to watch it.

How-to · 36 s

Add a record

Fill in the form and save · Recorded on Osos 1.11.0-alpha.1

What to notice: the required fields are marked, and the new record appears in the list as soon as it is saved.

CommandWhat it proves
npm run check:practiceEvery question has a valid id and type, the right number of [x], an explanation of at least 12 words for every option, and at least one link, and every #anchor it links to exists.
npm run check:bank-leakNo assessment-bank stem or option appears on a learner page, in either language.
npm run check:publicThe learner build carries no answer key outside a practice block, and no bank item. Run it after every change to questions or gating.
npm run test:practiceThe questions work in a real browser: without JavaScript, with it, in Arabic, and in print.
npm run test:videoThe videos work in a real browser: a player on screen, and the poster with its link in print.