Add Questions
All the questions are stored in .yaml files within the _data folder. For more information about .yaml files, please visit:
Segregation
Questions are divided into five broad categories:
To request the addition of a new category you can create an issue.
YAML list of acceptable values for each key
Each question is stored in a key-value format. There are a fixed set of keys, some of which must neccessarily have non-NULL values. Here is the list of keys alongwith the list of values they can accept:
| Key | Description | Accepted Values |
|---|---|---|
| title | The title of the question (for later review) | any string |
| type | This specifies the type of question (e.g., MCQs, descriptive, etc.). | mcq, descriptive, num |
| text | The main body of the question. | any string |
| opt | The list of options in case the question is a multiple choice question. | array, NULL |
| ans | The final answer. | any string |
| q_img | The path of the image file(s) that you may want to display with the question. | array, NULL |
| sol | Further explanation that you may include for how you arrived at the answer. | any string, NULL |
| sol_img | The path of the image file(s) that you may want to display with the solution. | array, NULL |
| tags | You can assign tags to your question based on the domains it requires knowledge of. | List of Tags |
| diff | The difficulty level of the question | easy, medium, hard |
| ref | References (Where did you encounter the question) | any string |
To request the addition of a new key you can create an issue.