Data for quiz, json file structure - mgolokhov/dodroid GitHub Wiki
Quiz is an array of Entities. One Entity is a dictionary (key:value).
Possible Entity keys: question, right, wrong, tags.
Question defines prompt for a user.
Right is an array of correct statement(s), can be empty.
Wrong is an array of incorrect statement(s), can be empty.
Tags is an array of categories (so the user can filter questions).
Example:
{
"question": "XML layout resources can be stored in ____ directory(ies)",
"right": [
"res/layout",
"/res/layout/subfolder",
"res/layout-large"
],
"wrong": [
"res/values",
"res/views"
],
"tags": [
"course1",
"week4",
"layouts"
]
},