In order to provide a better learning experience and check the learner’s understanding of material, we have included some templates for quiz questions to embed throughout the various pages of the site. Consider adding a question or two to pages that don’t have any already!
Adding a New Question
This tutorial will not go over Git and Github. See How to Contribute for help setting up your repository.
All of the data for you question will be stored at ComputingBootCamp/website/_data/questions.yml
. Navigate to this file and append your question’s info to the end.
See below the list of currently supported question types and examples:
Multiple Choice
ACTIVITY
▼
Which scripting language was created first?
- Python
- Tcl
- Ruby
Hint: Tool Command Language
Matching
ACTIVITY
▼
Select the most appropriate pairs
- interpreted
- compiled
- HDL
- python
- c++
- System Verilog
Fill in the Blank
Note: The number of underscores in each text field is irrelevant. Responses are not case sensitive
ACTIVITY
▼
Finish the fight song!
Rise all loyal Cougars and hurl your _________ to the foe.
You will fight, day or night, rain or ____.
_____, strong, and true
Embed the Question
Once the question data has been added using the steps above, find the markdown file of the section where you want the question to appear ComputingBootcamp/website/_selfpaced/*.md
. Then simply paste the following line where you want the question to appear (be sure to replace the id
value with your id you put in questions.yml
):
{% include quizzes.html id=1 %}