Skip to content

Commit 4c4e976

Browse files
authored
Merge pull request #842 from Nouran-11/patch-5
add true/false example
2 parents aa96510 + 24e4e74 commit 4c4e976

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

  • content/en/cloud/academy
    • creating-content/integrating-assessments-in-the-academy
    • using-the-academy

content/en/cloud/academy/creating-content/integrating-assessments-in-the-academy/index.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ questions:
144144
| | `questions` || An array containing one or more question objects. |
145145
| **Question Object** | `id` || Unique identifier for the question within the assessment (e.g., `q1`, `q2`). |
146146
| | `text` || The text of the question prompt. |
147-
| | `type` || The type of question. Accepted values are `single-answer`, `multiple-answers` or `short-answer`. |
147+
| | `type` || The type of question. Accepted values are `single-answer`, `multiple-answers`, `short-answer`, or `true-false`. |
148148
| | `marks` || The number of points awarded for a correct answer. |
149149
| | `instructions` | - | Custom instruction for each question |
150150
| | `options` | - | An array of answer options. |
@@ -155,7 +155,7 @@ Remember: `type: "test"` are fixed values that cannot be modified. The system ne
155155

156156
## Supported Assessment Types
157157

158-
Layer5 Academy supports three question formats:
158+
Layer5 Academy supports four question formats:
159159

160160
***Single Choice Questions***
161161
- Single correct answer
@@ -177,11 +177,18 @@ Layer5 Academy supports three question formats:
177177
is_correct: true # correct option
178178
- id: "b"
179179
text: "Option B"
180+
---
181+
</code></pre>
182+
</details>
183+
184+
<details style="margin-bottom: 1em;">
185+
<summary>Examples: <code>type: true-false</code> </summary>
180186

181-
# True/False:
187+
---
188+
questions:
182189
- id: "question2"
183-
text: "This is a true/false question"
184-
type: "single-answer" # choose the type
190+
text: "Kubernetes Pods can contain multiple containers."
191+
type: "true-false" # choose the type
185192
marks: 1
186193
options:
187194
- id: "true"
@@ -295,6 +302,7 @@ Instructions are defaultly defined for each question type :
295302
- single-answer: Select one answer
296303
- multiple-answers: Select all that apply
297304
- short-answer: Type your answer below
305+
- true-false: Select True or False
298306

299307

300308
Instructions can be override in frontmatter by defining a custom intruction for each question.

content/en/cloud/academy/using-the-academy/index.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,6 @@ If you're ever unsure about a concept, you can always use the Back button to rev
115115

116116
![Quiz Result - Passed](./images/q-result-pass.png)
117117

118-
### Retaking an Assessment
119-
120-
If you don’t pass an assessment on your first try, don’t worry you may be able to retake it. Depending on the certification, you may have unlimited retries, a limited number of retries, or in some cases, no retries at all.
121-
122-
123118
## Your Achievements
124119

125120
Completing content in the Academy earns you valuable credentials that you can share with your professional network.

0 commit comments

Comments
 (0)