Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Created February 16, 2025 18:50
Show Gist options
  • Save patrickcoombe/96c0951c1ac58357c8b4953a36ae8b59 to your computer and use it in GitHub Desktop.
Save patrickcoombe/96c0951c1ac58357c8b4953a36ae8b59 to your computer and use it in GitHub Desktop.
Q+A quiz json-ld example
<script type="application/ld+json">{
"@context": "https://schema.org/",
"@type": "Quiz",
"url": "https://byjus.com/maths/inches-to-cm-converter/",
"typicalAgeRange": "10-17",
"educationalLevel": "intermediate",
"assesses": "Attend this Quiz & Test your knowledge.",
"educationalAlignment": [
{
"@type": "AlignmentObject",
"alignmentType": "educationalSubject",
"targetName": "Maths"
},
{
"@type": "AlignmentObject",
"alignmentType": "educationalSubject",
"targetName": " Inches To Cm Converter"
}
],
"name": "Quiz about Inches To Cm Converter",
"about": {
"@type": "Thing",
"name": "Inches To Cm Converter"
},
"hasPart": [
{
"@type": "Question",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Practice problem",
"name": "Recollect the concept of Inches To Cm Converter to solve the questions.",
"text": "1 inch is equal to how many centimeters?",
"encodingFormat": "text/html",
"suggestedAnswer": [
{
"@type": "Answer",
"position": 0,
"encodingFormat": "text/html",
"text": "2",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 2,
"encodingFormat": "text/html",
"text": "2.7",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 3,
"encodingFormat": "text/html",
"text": "2.9",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
}
],
"acceptedAnswer": {
"@type": "Answer",
"position": 1,
"encodingFormat": "text/html",
"text": "2.54",
"answerExplanation": {
"@type": "Comment",
"text": "Correct answer is 2.54"
},
"comment": {
"@type": "Comment",
"text": "Option B is correct"
}
},
"comment": {
"@type": "Comment",
"text": "1 inch is equal to how many centimeters?"
}
},
{
"@type": "Question",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Practice problem",
"name": "Recollect the concept of Inches To Cm Converter to solve the questions.",
"text": "1 cm = ___ inches",
"encodingFormat": "text/html",
"suggestedAnswer": [
{
"@type": "Answer",
"position": 1,
"encodingFormat": "text/html",
"text": "0.4",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 2,
"encodingFormat": "text/html",
"text": "0.51",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 3,
"encodingFormat": "text/html",
"text": "0.69",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
}
],
"acceptedAnswer": {
"@type": "Answer",
"position": 0,
"encodingFormat": "text/html",
"text": "0.39",
"answerExplanation": {
"@type": "Comment",
"text": "Correct answer is 0.39"
},
"comment": {
"@type": "Comment",
"text": "Option A is correct"
}
},
"comment": {
"@type": "Comment",
"text": "1 cm = ___ inches"
}
},
{
"@type": "Question",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Practice problem",
"name": "Recollect the concept of Inches To Cm Converter to solve the questions.",
"text": "5 inches is equal to?",
"encodingFormat": "text/html",
"suggestedAnswer": [
{
"@type": "Answer",
"position": 0,
"encodingFormat": "text/html",
"text": "10.7 cm",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 1,
"encodingFormat": "text/html",
"text": "11.7 cm",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 3,
"encodingFormat": "text/html",
"text": "13.7 cm",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
}
],
"acceptedAnswer": {
"@type": "Answer",
"position": 2,
"encodingFormat": "text/html",
"text": "12.7 cm",
"answerExplanation": {
"@type": "Comment",
"text": "Correct answer is 12.7 cm"
},
"comment": {
"@type": "Comment",
"text": "Option C is correct"
}
},
"comment": {
"@type": "Comment",
"text": "5 inches is equal to?"
}
},
{
"@type": "Question",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Practice problem",
"name": "Recollect the concept of Inches To Cm Converter to solve the questions.",
"text": "Half inch is equal to how many centimeter?",
"encodingFormat": "text/html",
"suggestedAnswer": [
{
"@type": "Answer",
"position": 1,
"encodingFormat": "text/html",
"text": "1.07 cm",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 2,
"encodingFormat": "text/html",
"text": "1.17 cm",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 3,
"encodingFormat": "text/html",
"text": "2.54 cm",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
}
],
"acceptedAnswer": {
"@type": "Answer",
"position": 0,
"encodingFormat": "text/html",
"text": "1.27 cm",
"answerExplanation": {
"@type": "Comment",
"text": "Correct answer is 1.27 cm"
},
"comment": {
"@type": "Comment",
"text": "Option A is correct"
}
},
"comment": {
"@type": "Comment",
"text": "Half inch is equal to how many centimeter?"
}
},
{
"@type": "Question",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Practice problem",
"name": "Recollect the concept of Inches To Cm Converter to solve the questions.",
"text": "How to convert inch to centimeters?",
"encodingFormat": "text/html",
"suggestedAnswer": [
{
"@type": "Answer",
"position": 0,
"encodingFormat": "text/html",
"text": "Divide by 2.54",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 2,
"encodingFormat": "text/html",
"text": "Divide by 0.39",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
},
{
"@type": "Answer",
"position": 3,
"encodingFormat": "text/html",
"text": "Multiply by 0.39",
"comment": {
"@type": "Comment",
"text": "It is wrong option."
}
}
],
"acceptedAnswer": {
"@type": "Answer",
"position": 1,
"encodingFormat": "text/html",
"text": "Multiply by 2.54",
"answerExplanation": {
"@type": "Comment",
"text": "Correct answer is Multiply by 2.54"
},
"comment": {
"@type": "Comment",
"text": "Option B is correct"
}
},
"comment": {
"@type": "Comment",
"text": "How to convert inch to centimeters?"
}
}
]
}</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment