Skip to content

Commit 3736423

Browse files
authored
Merge pull request #164 from layer5io/leecalcote-patch-2
Change question type from 'mcq' to 'multiple_answers'
2 parents 3516b2b + 9e54ab0 commit 3736423

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

archetypes/optional-test.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ questions:
1212
# Multiple Choice Question (Single Answer)
1313
- id: "q1"
1414
text: "What keyword is used to define a function in Go?"
15-
type: "mcq"
15+
type: "multiple_answers"
1616
marks: 2
1717
explanation: "The 'func' keyword is used to declare functions in Go, similar to how 'function' is used in JavaScript."
1818
options:
@@ -49,8 +49,7 @@ questions:
4949
# Multiple Choice Question (Multiple Answers)
5050
- id: "q4"
5151
text: "What are the purposes of the 'defer' keyword in Go? (Select all that apply)"
52-
type: "mcq"
53-
multiple_answers: true
52+
type: "multiple_answers"
5453
marks: 2
5554
explanation: "The defer keyword is commonly used to delay function execution until the surrounding function returns, often used for cleanup tasks like closing files."
5655
options:

0 commit comments

Comments
 (0)