# Knowledge Based Questions

Knowledge Based Questions are graded questions which contribute to the determination of if a learner has passed a course successfully.

You configure the maximum number of passing attempts as well as the passing score in the course settings area. Thus, you might configure that each question is allowed 3 attempts and a learner must pass 80% of questions successfully in order to pass the course.

## Types of Knowledge Based Questions

### Multiple Choice

<figure><img src="/files/9LhnccxiLbHES0jYfm5N" alt=""><figcaption></figcaption></figure>

Multiple choice questions can have many choices and one or more choices can be marked as the correct choice. A learner must check all of the correct marks to pass the questions.

In the editor view, you will select the right answers.

### True/False

<figure><img src="/files/lUhG49XlgT3ZtF7wbpYP" alt=""><figcaption></figcaption></figure>

True/false questions have just two choices: true or false.

### Dropdown and Select

<figure><img src="/files/9AcVwXucDq33f3jlPsCl" alt=""><figcaption><p>Editor view of a dropdown select question</p></figcaption></figure>

<figure><img src="/files/sSn2Djjg9AV0naHTa1Si" alt=""><figcaption><p>Learner view of a dropdown select question</p></figcaption></figure>

Dropdown select questions are useful for when there is one right answer to a question and you want to present a list of choices.

### Sequence Ordering

<figure><img src="/files/M5CwKq0e79XS5lnzSSfU" alt=""><figcaption><p>Editor view of a sequence ordering question</p></figcaption></figure>

In a sequence ordering question, you will test a learner if they know the proper sequence of choices. In the editor you will provide a question and then any number of choices. You should put them in the correct order from top to bottom. With the top representing the start of the sequence.

When the learner goes to attempt the question, the sequence will be randomized and they will need to use the shuffle button to move each element of the sequence into the right location.

## Configuring Success and Failure Messages

You can optionally configure custom success and failure messages. Click on the action button in the knowledge based question to see an icon button depicting a comment. Click on this to open the area to edit the custom success and failure messages.

<figure><img src="/files/f6Xb3QqlmWOipbanJ2yr" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MAjs1OYAlNcR18mu9ZbN" alt=""><figcaption></figcaption></figure>

You can configure three types of messages:

* Success
  * For when the learner has correctly answered the question
* Wrong with more attempts
  * If a question allows more than one guess, you can configure this message to be shown when they have answered incorrectly but still have more attempts remaining. You might use this to give a helpful hint.
* Wrong with no more attempts
  * If they ultimately get a question wrong, you can configure this to be shown at the end.

## Survey Questions

Questions can also be configured to be survey questions where they do not contribute towards or against a learners final passing score. You can configure a question to be a survey question by clicking the settings cog and then checking the survey question box.

<figure><img src="/files/BAGr3Kz2jiVmkaHliWp8" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.itsaffinity.com/product-guides/lms-authoring/editor-overview/knowledge-based-questions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
