Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
234 changes: 87 additions & 147 deletions 011-language-learning/assets/questions.json
Original file line number Diff line number Diff line change
@@ -1,152 +1,92 @@
{
"exercises": {
"multiple_choice": [
{
"id": "mc_1",
"type": "multiple_choice",
"question": "What does 'gato' mean?",
"options": ["cat", "dog", "house", "book"],
"correct_answer": "cat",
"explanation": "'Gato' is the Spanish word for cat. 'Perro' means dog."
},
{
"id": "mc_2",
"type": "multiple_choice",
"question": "What does 'rojo' mean?",
"options": ["blue", "green", "red", "yellow"],
"correct_answer": "red",
"explanation": "'Rojo' means red in Spanish. Other colors: azul (blue), verde (green), amarillo (yellow)."
}
],
"matching_pairs": [
{
"id": "match_1",
"type": "matching_pairs",
"instruction": "Match the Spanish words with their English translations",
"pairs": [
{
"spanish": "casa",
"english": "house",
"explanation": "Casa is a feminine noun meaning house or home"
},
{
"spanish": "libro",
"english": "book",
"explanation": "Libro is a masculine noun meaning book"
},
{
"spanish": "mesa",
"english": "table",
"explanation": "Mesa is a feminine noun meaning table"
},
{
"spanish": "silla",
"english": "chair",
"explanation": "Silla is a feminine noun meaning chair"
},
{
"spanish": "ventana",
"english": "window",
"explanation": "Ventana is a feminine noun meaning window"
"lessons": {
"1": {
"exercises": [
{
"type": "multiple_choice",
"id": "mc_1",
"question": "What does 'hola' mean?",
"options": ["Hello", "Goodbye", "Please", "Thank you"],
"correct_answer": "Hello",
"explanation": "'Hola' is the most common greeting in Spanish, equivalent to 'hello'."
},
{
"type": "matching_pairs",
"id": "match_1",
"spanish_words": ["gato", "perro", "casa"],
"english_words": ["cat", "dog", "house"],
"correct_pairs": {
"gato": "cat",
"perro": "dog",
"casa": "house"
}
]
},
{
"id": "match_2",
"type": "matching_pairs",
"instruction": "Match the Spanish colors with their English translations",
"pairs": [
{
"spanish": "azul",
"english": "blue",
"explanation": "Azul means blue"
},
{
"spanish": "verde",
"english": "green",
"explanation": "Verde means green"
},
{
"spanish": "amarillo",
"english": "yellow",
"explanation": "Amarillo means yellow"
},
{
"spanish": "blanco",
"english": "white",
"explanation": "Blanco means white"
},
{
"spanish": "negro",
"english": "black",
"explanation": "Negro means black"
},
{
"type": "word_ordering",
"id": "order_1",
"words": ["yo", "soy", "estudiante"],
"correct_order": ["yo", "soy", "estudiante"],
"translation": "I am a student",
"explanation": "Spanish word order is similar to English: subject + verb + complement."
},
{
"type": "fill_in_the_blank",
"id": "fill_1",
"sentence": "Me llamo ___.",
"word_bank": ["Juan", "llamar", "nombre", "yo"],
"correct_answer": "Juan"
},
{
"type": "typed_translation",
"id": "typed_1",
"prompt": "Translate to English: 'Buenos días'",
"correct_answers": ["good morning", "good day"]
}
]
},
"2": {
"exercises": [
{
"type": "multiple_choice",
"id": "mc_2",
"question": "What does 'adiós' mean?",
"options": ["Hello", "Goodbye", "Yes", "No"],
"correct_answer": "Goodbye",
"explanation": "'Adiós' is used to say goodbye in Spanish."
},
{
"type": "matching_pairs",
"id": "match_2",
"spanish_words": ["libro", "mesa", "silla"],
"english_words": ["book", "chair", "table"],
"correct_pairs": {
"libro": "book",
"mesa": "table",
"silla": "chair"
}
]
}
],
"word_ordering": [
{
"id": "order_1",
"type": "word_ordering",
"instruction": "Arrange these words to form a correct Spanish sentence",
"words": ["gato", "El", "negro", "es"],
"correct_order": ["El", "gato", "es", "negro"],
"correct_sentence": "El gato es negro",
"translation": "The cat is black",
"explanation": "In Spanish, the basic sentence structure is: Article + Noun + Verb + Adjective. 'El gato' (the cat) + 'es' (is) + 'negro' (black)."
},
{
"id": "order_2",
"type": "word_ordering",
"instruction": "Arrange these words to form a correct Spanish sentence",
"words": ["casa", "grande", "es", "La"],
"correct_order": ["La", "casa", "es", "grande"],
"correct_sentence": "La casa es grande",
"translation": "The house is big",
"explanation": "Structure: 'La casa' (the house) + 'es' (is) + 'grande' (big). Adjectives usually come after the noun in Spanish."
}
],
"fill_in_the_blank": [
{
"id": "fill_1",
"type": "fill_in_the_blank",
"instruction": "Fill in the blank with the correct word",
"sentence": "El perro ___ grande",
"word_bank": ["es", "son", "soy", "eres"],
"correct_answer": "es",
"complete_sentence": "El perro es grande",
"translation": "The dog is big",
"explanation": "'Es' is the correct form of 'ser' (to be) for third person singular (he/she/it). The dog (el perro) is singular and third person."
},
{
"id": "fill_2",
"type": "fill_in_the_blank",
"instruction": "Fill in the blank with the correct word",
"sentence": "___ casa es blanca",
"word_bank": ["El", "La", "Los", "Las"],
"correct_answer": "La",
"complete_sentence": "La casa es blanca",
"translation": "The house is white",
"explanation": "'Casa' is a feminine noun, so it requires the feminine article 'la'. 'El' is masculine, 'los' is masculine plural, 'las' is feminine plural."
}
],
"typed_translation": [
{
"id": "typed_1",
"type": "typed_translation",
"instruction": "Type the English translation of this Spanish word",
"prompt": "perro",
"correct_answers": ["dog"],
"explanation": "'Perro' means 'dog' in English."
},
{
"id": "typed_2",
"type": "typed_translation",
"instruction": "Type the English translation of this Spanish word",
"prompt": "ventana",
"correct_answers": ["window"],
"explanation": "'Ventana' means 'window' in English."
}
]
},
{
"type": "word_ordering",
"id": "order_2",
"words": ["ella", "es", "inteligente"],
"correct_order": ["ella", "es", "inteligente"],
"translation": "She is intelligent",
"explanation": "Adjectives in Spanish usually come after the noun but here it's a predicate adjective."
},
{
"type": "fill_in_the_blank",
"id": "fill_2",
"sentence": "¿Cómo ___ llamas?",
"word_bank": ["te", "se", "me", "le"],
"correct_answer": "te"
},
{
"type": "typed_translation",
"id": "typed_2",
"prompt": "Translate to English: 'Gracias'",
"correct_answers": ["thank you", "thanks"]
}
]
}
}
}
Loading