diff --git a/generate_base_questions.py b/generate_base_questions.py index 79110f9..40c221a 100644 --- a/generate_base_questions.py +++ b/generate_base_questions.py @@ -1927,7 +1927,7 @@ listening_section_2_to_insert_5 = { } # NEW -reading_to_insert_1 = { +new_reading_to_insert_1 = { "parts": [ { "exercises": [ @@ -2585,6 +2585,1375 @@ reading_to_insert_1 = { "minTimer": 60, "type": "academic" } +new_reading_to_insert_2 = { + "parts": [ + { + "exercises": [ + { + "allowRepetition": True, + "id": str(uuid.uuid4()), + "prompt": "Complete the summary below. Click a blank to select the corresponding word(s) for it.\\nThere are " + "more words than spaces so you will not use them all. You may use any of the words more than once.", + "solutions": [ + { + "id": "1", + "solution": "threat" + }, + { + "id": "2", + "solution": "hunting" + }, + { + "id": "3", + "solution": "dwindled" + }, + { + "id": "4", + "solution": "energy" + }, + { + "id": "5", + "solution": "secure" + }, + { + "id": "6", + "solution": "broader" + }, + { + "id": "7", + "solution": "food" + }, + { + "id": "8", + "solution": "imperative" + } + ], + "text": "Polar bears, Earth's largest land carnivores, face an existential {{1}} due to the relentless advance " + "of climate change, particularly in the Arctic where they reside. Their survival hinges on the " + "sea ice that serves as their primary habitat and {{2}} grounds. As the Arctic warms at a rate twice the " + "global average, the extent of sea ice has significantly {{3}}, leaving polar bears with diminished " + "hunting opportunities and forcing them to swim longer distances, expending vital {{4}}. Additionally, " + "the loss of ice affects pregnant mothers, as they are compelled to find alternative, less {{5}} " + "locations to give birth and nurture their cubs. These changes not only endanger polar bear " + "populations but also have {{6}} ecological implications, threatening the Arctic's delicate {{7}} web. " + "Urgent conservation efforts and climate change mitigation are now {{8}} to prevent the decline " + "of these majestic Arctic icons.", + "type": "fillBlanks", + "words": ["secure", "spider", "food", "hunting", "battle", "source", + "contributes", "threat", "surged", "momentum", "broader", "solar", "dwindled", + "climate", + "energy", "renewable", "impact", "imperative", "options", "challenges"] + + }, + { + "id": str(uuid.uuid4()), + "prompt": "Select the appropriate option.", + "questions": [ + { + "id": "9", + "options": [ + { + "id": "A", + "text": "Habitat destruction" + }, + { + "id": "B", + "text": "Natural predators" + }, + { + "id": "C", + "text": "Escalating effects of climate change" + }, + { + "id": "D", + "text": "Human hunting" + } + ], + "prompt": "What is the primary reason polar bears are facing dire threats to their survival?", + "solution": "C", + "variant": "text" + }, + { + "id": "10", + "options": [ + { + "id": "A", + "text": "The Arctic warms at a slower rate." + }, + { + "id": "B", + "text": "The Arctic remains unaffected by global warming." + }, + { + "id": "C", + "text": "The Arctic warms at almost twice the global rate." + }, + { + "id": "D", + "text": "The Arctic is cooling down." + } + ], + "prompt": "How is the Arctic region affected by global warming compared to the global average temperature rise?", + "solution": "C", + "variant": "text" + }, + { + "id": "11", + "options": [ + { + "id": "A", + "text": "Providing a place to sunbathe" + }, + { + "id": "B", + "text": "Acting as a hunting ground and habitat" + }, + { + "id": "C", + "text": "Serving as a barrier against predators" + }, + { + "id": "D", + "text": "Offering a nesting place for cubs" + } + ], + "prompt": "What is the primary role of sea ice in the lives of polar bears?", + "solution": "B", + "variant": "text" + }, + { + "id": "12", + "options": [ + { + "id": "A", + "text": "They rely on swimming to catch seals." + }, + { + "id": "B", + "text": "They hunt on land for terrestrial prey." + }, + { + "id": "C", + "text": "They use the ice as a platform to hunt seals." + }, + { + "id": "D", + "text": "They become herbivores during the winter." + } + ], + "prompt": "How do polar bears adapt their hunting strategy during the winter months in the Arctic?", + "solution": "C", + "variant": "text" + }, + { + "id": "13", + "options": [ + { + "id": "A", + "text": "An increase in seal populations" + }, + { + "id": "B", + "text": "No significant impact on the ecosystem" + }, + { + "id": "C", + "text": "Disruption of the entire Arctic food web" + }, + { + "id": "D", + "text": "A healthier and more balanced ecosystem" + } + ], + "prompt": "What is the potential consequence of the decline in polar bear populations on the Arctic ecosystem?", + "solution": "C", + "variant": "text" + } + ], + "type": "multipleChoice", + } + ], + "text": { + "content": "Polar bears, often referred to as the majestic giants of the Arctic, have captured the imagination " + "of people worldwide. They are the largest land carnivores on Earth, perfectly adapted to their harsh, " + "icy habitat. However, this very habitat, crucial for their survival, is under dire threat due " + "to the escalating effects of climate change. \\nThe Arctic, where polar bears call home, is a region " + "that has become a hotspot for global warming's most pronounced impacts. As greenhouse gas emissions " + "continue to rise, the Arctic's average temperature is increasing at almost twice the global rate. " + "The consequences of this warming are felt most acutely by polar bears, whose lives are intricately " + "linked to the ice-covered waters of the Arctic Ocean.\\nSea ice serves as the primary habitat and " + "hunting grounds for polar bears. During the winter months, when the Arctic is shrouded in darkness " + "and extreme cold, polar bears venture onto the frozen sea surface to hunt seals, their primary " + "prey. They rely on the ice as a platform from which to stalk seals resting on the ice or to " + "create breathing holes through which they can ambush their unsuspecting victims. This hunting " + "strategy is essential for their survival, as they require a high-fat diet to store energy for " + "the ice-free summer months.\\nHowever, the Arctic is warming at an alarming rate, causing a " + "significant reduction in sea ice coverage. Satellite data reveals that over the past four " + "decades, the extent of Arctic sea ice has declined dramatically. This reduction is particularly " + "problematic for polar bears, as it curtails their hunting opportunities. With less ice, they are " + "forced to swim longer distances to find suitable hunting grounds. The prolonged swims are physically " + "demanding, resulting in greater energy expenditure and leaving the bears physically exhausted and " + "malnourished.\\nMoreover, the loss of sea ice is affecting polar bear mothers and their cubs. " + "Pregnant females depend on the ice to create dens in which they give birth and nurse their young. " + "These dens offer protection and insulation from the harsh Arctic conditions. As the ice disappears, " + "mothers are compelled to find alternative locations, often on land, to birth and nurture their " + "vulnerable cubs. These new locations may lack the safety and insulation of traditional ice dens, " + "putting both mothers and cubs at risk.\\nThe plight of polar bears is not just a concern for " + "conservationists; it is an indicator of the broader ecological changes occurring in the Arctic. " + "As apex predators, polar bears play a crucial role in maintaining the health of their ecosystem. " + "Their decline can have cascading effects on the entire Arctic food web, potentially impacting " + "other species, such as seals, fish, and seabirds.\\nScientific studies and observations provide " + "a grim outlook for polar bears. If current climate trends persist, polar bear populations are " + "at risk of significant declines in the coming decades. Conservation efforts aimed at mitigating " + "climate change and protecting the remaining sea ice habitats have become urgent priorities in " + "the battle to save these magnificent creatures from the devastating impact of global warming.\\nIn " + "conclusion, the future of polar bears, those iconic symbols of the Arctic, hangs in the balance " + "as they face unprecedented challenges due to climate change. Their survival is not only a matter " + "of ecological significance but also a symbol of humanity's responsibility to protect the fragile " + "ecosystems of our planet from the escalating effects of global warming.", + "title": "The Impact of Climate Change on Polar Bears" + }, + }, + { + "exercises": [ + { + "id": str(uuid.uuid4()), + "prompt": "Do the following statements agree with the information given in Reading Passage 2?", + "questions": [ + { + "id": "14", + "prompt": "Bilingualism is a cognitive advantage that offers clear benefits to individuals throughout their lives.", + "solution": "not_given" + }, + { + "id": "15", + "prompt": "Bilingual individuals consistently outperform monolinguals in tasks related to cognitive control, such as attention management.", + "solution": "true" + }, + { + "id": "16", + "prompt": "The age at which a person acquires their second language has no influence on the cognitive advantages associated with bilingualism.", + "solution": "false" + }, + { + "id": "17", + "prompt": "Proficiency levels in both languages are unrelated to the cognitive benefits of bilingualism.", + "solution": "not_given" + }, + { + "id": "18", + "prompt": "Some studies have provided definitive evidence that bilingualism delays the onset of cognitive disorders like Alzheimer's disease.", + "solution": "true" + }, + { + "id": "19", + "prompt": "The cognitive benefits of bilingualism remain consistent and do not change as individuals age.", + "solution": "not_given" + } + ], + "type": "trueFalse" + }, + { + "id": str(uuid.uuid4()), + "prompt": "Select the appropriate option.", + "questions": [ + { + "id": "20", + "options": [ + { + "id": "A", + "text": "Enhanced memory recall" + }, + { + "id": "B", + "text": "Improved artistic abilities" + }, + { + "id": "C", + "text": "Superior cognitive control" + }, + { + "id": "D", + "text": "Increased physical strength" + } + ], + "prompt": "What is the 'bilingual advantage' mentioned in the passage primarily associated with?", + "solution": "C", + "variant": "text" + }, + { + "id": "21", + "options": [ + { + "id": "A", + "text": "The age at which a person acquires their second language has no influence on the cognitive advantages associated with bilingualism." + }, + { + "id": "B", + "text": "Language proficiency also matters." + }, + { + "id": "C", + "text": "Gender" + }, + { + "id": "D", + "text": "Nature of cognitive tasks" + } + ], + "prompt": "Which of the following factors is NOT mentioned in the passage as potentially influencing the cognitive benefits of bilingualism?", + "solution": "C", + "variant": "text" + }, + { + "id": "22", + "options": [ + { + "id": "A", + "text": "The extra cognitive effort required for bilingual individuals" + }, + { + "id": "B", + "text": "A bank account specifically for cognitive tasks" + }, + { + "id": "C", + "text": "The ability of bilingualism to delay cognitive disorders in old age" + }, + { + "id": "D", + "text": "A special cognitive training program for bilinguals" + } + ], + "prompt": "According to the passage, what is 'cognitive reserve' in the context of bilingualism?", + "solution": "C", + "variant": "text" + }, + { + "id": "23", + "options": [ + { + "id": "A", + "text": "Demonstrating that bilingualism has no effect on cognitive decline" + }, + { + "id": "B", + "text": "Confirming that all bilingual individuals experience delayed cognitive decline" + }, + { + "id": "C", + "text": "Investigating the potential delay of cognitive disorders like Alzheimer's disease" + }, + { + "id": "D", + "text": "Proving that late bilinguals are more likely to experience cognitive decline" + } + ], + "prompt": "What is the primary focus of research mentioned in the passage regarding bilingualism and cognitive decline in old age?", + "solution": "C", + "variant": "text" + } + ], + "type": "multipleChoice", + }, + { + "id": str(uuid.uuid4()), + "maxWords": 3, + "prompt": "Choose no more than three words and/or a number from the passage for each answer.", + "solutions": [ + { + "id": "24", + "solution": ["Task switching", "Attention management", "Inhibition of distractions", "Cognitive flexibility"] + }, + { + "id": "25", + "solution": ["age", "proficiency"] + }, + { + "id": "26", + "solution": ["Delaying cognitive decline"] + }, + ], + "text": "Name one aspect of cognitive control.{{24}}\\nWhat can influence the extent of cognitive " + "advantages in bilingual individuals?{{25}}\\nWhat does 'cognitive reserve' refer to in the " + "context of bilingualism?{{26}}", + "type": "writeBlanks" + } + ], + "text": { + "content": "Bilingualism, the state of being proficient in and able to switch between two languages, has " + "long intrigued researchers due to its potential effects on cognitive abilities. Studies in the " + "field of psycholinguistics have unveiled fascinating insights into the cognitive advantages and " + "challenges that bilingual individuals encounter throughout their lives.\\nOne of the primary " + "areas of focus in bilingualism research is the effect on cognitive control. Cognitive control " + "encompasses a range of mental processes, including task-switching, attention management, and " + "inhibition of irrelevant information. Remarkably, bilinguals often demonstrate superior " + "cognitive control compared to their monolingual counterparts, a phenomenon known as the " + "'bilingual advantage'. This heightened cognitive control can be attributed to the constant " + "need for bilinguals to navigate between two linguistic systems, switch between languages, " + "and select the appropriate one for a given context.\\nAdditionally, bilingualism has been " + "linked to improved executive functions, which are high-level cognitive processes crucial for " + "decision-making, problem-solving, and multitasking. Bilingual individuals frequently exhibit " + "greater cognitive flexibility, allowing them to adapt their thinking and problem-solving " + "strategies more effectively. This adaptability may be a result of their ability to draw " + "from a broader linguistic and cultural repertoire, which provides unique insights and " + "problem-solving approaches.\\nHowever, the relationship between bilingualism and cognitive " + "abilities is multifaceted. Several factors modulate the extent of cognitive advantages. For " + "instance, the age at which an individual acquires their second language plays a significant " + "role. Bilinguals who acquire their second language early in life, known as 'early bilinguals'" + " often show more substantial cognitive advantages than 'late bilinguals' who acquire their " + "second language later in life.\\nLanguage proficiency also matters. Proficiency levels in " + "both languages can vary widely among bilinguals, and research suggests that higher proficiency " + "is associated with greater cognitive advantages. Additionally, the specific cognitive task " + "under investigation can influence the magnitude of the bilingual advantage. Some tasks may " + "highlight the advantages of bilingualism more prominently than others.\\nFurthermore, the " + "cognitive benefits of bilingualism may undergo changes with age. While early research " + "indicated that the cognitive advantages of bilingualism persist throughout one's life, more " + "recent studies suggest that the impact of bilingualism on cognitive abilities may diminish " + "as individuals age.\\nA subject of ongoing debate is whether bilingualism offers protection " + "against cognitive decline in old age. Some studies have suggested that bilingual individuals " + "may experience a delay in the onset of cognitive disorders such as Alzheimer's disease. This " + "phenomenon is often referred to as 'cognitive reserve', where the cognitive benefits of " + "bilingualism may help compensate for neurological changes in aging brains. However, while " + "promising, these findings require further investigation and confirmation.\\nIn conclusion, " + "bilingualism is a rich and intricate area of study with both cognitive advantages and nuances. " + "Bilingual individuals tend to exhibit enhanced cognitive control and executive functions, " + "but the relationship between bilingualism and cognitive abilities is influenced by various " + "factors, including age of acquisition, language proficiency, and the nature of cognitive " + "tasks. While bilingualism's potential to delay cognitive decline in old age is intriguing, " + "more research is needed to unravel the complexities of this fascinating field.", + "title": "The Impact of Bilingualism on Cognitive Abilities" + }, + }, + { + "exercises": [ + { + "allowRepetition": True, + "id": str(uuid.uuid4()), + "prompt": "Complete the summary below. Click a blank to select the corresponding word(s) for it.\\nThere " + "are more words than spaces so you will not use them all. You may use any of the words more than once.", + "solutions": [ + { + "id": "27", + "solution": "digital" + }, + { + "id": "28", + "solution": "connectivity" + }, + { + "id": "29", + "solution": "Social" + }, + { + "id": "30", + "solution": "echo" + }, + { + "id": "31", + "solution": "cyberbullying" + }, + { + "id": "32", + "solution": "Privacy" + }, + { + "id": "33", + "solution": "addictive" + }, + { + "id": "34", + "solution": "desert" + } + ], + "text": "The rapid proliferation of social media platforms in the {{27}} age has transformed the way " + "we connect, consume information, and engage with global events. While these platforms have " + "facilitated unprecedented {{28}}, enabling communities to form and information to be " + "shared in real-time, they have also raised significant concerns. {{29}} media's role in " + "disseminating news challenges traditional media outlets, but it also underscores the " + "importance of verifying sources in an era of democratized information. It has played a " + "pivotal role in political activism, empowering movements but also fostering '{{30}} chambers' " + "and misinformation. Furthermore, social media's impact on mental health is marked by issues " + "like {{31}} and the pressure to maintain idealized online identities. {{32}} concerns " + "persist, as personal data collection for targeted advertising raises questions about " + "surveillance and data protection. The {{33}} nature of social media poses challenges " + "to productivity and real-world relationships. In navigating this complex landscape, it is " + "imperative to strike a balance between the benefits and {{34}} posed by social media " + "in contemporary society.", + "type": "fillBlanks", + "words": ["cyberbullying", "internet", "trade", "Privacy", "addictive", "resilience", "connectivity", "echo", + "challenges", "adaptability", "digital", "Social", "harsh"] + }, + { + "id": str(uuid.uuid4()), + "prompt": "Select the appropriate option.", + "questions": [ + { + "id": "35", + "options": [ + { + "id": "A", + "text": "Revolutionized the way we communicate and share information." + }, + { + "id": "B", + "text": "Enhanced privacy and security online." + }, + { + "id": "C", + "text": "Empowerment of individuals in political activism." + }, + { + "id": "D", + "text": "Difficulties in verifying the accuracy of news sources." + } + ], + "prompt": "What impact has the advent of the internet and social media platforms had on communication and information sharing?", + "solution": "A", + "variant": "text" + }, + { + "id": "36", + "options": [ + { + "id": "A", + "text": "Snapchat." + }, + { + "id": "B", + "text": "Instagram." + }, + { + "id": "C", + "text": "Twitter." + }, + { + "id": "D", + "text": "TikTok." + } + ], + "prompt": "Which of the following is NOT mentioned as a social media platform in the text?", + "solution": "A", + "variant": "text" + }, + { + "id": "37", + "options": [ + { + "id": "A", + "text": "Decreased feelings of inadequacy." + }, + { + "id": "B", + "text": "Exposure to carefully curated images and idealized self-presentation." + }, + { + "id": "C", + "text": "Enhanced well-being and mental stability." + }, + { + "id": "D", + "text": "Cyberbullying." + } + ], + "prompt": "What concern is raised regarding social media's impact on mental health in the text?", + "solution": "D", + "variant": "text" + }, + { + "id": "38", + "options": [ + { + "id": "A", + "text": "Struggles with personalized user experiences." + }, + { + "id": "B", + "text": "Questions about the extent of surveillance and data safeguarding." + }, + { + "id": "C", + "text": "Decreased data collection by social media platforms." + }, + { + "id": "D", + "text": "Increased self-esteem and confidence." + } + ], + "prompt": "What is a primary concern related to privacy in the digital age, as mentioned in the text?", + "solution": "B", + "variant": "text" + }, + { + "id": "39", + "options": [ + { + "id": "A", + "text": "Decreased productivity." + }, + { + "id": "B", + "text": "Real-world relationships." + }, + { + "id": "C", + "text": "Enhanced online interactions." + }, + { + "id": "D", + "text": "Sleep patterns." + } + ], + "prompt": "What consequences are associated with the addictive nature of social media, as mentioned in the text?", + "solution": "B", + "variant": "text" + }, + { + "id": "40", + "options": [ + { + "id": "A", + "text": "Difficulties in verifying the accuracy and credibility of news sources." + }, + { + "id": "B", + "text": "Empowerment of individuals in political activism." + }, + { + "id": "C", + "text": "The spread of misinformation and 'echo chambers.'" + }, + { + "id": "D", + "text": "Decreased reliance on traditional media outlets." + } + ], + "prompt": "What challenge does the democratization of information through social media pose?", + "solution": "A", + "variant": "text" + } + ], + "type": "multipleChoice", + } + ], + "text": { + "content": "The advent of the internet and, subsequently, the proliferation of social media platforms " + "have revolutionized the way we communicate, gather information, and engage with the world. " + "This phenomenon has not only brought about unprecedented opportunities for connectivity and " + "information sharing but has also raised concerns about its impact on society, privacy, and " + "mental well-being.\\nSocial media platforms, such as Facebook, Twitter, Instagram, and TikTok, " + "have become integral parts of modern life. These platforms allow individuals to connect " + "with friends and family, share personal experiences, and stay updated on global events. " + "They provide a virtual space for communities to form, facilitating the exchange of ideas, " + "hobbies, and interests.\\nOne notable impact of social media is its role in the dissemination " + "of information and news. Traditional media outlets are no longer the sole gatekeepers of " + "information. Citizens can now participate in reporting and sharing news in real-time. While " + "this democratization of information is empowering, it also presents challenges in terms of " + "verifying the accuracy and credibility of news sources.\\nSocial media's influence extends " + "to politics and activism. Movements like the Arab Spring and Black Lives Matter have utilized " + "social media to mobilize people and raise awareness about social and political issues. These " + "platforms enable individuals to voice their opinions, organize protests, and hold governments " + "accountable. However, the spread of misinformation and 'echo chambers' where like-minded " + "individuals reinforce each other's beliefs are also prevalent, posing challenges to informed " + "discourse.\\nThe impact of social media on mental health is another area of concern. The " + "constant exposure to carefully curated images and the pressure to project an idealized version " + "of one's life can lead to feelings of inadequacy and low self-esteem. Cyberbullying is also " + "a grave issue, with the anonymity of the internet enabling hurtful and harmful behaviors.\\n" + "Privacy is a paramount concern in the digital age. The data collected by social media platforms " + "for targeted advertising and content recommendations raises questions about the extent of " + "surveillance and the safeguarding of personal information. Striking a balance between personalized " + "user experiences and protecting privacy remains a challenge.\\nMoreover, the addictive nature " + "of social media, with its infinite scrolling and notifications, can lead to digital dependency " + "and reduced face-to-face interactions. The consequences include decreased productivity, " + "disrupted sleep patterns, and a negative impact on relationships.\\nIn conclusion, social " + "media's influence on society is undeniable. It has reshaped how we communicate, access " + "information, and engage in various aspects of life. While it offers numerous benefits, such " + "as connectivity and activism, it also poses challenges related to privacy, mental health, and " + "the spread of misinformation. Understanding and addressing these issues are crucial as we " + "navigate the complex landscape of social media in the 21st century.", + "title": "The Influence of Social Media on Society" + }, + } + ], + "isDiagnostic": True, + "minTimer": 60, + "type": "academic" +} +new_reading_to_insert_3 = { + "parts": [ + { + "exercises": [ + { + "allowRepetition": True, + "id": str(uuid.uuid4()), + "prompt": "Complete the summary below. Click a blank to select the corresponding word(s) for it.\\nThere are " + "more words than spaces so you will not use them all. You may use any of the words more than once.", + "solutions": [ + { + "id": "1", + "solution": "threat" + }, + { + "id": "2", + "solution": "hunting" + }, + { + "id": "3", + "solution": "dwindled" + }, + { + "id": "4", + "solution": "energy" + }, + { + "id": "5", + "solution": "secure" + }, + { + "id": "6", + "solution": "broader" + }, + { + "id": "7", + "solution": "food" + }, + { + "id": "8", + "solution": "imperative" + } + ], + "text": "Polar bears, Earth's largest land carnivores, face an existential {{1}} due to the relentless advance " + "of climate change, particularly in the Arctic where they reside. Their survival hinges on the " + "sea ice that serves as their primary habitat and {{2}} grounds. As the Arctic warms at a rate twice the " + "global average, the extent of sea ice has significantly {{3}}, leaving polar bears with diminished " + "hunting opportunities and forcing them to swim longer distances, expending vital {{4}}. Additionally, " + "the loss of ice affects pregnant mothers, as they are compelled to find alternative, less {{5}} " + "locations to give birth and nurture their cubs. These changes not only endanger polar bear " + "populations but also have {{6}} ecological implications, threatening the Arctic's delicate {{7}} web. " + "Urgent conservation efforts and climate change mitigation are now {{8}} to prevent the decline " + "of these majestic Arctic icons.", + "type": "fillBlanks", + "words": ["secure", "spider", "food", "hunting", "battle", "source", + "contributes", "threat", "surged", "momentum", "broader", "solar", "dwindled", + "climate", + "energy", "renewable", "impact", "imperative", "options", "challenges"] + + }, + { + "id": str(uuid.uuid4()), + "prompt": "Select the appropriate option.", + "questions": [ + { + "id": "9", + "options": [ + { + "id": "A", + "text": "Enhancing musical talents" + }, + { + "id": "B", + "text": "Reducing stress and anxiety" + }, + { + "id": "C", + "text": "Increasing screen time" + }, + { + "id": "D", + "text": "Developing culinary skills" + } + ], + "prompt": "What is one of the primary advantages of gardening mentioned in the text?", + "solution": "B", + "variant": "text" + }, + { + "id": "10", + "options": [ + { + "id": "A", + "text": "By promoting video game skills" + }, + { + "id": "B", + "text": "Through exposure to natural settings" + }, + { + "id": "C", + "text": "By reducing sunlight exposure" + }, + { + "id": "D", + "text": "Through activities like digging and planting" + } + ], + "prompt": "How does gardening contribute to physical fitness?", + "solution": "D", + "variant": "text" + }, + { + "id": "11", + "options": [ + { + "id": "A", + "text": "Vitamin A" + }, + { + "id": "B", + "text": "Vitamin C" + }, + { + "id": "C", + "text": "Vitamin D" + }, + { + "id": "D", + "text": "Vitamin E" + } + ], + "prompt": "What essential nutrient does sunlight exposure during gardening help the body produce?", + "solution": "C", + "variant": "text" + }, + { + "id": "12", + "options": [ + { + "id": "A", + "text": "Increased screen time" + }, + { + "id": "B", + "text": "Improved mental health" + }, + { + "id": "C", + "text": "Enhanced memory" + }, + { + "id": "D", + "text": "Better driving skills" + } + ], + "prompt": "What specific benefits does gardening offer to older adults?", + "solution": "B", + "variant": "text" + }, + { + "id": "13", + "options": [ + { + "id": "A", + "text": "By increasing the need for packaging" + }, + { + "id": "B", + "text": "By reducing carbon emissions" + }, + { + "id": "C", + "text": "By promoting wildlife hunting" + }, + { + "id": "D", + "text": "By discouraging outdoor activities" + } + ], + "prompt": "How does gardening support environmental sustainability?", + "solution": "B", + "variant": "text" + } + ], + "type": "multipleChoice", + } + ], + "text": { + "content": "Gardening is a pastime enjoyed by millions worldwide. Whether cultivating a small herb garden " + "on a windowsill or tending to vast flowerbeds, gardening offers numerous physical, mental, " + "and environmental benefits. \\nOne of the primary advantages of gardening is its positive " + "impact on mental well-being. Studies have shown that spending time in natural settings, such " + "as gardens, can reduce stress and anxiety levels. The act of nurturing plants and watching " + "them grow can provide a sense of accomplishment and satisfaction. Moreover, the exposure to " + "sunlight while gardening helps the body produce vitamin D, which is essential for maintaining " + "a healthy mood.\\nGardening is also a physically demanding activity, making it an excellent " + "way to stay fit. Digging, planting, weeding, and watering all contribute to a moderate workout. " + "Additionally, gardening promotes flexibility and dexterity, particularly in older adults. " + "Regular gardening can help individuals maintain their physical health while engaging in an " + "enjoyable hobby.\\nFurthermore, gardening has positive environmental implications. By growing " + "one's fruits and vegetables, individuals can reduce their carbon footprint. This practice cuts " + "down on the need for transportation and packaging associated with store-bought produce. " + "Moreover, cultivating native plants in gardens supports local biodiversity by providing " + "habitats and food sources for wildlife.\\nIn summary, gardening is a multifaceted activity" + " that benefits individuals and the environment alike. Its positive effects on mental health, " + "physical fitness, and environmental sustainability make it a valuable and rewarding pastime.", + "title": "The Benefits of Gardening" + }, + }, + { + "exercises": [ + { + "id": str(uuid.uuid4()), + "prompt": "Do the following statements agree with the information given in Reading Passage 2?", + "questions": [ + { + "id": "14", + "prompt": "Bilingualism is a cognitive advantage that offers clear benefits to individuals throughout their lives.", + "solution": "not_given" + }, + { + "id": "15", + "prompt": "Bilingual individuals consistently outperform monolinguals in tasks related to cognitive control, such as attention management.", + "solution": "true" + }, + { + "id": "16", + "prompt": "The age at which a person acquires their second language has no influence on the cognitive advantages associated with bilingualism.", + "solution": "false" + }, + { + "id": "17", + "prompt": "Proficiency levels in both languages are unrelated to the cognitive benefits of bilingualism.", + "solution": "not_given" + }, + { + "id": "18", + "prompt": "Some studies have provided definitive evidence that bilingualism delays the onset of cognitive disorders like Alzheimer's disease.", + "solution": "true" + }, + { + "id": "19", + "prompt": "The cognitive benefits of bilingualism remain consistent and do not change as individuals age.", + "solution": "not_given" + } + ], + "type": "trueFalse" + }, + { + "id": str(uuid.uuid4()), + "prompt": "Select the appropriate option.", + "questions": [ + { + "id": "20", + "options": [ + { + "id": "A", + "text": "Enhanced memory recall" + }, + { + "id": "B", + "text": "Improved artistic abilities" + }, + { + "id": "C", + "text": "Superior cognitive control" + }, + { + "id": "D", + "text": "Increased physical strength" + } + ], + "prompt": "What is the 'bilingual advantage' mentioned in the passage primarily associated with?", + "solution": "C", + "variant": "text" + }, + { + "id": "21", + "options": [ + { + "id": "A", + "text": "The age at which a person acquires their second language has no influence on the cognitive advantages associated with bilingualism." + }, + { + "id": "B", + "text": "Language proficiency also matters." + }, + { + "id": "C", + "text": "Gender" + }, + { + "id": "D", + "text": "Nature of cognitive tasks" + } + ], + "prompt": "Which of the following factors is NOT mentioned in the passage as potentially influencing the cognitive benefits of bilingualism?", + "solution": "C", + "variant": "text" + }, + { + "id": "22", + "options": [ + { + "id": "A", + "text": "The extra cognitive effort required for bilingual individuals" + }, + { + "id": "B", + "text": "A bank account specifically for cognitive tasks" + }, + { + "id": "C", + "text": "The ability of bilingualism to delay cognitive disorders in old age" + }, + { + "id": "D", + "text": "A special cognitive training program for bilinguals" + } + ], + "prompt": "According to the passage, what is 'cognitive reserve' in the context of bilingualism?", + "solution": "C", + "variant": "text" + }, + { + "id": "23", + "options": [ + { + "id": "A", + "text": "Demonstrating that bilingualism has no effect on cognitive decline" + }, + { + "id": "B", + "text": "Confirming that all bilingual individuals experience delayed cognitive decline" + }, + { + "id": "C", + "text": "Investigating the potential delay of cognitive disorders like Alzheimer's disease" + }, + { + "id": "D", + "text": "Proving that late bilinguals are more likely to experience cognitive decline" + } + ], + "prompt": "What is the primary focus of research mentioned in the passage regarding bilingualism and cognitive decline in old age?", + "solution": "C", + "variant": "text" + } + ], + "type": "multipleChoice", + }, + { + "id": str(uuid.uuid4()), + "maxWords": 3, + "prompt": "Choose no more than three words and/or a number from the passage for each answer.", + "solutions": [ + { + "id": "24", + "solution": ["Task switching", "Attention management", "Inhibition of distractions", "Cognitive flexibility"] + }, + { + "id": "25", + "solution": ["age", "proficiency"] + }, + { + "id": "26", + "solution": ["Delaying cognitive decline"] + }, + ], + "text": "Name one aspect of cognitive control.{{24}}\\nWhat can influence the extent of cognitive " + "advantages in bilingual individuals?{{25}}\\nWhat does 'cognitive reserve' refer to in the " + "context of bilingualism?{{26}}", + "type": "writeBlanks" + } + ], + "text": { + "content": "Bilingualism, the state of being proficient in and able to switch between two languages, has " + "long intrigued researchers due to its potential effects on cognitive abilities. Studies in the " + "field of psycholinguistics have unveiled fascinating insights into the cognitive advantages and " + "challenges that bilingual individuals encounter throughout their lives.\\nOne of the primary " + "areas of focus in bilingualism research is the effect on cognitive control. Cognitive control " + "encompasses a range of mental processes, including task-switching, attention management, and " + "inhibition of irrelevant information. Remarkably, bilinguals often demonstrate superior " + "cognitive control compared to their monolingual counterparts, a phenomenon known as the " + "'bilingual advantage'. This heightened cognitive control can be attributed to the constant " + "need for bilinguals to navigate between two linguistic systems, switch between languages, " + "and select the appropriate one for a given context.\\nAdditionally, bilingualism has been " + "linked to improved executive functions, which are high-level cognitive processes crucial for " + "decision-making, problem-solving, and multitasking. Bilingual individuals frequently exhibit " + "greater cognitive flexibility, allowing them to adapt their thinking and problem-solving " + "strategies more effectively. This adaptability may be a result of their ability to draw " + "from a broader linguistic and cultural repertoire, which provides unique insights and " + "problem-solving approaches.\\nHowever, the relationship between bilingualism and cognitive " + "abilities is multifaceted. Several factors modulate the extent of cognitive advantages. For " + "instance, the age at which an individual acquires their second language plays a significant " + "role. Bilinguals who acquire their second language early in life, known as 'early bilinguals'" + " often show more substantial cognitive advantages than 'late bilinguals' who acquire their " + "second language later in life.\\nLanguage proficiency also matters. Proficiency levels in " + "both languages can vary widely among bilinguals, and research suggests that higher proficiency " + "is associated with greater cognitive advantages. Additionally, the specific cognitive task " + "under investigation can influence the magnitude of the bilingual advantage. Some tasks may " + "highlight the advantages of bilingualism more prominently than others.\\nFurthermore, the " + "cognitive benefits of bilingualism may undergo changes with age. While early research " + "indicated that the cognitive advantages of bilingualism persist throughout one's life, more " + "recent studies suggest that the impact of bilingualism on cognitive abilities may diminish " + "as individuals age.\\nA subject of ongoing debate is whether bilingualism offers protection " + "against cognitive decline in old age. Some studies have suggested that bilingual individuals " + "may experience a delay in the onset of cognitive disorders such as Alzheimer's disease. This " + "phenomenon is often referred to as 'cognitive reserve', where the cognitive benefits of " + "bilingualism may help compensate for neurological changes in aging brains. However, while " + "promising, these findings require further investigation and confirmation.\\nIn conclusion, " + "bilingualism is a rich and intricate area of study with both cognitive advantages and nuances. " + "Bilingual individuals tend to exhibit enhanced cognitive control and executive functions, " + "but the relationship between bilingualism and cognitive abilities is influenced by various " + "factors, including age of acquisition, language proficiency, and the nature of cognitive " + "tasks. While bilingualism's potential to delay cognitive decline in old age is intriguing, " + "more research is needed to unravel the complexities of this fascinating field.", + "title": "The Impact of Bilingualism on Cognitive Abilities" + }, + }, + { + "exercises": [ + { + "allowRepetition": True, + "id": str(uuid.uuid4()), + "prompt": "Complete the summary below. Click a blank to select the corresponding word(s) for it.\\nThere " + "are more words than spaces so you will not use them all. You may use any of the words more than once.", + "solutions": [ + { + "id": "27", + "solution": "digital" + }, + { + "id": "28", + "solution": "connectivity" + }, + { + "id": "29", + "solution": "Social" + }, + { + "id": "30", + "solution": "echo" + }, + { + "id": "31", + "solution": "cyberbullying" + }, + { + "id": "32", + "solution": "Privacy" + }, + { + "id": "33", + "solution": "addictive" + }, + { + "id": "34", + "solution": "desert" + } + ], + "text": "The rapid proliferation of social media platforms in the {{27}} age has transformed the way " + "we connect, consume information, and engage with global events. While these platforms have " + "facilitated unprecedented {{28}}, enabling communities to form and information to be " + "shared in real-time, they have also raised significant concerns. {{29}} media's role in " + "disseminating news challenges traditional media outlets, but it also underscores the " + "importance of verifying sources in an era of democratized information. It has played a " + "pivotal role in political activism, empowering movements but also fostering '{{30}} chambers' " + "and misinformation. Furthermore, social media's impact on mental health is marked by issues " + "like {{31}} and the pressure to maintain idealized online identities. {{32}} concerns " + "persist, as personal data collection for targeted advertising raises questions about " + "surveillance and data protection. The {{33}} nature of social media poses challenges " + "to productivity and real-world relationships. In navigating this complex landscape, it is " + "imperative to strike a balance between the benefits and {{34}} posed by social media " + "in contemporary society.", + "type": "fillBlanks", + "words": ["cyberbullying", "internet", "trade", "Privacy", "addictive", "resilience", "connectivity", "echo", + "challenges", "adaptability", "digital", "Social", "harsh"] + }, + { + "id": str(uuid.uuid4()), + "prompt": "Select the appropriate option.", + "questions": [ + { + "id": "35", + "options": [ + { + "id": "A", + "text": "Revolutionized the way we communicate and share information." + }, + { + "id": "B", + "text": "Enhanced privacy and security online." + }, + { + "id": "C", + "text": "Empowerment of individuals in political activism." + }, + { + "id": "D", + "text": "Difficulties in verifying the accuracy of news sources." + } + ], + "prompt": "What impact has the advent of the internet and social media platforms had on communication and information sharing?", + "solution": "A", + "variant": "text" + }, + { + "id": "36", + "options": [ + { + "id": "A", + "text": "Snapchat." + }, + { + "id": "B", + "text": "Instagram." + }, + { + "id": "C", + "text": "Twitter." + }, + { + "id": "D", + "text": "TikTok." + } + ], + "prompt": "Which of the following is NOT mentioned as a social media platform in the text?", + "solution": "A", + "variant": "text" + }, + { + "id": "37", + "options": [ + { + "id": "A", + "text": "Decreased feelings of inadequacy." + }, + { + "id": "B", + "text": "Exposure to carefully curated images and idealized self-presentation." + }, + { + "id": "C", + "text": "Enhanced well-being and mental stability." + }, + { + "id": "D", + "text": "Cyberbullying." + } + ], + "prompt": "What concern is raised regarding social media's impact on mental health in the text?", + "solution": "D", + "variant": "text" + }, + { + "id": "38", + "options": [ + { + "id": "A", + "text": "Struggles with personalized user experiences." + }, + { + "id": "B", + "text": "Questions about the extent of surveillance and data safeguarding." + }, + { + "id": "C", + "text": "Decreased data collection by social media platforms." + }, + { + "id": "D", + "text": "Increased self-esteem and confidence." + } + ], + "prompt": "What is a primary concern related to privacy in the digital age, as mentioned in the text?", + "solution": "B", + "variant": "text" + }, + { + "id": "39", + "options": [ + { + "id": "A", + "text": "Decreased productivity." + }, + { + "id": "B", + "text": "Real-world relationships." + }, + { + "id": "C", + "text": "Enhanced online interactions." + }, + { + "id": "D", + "text": "Sleep patterns." + } + ], + "prompt": "What consequences are associated with the addictive nature of social media, as mentioned in the text?", + "solution": "B", + "variant": "text" + }, + { + "id": "40", + "options": [ + { + "id": "A", + "text": "Difficulties in verifying the accuracy and credibility of news sources." + }, + { + "id": "B", + "text": "Empowerment of individuals in political activism." + }, + { + "id": "C", + "text": "The spread of misinformation and 'echo chambers.'" + }, + { + "id": "D", + "text": "Decreased reliance on traditional media outlets." + } + ], + "prompt": "What challenge does the democratization of information through social media pose?", + "solution": "A", + "variant": "text" + } + ], + "type": "multipleChoice", + } + ], + "text": { + "content": "The advent of the internet and, subsequently, the proliferation of social media platforms " + "have revolutionized the way we communicate, gather information, and engage with the world. " + "This phenomenon has not only brought about unprecedented opportunities for connectivity and " + "information sharing but has also raised concerns about its impact on society, privacy, and " + "mental well-being.\\nSocial media platforms, such as Facebook, Twitter, Instagram, and TikTok, " + "have become integral parts of modern life. These platforms allow individuals to connect " + "with friends and family, share personal experiences, and stay updated on global events. " + "They provide a virtual space for communities to form, facilitating the exchange of ideas, " + "hobbies, and interests.\\nOne notable impact of social media is its role in the dissemination " + "of information and news. Traditional media outlets are no longer the sole gatekeepers of " + "information. Citizens can now participate in reporting and sharing news in real-time. While " + "this democratization of information is empowering, it also presents challenges in terms of " + "verifying the accuracy and credibility of news sources.\\nSocial media's influence extends " + "to politics and activism. Movements like the Arab Spring and Black Lives Matter have utilized " + "social media to mobilize people and raise awareness about social and political issues. These " + "platforms enable individuals to voice their opinions, organize protests, and hold governments " + "accountable. However, the spread of misinformation and 'echo chambers' where like-minded " + "individuals reinforce each other's beliefs are also prevalent, posing challenges to informed " + "discourse.\\nThe impact of social media on mental health is another area of concern. The " + "constant exposure to carefully curated images and the pressure to project an idealized version " + "of one's life can lead to feelings of inadequacy and low self-esteem. Cyberbullying is also " + "a grave issue, with the anonymity of the internet enabling hurtful and harmful behaviors.\\n" + "Privacy is a paramount concern in the digital age. The data collected by social media platforms " + "for targeted advertising and content recommendations raises questions about the extent of " + "surveillance and the safeguarding of personal information. Striking a balance between personalized " + "user experiences and protecting privacy remains a challenge.\\nMoreover, the addictive nature " + "of social media, with its infinite scrolling and notifications, can lead to digital dependency " + "and reduced face-to-face interactions. The consequences include decreased productivity, " + "disrupted sleep patterns, and a negative impact on relationships.\\nIn conclusion, social " + "media's influence on society is undeniable. It has reshaped how we communicate, access " + "information, and engage in various aspects of life. While it offers numerous benefits, such " + "as connectivity and activism, it also poses challenges related to privacy, mental health, and " + "the spread of misinformation. Understanding and addressing these issues are crucial as we " + "navigate the complex landscape of social media in the 21st century.", + "title": "The Influence of Social Media on Society" + }, + } + ], + "isDiagnostic": True, + "minTimer": 60, + "type": "academic" +} new_writing_to_insert_1 = { "exercises": [ @@ -2622,6 +3991,1438 @@ new_writing_to_insert_1 = { "module": "writing", "type": "general" } +new_writing_to_insert_2 = { + "exercises": [ + { + "id": str(uuid.uuid4()), + "prefix": "You should spend about 20 minutes on this task. \\nYou recently stayed at a hotel and had some " + "issues with the services provided during your stay. Write a letter to the hotel manager. In your letter:", + "prompt": "Describe the issues you faced during your stay, explain how these issues affected your experience " + "and suggest some improvements or solutions to resolve these problems.", + "suffix": "You should write at least 100 words.", + "type": "writing", + "wordCounter": { + "limit": 100, + "type": "min" + } + }, + { + "id": str(uuid.uuid4()), + "prefix": "You should spend about 40 minutes on this task.\nPresent a written argument or case to an educated " + "reader with no specialist knowledge of the following topic:", + "prompt": "Many people today rely on shopping online rather than visiting physical stores. What are the " + "advantages and disadvantages of online shopping?", + "suffix": "You should write at least 250 words.\nUse your own ideas, knowledge and experience and support " + "your arguments with examples and relevant evidence.", + "type": "writing", + "wordCounter": { + "limit": 250, + "type": "min" + } + } + ], + "isDiagnostic": False, + "minTimer": 60, + "module": "writing", + "type": "general" +} +new_writing_to_insert_3 = { + "exercises": [ + { + "id": str(uuid.uuid4()), + "prefix": "You should spend about 20 minutes on this task. \\nYou recently traveled to another city by train " + "for a job interview. Write a letter to your friend describing your journey. In your letter:", + "prompt": "Explain the purpose of your trip and the job interview, describe your journey, including the train " + "you took, the departure and arrival times, and any interesting events or experiences during the journey " + "and share your thoughts and feelings about the upcoming job interview.", + "suffix": "You should write at least 100 words.", + "type": "writing", + "wordCounter": { + "limit": 100, + "type": "min" + } + }, + { + "id": str(uuid.uuid4()), + "prefix": "You should spend about 40 minutes on this task.\nPresent a written argument or case to an educated " + "reader with no specialist knowledge of the following topic:", + "prompt": "Some people argue that the traditional classroom-based education system is still superior to online " + "education, while others believe that online education has numerous advantages. Discuss both views and give your opinion.", + "suffix": "You should write at least 250 words.\nUse your own ideas, knowledge and experience and support " + "your arguments with examples and relevant evidence.", + "type": "writing", + "wordCounter": { + "limit": 250, + "type": "min" + } + } + ], + "isDiagnostic": False, + "minTimer": 60, + "module": "writing", + "type": "general" +} +new_writing_to_insert_4 = { + "exercises": [ + { + "id": str(uuid.uuid4()), + "prefix": "You should spend about 20 minutes on this task. \\nYou recently traveled to another city by train " + "for a job interview. Write a letter to your friend describing your journey. In your letter:", + "prompt": "Explain the purpose of your trip and the job interview, describe your journey, including the train " + "you took, the departure and arrival times, and any interesting events or experiences during the journey " + "and share your thoughts and feelings about the upcoming job interview.", + "suffix": "You should write at least 100 words.", + "type": "writing", + "wordCounter": { + "limit": 100, + "type": "min" + } + }, + { + "id": str(uuid.uuid4()), + "prefix": "You should spend about 40 minutes on this task.\nPresent a written argument or case to an educated " + "reader with no specialist knowledge of the following topic:", + "prompt": " In modern society, many people struggle to balance their work and personal life. What are the reasons" + " for this, and what measures can be taken to improve work-life balance?", + "suffix": "You should write at least 250 words.\nUse your own ideas, knowledge and experience and support " + "your arguments with examples and relevant evidence.", + "type": "writing", + "wordCounter": { + "limit": 250, + "type": "min" + } + } + ], + "isDiagnostic": False, + "minTimer": 60, + "module": "writing", + "type": "general" +} + +new_listening_to_insert_1 = { + "parts": [ + { + "audio": { + "repeatableTimes": 3, + "source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Ftom_sarah_convo.mp3?alt=media&token=0f6e3e23-143a-4929-9ff4-7061455bacc9" + }, + "exercises": [ + { + "id": str(uuid.uuid4()), + "maxWords": 3, + "prompt": "You will hear a conversation between two friends. Answer the questions " + "below using no more than three words or a number.", + "solutions": [ + { + "id": "1", + "solution": ["Hiking"] + }, + { + "id": "2", + "solution": ["family of deer"] + }, + { + "id": "3", + "solution": ["Netflix"] + }, + { + "id": "4", + "solution": ["eye-opening", "eye opening"] + }, + { + "id": "5", + "solution": ["Grab some pastries"] + }, + { + "id": "6", + "solution": ["sudden rainstorm"] + }, + { + "id": "7", + "solution": ["Tom"] + }, + { + "id": "8", + "solution": ["Wildlife conservation"] + }, + { + "id": "9", + "solution": ["Extraordinary"] + }, + { + "id": "10", + "solution": ["swamped with work"] + }, + ], + "text": "What did Sarah do during her weekend getaway last month?{{1}}\\n" + "What did Sarah encounter during her mountain trip that she compared to a nature documentary?{{2}}\\n" + "What platform did Tom mention where the new wildlife conservation documentary is available?{{3}}\\n" + "What was Sarah's opinion about the wildlife conservation documentary?{{4}}\\n" + "What did Tom suggest they do after having coffee at the café?{{5}}\\n" + "What weather event did Sarah mention experiencing during her mountain trip?{{6}}\\n" + "Who suggested watching the wildlife conservation documentary on Netflix?{{7}}\\n" + "What documentary did Tom mention watching on Netflix?{{8}}\\n" + "What word did Sarah use to describe the pastries at the café?{{9}}\\n" + "What did Tom mention about his work in the beginning of the conversation?{{10}}\\n", + "type": "writeBlanks" + } + ] + }, + { + "audio": { + "repeatableTimes": 3, + "source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Fcybersecurity_monologue.mp3?alt=media&token=d5b49991-7726-4b80-9edc-5f383840a6fd" + }, + "exercises": [ + { + "id": str(uuid.uuid4()), + "prompt": "After listening to the monologue, select the appropriate options.", + "questions": [ + { + "id": "11", + "options": [ + { + "id": "A", + "text": "Computer viruses." + }, + { + "id": "B", + "text": "Protecting email from spam." + }, + { + "id": "C", + "text": "Safeguarding personal and financial data." + }, + { + "id": "D", + "text": "Preventing data loss." + } + ], + "prompt": "What is the primary concern in cybersecurity?", + "solution": "C", + "variant": "text" + }, + { + "id": "12", + "options": [ + { + "id": "A", + "text": "Because cybersecurity measures are too effective" + }, + { + "id": "B", + "text": "Because organizations and individuals don't update their systems" + }, + { + "id": "C", + "text": "Because cybercriminals adapt and develop new tactics" + }, + { + "id": "D", + "text": "Because digital technology is becoming obsolete" + } + ], + "prompt": "Why is the landscape of cyber threats constantly changing?", + "solution": "D", + "variant": "text" + }, + { + "id": "13", + "options": [ + { + "id": "A", + "text": "Increased internet speed" + }, + { + "id": "B", + "text": "Financial loss, identity theft, and data compromise" + }, + { + "id": "C", + "text": "Improved software security" + }, + { + "id": "D", + "text": "Enhanced data encryption" + } + ], + "prompt": "What potential consequences of a cybersecurity breach are mentioned in the monologue?", + "solution": "B", + "variant": "text" + }, + { + "id": "14", + "options": [ + { + "id": "A", + "text": "Regularly changing your email address" + }, + { + "id": "B", + "text": "Using the same password for multiple accounts" + }, + { + "id": "C", + "text": "Enabling two-factor authentication" + }, + { + "id": "D", + "text": "Avoiding encryption technologies" + } + ], + "prompt": "Which cybersecurity measure is recommended to protect accounts from unauthorized access?", + "solution": "C", + "variant": "text" + }, + { + "id": "15", + "options": [ + { + "id": "A", + "text": "To protect computers from viruses" + }, + { + "id": "B", + "text": "To block spam emails" + }, + { + "id": "C", + "text": "To safeguard data during transmission and storage" + }, + { + "id": "D", + "text": "To update operating systems" + } + ], + "prompt": "What is the role of encryption technologies in cybersecurity?", + "solution": "C", + "variant": "text" + }, + { + "id": "16", + "options": [ + { + "id": "A", + "text": "It is a minor concern for small businesses" + }, + { + "id": "B", + "text": "It is crucial for protecting national parks" + }, + { + "id": "C", + "text": "It can disrupt critical infrastructure, compromise national security, and lead to the theft of sensitive information" + }, + { + "id": "D", + "text": "It only involves securing office buildings" + } + ], + "prompt": "In the context of the monologue, what is the significance of cybersecurity for businesses and governments?", + "solution": "C", + "variant": "text" + }, + { + "id": "17", + "options": [ + { + "id": "A", + "text": "Using weak passwords for simplicity" + }, + { + "id": "B", + "text": "Ignoring cybersecurity training" + }, + { + "id": "C", + "text": "Implementing strong cybersecurity measures and fostering a culture of security" + }, + { + "id": "D", + "text": "Focusing solely on cybersecurity for top executives" + } + ], + "prompt": "What is emphasized as an essential part of a robust cybersecurity strategy for organizations?", + "solution": "C", + "variant": "text" + }, + { + "id": "18", + "options": [ + { + "id": "A", + "text": "Ignoring cyber threats" + }, + { + "id": "B", + "text": "Being unaware of one's digital footprint" + }, + { + "id": "C", + "text": "Understanding the risks and being mindful of one's digital presence" + }, + { + "id": "D", + "text": "Regularly sharing personal information online" + } + ], + "prompt": "What is the fundamental first step in enhancing personal cybersecurity?", + "solution": "C", + "variant": "text" + }, + { + "id": "19", + "options": [ + { + "id": "A", + "text": "Cyber threats that never change" + }, + { + "id": "B", + "text": "Cybercriminals who are not innovative" + }, + { + "id": "C", + "text": "The need for strong, unique passwords" + }, + { + "id": "D", + "text": "The evolving nature of cybersecurity" + } + ], + "prompt": "What is mentioned as a dynamic effort in the monologue?", + "solution": "D", + "variant": "text" + }, + { + "id": "20", + "options": [ + { + "id": "A", + "text": "Cybersecurity is not essential in today's digital world" + }, + { + "id": "B", + "text": "Cybersecurity is a static effort" + }, + { + "id": "C", + "text": "Cybersecurity is a multifaceted, dynamic challenge that requires vigilance, education, and collective effort" + }, + { + "id": "D", + "text": "Cybersecurity is only relevant for IT professionals" + } + ], + "prompt": "According to the monologue, what is the overarching message about cybersecurity?", + "solution": "C", + "variant": "text" + } + ], + "type": "multipleChoice", + } + ] + }, + { + "audio": { + "repeatableTimes": 3, + "source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Fteacher_student_assignment.mp3?alt=media&token=da219238-442b-4eb9-a82b-7e916238c591" + }, + "exercises": [ + { + "id": str(uuid.uuid4()), + "prompt": "After listening to the conversation, select the appropriate options.", + "questions": [ + { + "id": "21", + "options": [ + { + "id": "A", + "text": "Group project on a specific social issue." + }, + { + "id": "B", + "text": "Research and analysis of a contemporary social issue." + }, + { + "id": "C", + "text": "Oral presentation on course content." + }, + { + "id": "D", + "text": "Creative writing on any topic of choice." + } + ], + "prompt": "What is the primary focus of the upcoming assignment?", + "solution": "B", + "variant": "text" + }, + { + "id": "22", + "options": [ + { + "id": "A", + "text": "500 to 1,000 words." + }, + { + "id": "B", + "text": "1,500 to 2,000 words." + }, + { + "id": "C", + "text": "2,000 to 2,500 words." + }, + { + "id": "D", + "text": "4,000 to 5,000 words." + } + ], + "prompt": "What is the recommended word count for the assignment?", + "solution": "C", + "variant": "text" + }, + { + "id": "23", + "options": [ + { + "id": "A", + "text": "The tutor." + }, + { + "id": "B", + "text": "The teaching assistant." + }, + { + "id": "C", + "text": "Any social issue from previous semesters." + }, + { + "id": "D", + "text": "The students, with an emphasis on course relevance." + } + ], + "prompt": "Who can select the topic for the assignment?", + "solution": "D", + "variant": "text" + }, + { + "id": "24", + "options": [ + { + "id": "A", + "text": "MLA." + }, + { + "id": "B", + "text": "Chicago." + }, + { + "id": "C", + "text": "APA." + }, + { + "id": "D", + "text": "Harvard." + } + ], + "prompt": "Which citation style should the students follow for their assignment?", + "solution": "C", + "variant": "text" + }, + { + "id": "25", + "options": [ + { + "id": "A", + "text": "In two weeks." + }, + { + "id": "B", + "text": "In four weeks." + }, + { + "id": "C", + "text": "At the end of the semester." + }, + { + "id": "D", + "text": "Next semester." + } + ], + "prompt": "When is the assignment due?", + "solution": "B", + "variant": "text" + }, + { + "id": "26", + "options": [ + { + "id": "A", + "text": "500 words." + }, + { + "id": "B", + "text": "1,000 words." + }, + { + "id": "C", + "text": "2,000 to 2,500 words." + }, + { + "id": "D", + "text": "3,500 words." + } + ], + "prompt": "How long should the essay be?", + "solution": "C", + "variant": "text" + }, + { + "id": "27", + "options": [ + { + "id": "A", + "text": "Yes, it's a group project." + }, + { + "id": "B", + "text": "No, it's an individual assignment." + }, + { + "id": "C", + "text": "It can be either a group or individual project." + }, + { + "id": "D", + "text": "It's not clear from the conversation." + } + ], + "prompt": "Is this assignment a group project?", + "solution": "B", + "variant": "text" + }, + { + "id": "28", + "options": [ + { + "id": "A", + "text": "Only primary sources." + }, + { + "id": "B", + "text": "Only secondary sources." + }, + { + "id": "C", + "text": "A variety of academic sources, both primary and secondary." + }, + { + "id": "D", + "text": "Internet blogs and forums." + } + ], + "prompt": "What resources are recommended for research?", + "solution": "C", + "variant": "text" + }, + { + "id": "29", + "options": [ + { + "id": "A", + "text": "The university administration" + }, + { + "id": "B", + "text": "A local library" + }, + { + "id": "C", + "text": "Their peers" + }, + { + "id": "D", + "text": "The tutor" + } + ], + "prompt": "Who should the students contact if they have questions during the research and writing process?", + "solution": "D", + "variant": "text" + }, + { + "id": "30", + "options": [ + { + "id": "A", + "text": "No guidance will be provided." + }, + { + "id": "B", + "text": "A detailed rubric will be provided." + }, + { + "id": "C", + "text": "They should consult external sources." + }, + { + "id": "D", + "text": "The teaching assistant will provide a template." + } + ], + "prompt": "What guidance will be provided to the students for structuring their essays?", + "solution": "B", + "variant": "text" + } + ], + "type": "multipleChoice", + } + ] + }, + { + "audio": { + "repeatableTimes": 3, + "source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Fspace_travel_monologue.mp3?alt=media&token=00ee4944-c525-4963-ba41-1be1b71c378d" + }, + "exercises": [ + { + "id": str(uuid.uuid4()), + "maxWords": 3, + "prompt": "You will hear a lecture about space travel. Complete the notes bellow. Write no more " + "than 3 words or numbers for each answer.", + "solutions": [ + { + "id": "31", + "solution": ["realm"] + }, + { + "id": "32", + "solution": ["20"] + }, + { + "id": "33", + "solution": ["age"] + }, + { + "id": "34", + "solution": ["microgravity"] + }, + { + "id": "35", + "solution": ["protocols"] + }, + { + "id": "36", + "solution": ["atrophy"] + }, + { + "id": "37", + "solution": ["confinement"] + }, + { + "id": "38", + "solution": ["navigational"] + }, + { + "id": "39", + "solution": ["universe"] + }, + { + "id": "40", + "solution": ["travel"] + }, + ], + "text": "Space travel represents not only a remarkable technological achievement but also a testament to our insatiable curiosity about the {{31}}\\n" + "In the early {{32}}th century, space travel was a dream, a mere speck on the horizon of human possibilities.\\n" + "Fast forward to the 21st century, and we find ourselves in an era where space travel has " + "become a reality. The successful missions to the Moon, the International Space Station (ISS), " + "and the ambitious plans for missions to Mars have all ignited a new {{33}} of space exploration.\\n" + "The path to the stars is not without its challenges. The vastness of space, the harsh conditions " + "of {{34}}, and the extreme distances involved pose daunting obstacles.\\n" + "Space travel demands groundbreaking technology, stringent safety {{35}}, and rigorous " + "training for astronauts who venture beyond our planet's atmosphere.\\n" + "One of the primary challenges in space travel is the physical and psychological toll it " + "takes on astronauts. Extended missions in space can lead to muscle {{36}}, bone density " + "loss, and other health issues.\\n" + "Moreover, the isolation and {{37}} of space can result in psychological stress and strain.\\n" + "Additionally, space travel is inherently risky. The slightest technical malfunction " + "or {{38}} error can lead to catastrophic consequences.\\n" + "Yet, in the face of these challenges, space travel offers immense possibilities. It has " + "already revolutionized our understanding of the {{39}}, with discoveries about exoplanets, " + "black holes, and the origins of the cosmos.\\n" + "The future of space travel holds even more promise. Innovative propulsion technologies, " + "such as nuclear and ion drives, may shorten {{40}} times to distant planets and " + "celestial bodies.\\n", + "type": "writeBlanks" + } + ] + }, + ], + "isDiagnostic": True, + "minTimer": 30, + "module": "listening" +} +new_listening_to_insert_2 = { + "parts": [ + { + "audio": { + "repeatableTimes": 3, + "source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Fmay_jackson_appointment.mp3?alt=media&token=7c3c40b5-7ffb-4258-9227-caf7995b132a" + }, + "exercises": [ + { + "id": str(uuid.uuid4()), + "maxWords": 3, + "prompt": "You will hear a conversation between two friends. Answer the questions " + "below using no more than three words or a number.", + "solutions": [ + { + "id": "1", + "solution": ["May Jackson"] + }, + { + "id": "2", + "solution": ["July 15 1985", "15 July 1985", "15th July 1985"] + }, + { + "id": "3", + "solution": ["12345678"] + }, + { + "id": "4", + "solution": ["headaches", "headache"] + }, + { + "id": "5", + "solution": ["several hours"] + }, + { + "id": "6", + "solution": ["pain relievers", "over-the-counter pain relievers"] + }, + { + "id": "7", + "solution": ["Dr. Smith", "Smith"] + }, + { + "id": "8", + "solution": ["morning", "mornings"] + }, + { + "id": "9", + "solution": ["October 10th", "10th October", "Tuesday October 10th"] + }, + { + "id": "10", + "solution": ["9:30 AM"] + }, + ], + "text": "Patient's name: {{1}}\\n" + "Date of Birth: {{2}}\\n" + "Contact number: {{3}}\\n" + "Symptoms: {{4}}\\n" + "Symptoms last for: {{5}}\\n" + "Solution tried: {{6}}\\n" + "Doctor's name: {{7}}\\n" + "Preferred time of the day: {{8}}\\n" + "Date of appointment: {{9}}\\n" + "Time of appointment: {{10}}\\n", + "type": "writeBlanks" + } + ] + }, + { + "audio": { + "repeatableTimes": 3, + "source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Fegypt_museum_monologue.mp3?alt=media&token=36b9e2b8-e701-42a6-9f1e-73fd4b4f58d1" + }, + "exercises": [ + { + "id": str(uuid.uuid4()), + "prompt": "After listening to the monologue, select the appropriate options.", + "questions": [ + { + "id": "1", + "options": [ + { + "id": "A", + "text": "Ancient Greek history." + }, + { + "id": "B", + "text": "Egyptian history." + }, + { + "id": "C", + "text": "Medieval European art." + }, + { + "id": "D", + "text": "Modern architecture." + } + ], + "prompt": "What is the primary focus of our local museum?", + "solution": "B", + "variant": "text" + }, + { + "id": "2", + "options": [ + { + "id": "A", + "text": "Tigris." + }, + { + "id": "B", + "text": "Euphrates." + }, + { + "id": "C", + "text": "Nile." + }, + { + "id": "D", + "text": "Danube." + } + ], + "prompt": "Which river played a significant role in the civilization of ancient Egypt?", + "solution": "C", + "variant": "text" + }, + { + "id": "3", + "options": [ + { + "id": "A", + "text": "Simplicity." + }, + { + "id": "B", + "text": "An alphabetic script." + }, + { + "id": "C", + "text": "A form of abstract art." + }, + { + "id": "D", + "text": "A complex system of symbols." + } + ], + "prompt": "What is a notable feature of hieroglyphics?", + "solution": "D", + "variant": "text" + }, + { + "id": "4", + "options": [ + { + "id": "A", + "text": "Ancient Roman sculptures." + }, + { + "id": "B", + "text": "Medieval armor." + }, + { + "id": "C", + "text": "Egyptian jewelry and pottery." + }, + { + "id": "D", + "text": "Renaissance paintings." + } + ], + "prompt": "What kind of artifacts are showcased in our museum's collection?", + "solution": "C", + "variant": "text" + }, + { + "id": "5", + "options": [ + { + "id": "A", + "text": "Roman Colosseum and Pantheon." + }, + { + "id": "B", + "text": "Parthenon and Acropolis." + }, + { + "id": "C", + "text": "Great Pyramid of Giza and Sphinx." + }, + { + "id": "D", + "text": "Notre-Dame Cathedral and Louvre Museum." + } + ], + "prompt": "Which Egyptian monuments are replicated in our museum?", + "solution": "C", + "variant": "text" + }, + { + "id": "6", + "options": [ + { + "id": "A", + "text": "Ancient Egyptian burial practices and mummification." + }, + { + "id": "B", + "text": "The history of embalming in ancient Rome." + }, + { + "id": "C", + "text": "The art of Renaissance portraiture." + }, + { + "id": "D", + "text": "Medieval European armor and weaponry." + } + ], + "prompt": "What is the focus of the exhibit on mummies in our museum?", + "solution": "A", + "variant": "text" + }, + { + "id": "7", + "options": [ + { + "id": "A", + "text": "The belief in reincarnation." + }, + { + "id": "B", + "text": "The idea of immediate resurrection." + }, + { + "id": "C", + "text": "The journey to the underworld and the afterlife." + }, + { + "id": "D", + "text": "The concept of eternal sleep." + } + ], + "prompt": "Which of the following is a belief associated with ancient Egyptian mummification and burials?", + "solution": "C", + "variant": "text" + }, + { + "id": "8", + "options": [ + { + "id": "A", + "text": "Modern art techniques." + }, + { + "id": "B", + "text": "Renaissance architecture." + }, + { + "id": "C", + "text": "Deciphering hieroglyphs and ancient Egyptian art." + }, + { + "id": "D", + "text": "European culinary traditions." + } + ], + "prompt": "What can visitors experience in our interactive exhibits?", + "solution": "C", + "variant": "text" + }, + { + "id": "9", + "options": [ + { + "id": "A", + "text": "It served as a natural barrier against invasions." + }, + { + "id": "B", + "text": "It was primarily used for transportation of goods." + }, + { + "id": "C", + "text": "It provided fertile soil for agriculture and sustenance." + }, + { + "id": "D", + "text": "It was the center of trade with neighboring empires." + } + ], + "prompt": "What role did the Nile River play in the civilization of ancient Egypt?", + "solution": "C", + "variant": "text" + }, + { + "id": "10", + "options": [ + { + "id": "A", + "text": "The exhibit on medieval knights." + }, + { + "id": "B", + "text": "The gift shop with Egyptian-themed souvenirs." + }, + { + "id": "C", + "text": "The section on Renaissance painters." + }, + { + "id": "D", + "text": "The interactive exhibit on modern technology." + } + ], + "prompt": "What should visitors not miss at the museum before concluding their tour?", + "solution": "B", + "variant": "text" + } + ], + "type": "multipleChoice", + } + ] + }, + { + "audio": { + "repeatableTimes": 3, + "source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Fdata_structures_teacher_students.mp3?alt=media&token=ef26ae14-5068-407f-b492-da4e86b01cae" + }, + "exercises": [ + { + "id": str(uuid.uuid4()), + "prompt": "After listening to the conversation, select the appropriate options.", + "questions": [ + { + "id": "21", + "options": [ + { + "id": "A", + "text": "Memory usage" + }, + { + "id": "B", + "text": "Number of operations relative to input size" + }, + { + "id": "C", + "text": "Code readability" + }, + { + "id": "D", + "text": "Input size" + } + ], + "prompt": "What is the primary concern when calculating time complexity for an algorithm?", + "solution": "B", + "variant": "text" + }, + { + "id": "22", + "options": [ + { + "id": "A", + "text": "Sarah" + }, + { + "id": "B", + "text": "John" + }, + { + "id": "C", + "text": "Emily" + }, + { + "id": "D", + "text": "None of the above" + } + ], + "prompt": "Which student asked about calculating time complexity for a binary search tree traversal algorithm?", + "solution": "A", + "variant": "text" + }, + { + "id": "23", + "options": [ + { + "id": "A", + "text": "Alphabetical notation" + }, + { + "id": "B", + "text": "Roman numerals" + }, + { + "id": "C", + "text": "Big O notation" + }, + { + "id": "D", + "text": "Greek letters" + } + ], + "prompt": "What notation is typically used to describe time complexity?", + "solution": "C", + "variant": "text" + }, + { + "id": "24", + "options": [ + { + "id": "A", + "text": "Number of algorithm iterations" + }, + { + "id": "B", + "text": "Number of input elements" + }, + { + "id": "C", + "text": "Memory usage relative to input size" + }, + { + "id": "D", + "text": "Code comments" + } + ], + "prompt": "When analyzing space complexity, what should you consider?", + "solution": "C", + "variant": "text" + }, + { + "id": "25", + "options": [ + { + "id": "A", + "text": "Sarah" + }, + { + "id": "B", + "text": "John" + }, + { + "id": "C", + "text": "Emily" + }, + { + "id": "D", + "text": "Professor Smith" + } + ], + "prompt": "Which student had a question about choosing between an array and a linked list for their algorithm?", + "solution": "C", + "variant": "text" + }, + { + "id": "26", + "options": [ + { + "id": "A", + "text": "Efficient dynamic resizing" + }, + { + "id": "B", + "text": "Constant-time access using indices" + }, + { + "id": "C", + "text": "Efficient memory usage for large datasets" + }, + { + "id": "D", + "text": "Automatically handled garbage collection" + } + ], + "prompt": "What is a characteristic advantage of arrays over linked lists?", + "solution": "B", + "variant": "text" + }, + { + "id": "27", + "options": [ + { + "id": "A", + "text": "Sarah" + }, + { + "id": "B", + "text": "John" + }, + { + "id": "C", + "text": "Emily" + }, + { + "id": "D", + "text": "Professor Smith" + } + ], + "prompt": "Which student mentioned considering how frequently they would be inserting and removing elements?", + "solution": "C", + "variant": "text" + }, + { + "id": "28", + "options": [ + { + "id": "A", + "text": "Code efficiency" + }, + { + "id": "B", + "text": "Personal preference" + }, + { + "id": "C", + "text": "Algorithm speed" + }, + { + "id": "D", + "text": "Suitability for the algorithm's requirements" + } + ], + "prompt": "What is the main focus when choosing a data structure for an algorithm?", + "solution": "D", + "variant": "text" + }, + { + "id": "29", + "options": [ + { + "id": "A", + "text": "To discuss the latest movies" + }, + { + "id": "B", + "text": "To plan a weekend outing" + }, + { + "id": "C", + "text": "To clarify questions about the assignment" + }, + { + "id": "D", + "text": "To complain about the weather" + } + ], + "prompt": "What was the primary purpose of the students' conversation with the tutor?", + "solution": "C", + "variant": "text" + }, + { + "id": "30", + "options": [ + { + "id": "A", + "text": "To submit it early" + }, + { + "id": "B", + "text": "To avoid asking questions" + }, + { + "id": "C", + "text": "To reach out if they have more questions" + }, + { + "id": "D", + "text": "To ignore the assignment" + } + ], + "prompt": "What advice did Professor Smith give to the students regarding the assignment?", + "solution": "C", + "variant": "text" + } + ], + "type": "multipleChoice", + } + ] + }, + { + "audio": { + "repeatableTimes": 3, + "source": "https://firebasestorage.googleapis.com/v0/b/mti-ielts.appspot.com/o/listening_recordings%2Flecture_international_finances.mp3?alt=media&token=3acedc5e-e0d2-4018-9735-543e93714f59" + }, + "exercises": [ + { + "id": str(uuid.uuid4()), + "maxWords": 3, + "prompt": "You will hear a lecture about international finance. Complete the notes bellow. Write no more " + "than 3 words or numbers for each answer.", + "solutions": [ + { + "id": "31", + "solution": ["forex"] + }, + { + "id": "32", + "solution": ["currencies"] + }, + { + "id": "33", + "solution": ["exports"] + }, + { + "id": "34", + "solution": ["multinacional"] + }, + { + "id": "35", + "solution": ["Lenders"] + }, + { + "id": "36", + "solution": ["Interest"] + }, + { + "id": "37", + "solution": ["Trade"] + }, + { + "id": "38", + "solution": ["Causes"] + }, + { + "id": "39", + "solution": ["Market"] + }, + { + "id": "40", + "solution": ["Global"] + }, + ], + "text": "The foreign exchange market, also known as {{31}}, is where currencies from around the world are bought and sold 24/7.\\n" + "Multinational corporations often have operations in multiple countries, each with its own {{32}}. " + "These companies must navigate the intricacies of currency risk, hedging strategies, and international trade regulations.\\n" + "In international trade, the balance of trade reflects the difference between a country's {{33}} " + "and imports, which can have significant implications for exchange rates.\\n" + "{{34}} corporations operate in multiple countries, and their financial operations span the globe. " + "Managing the financial aspects of these corporations involves dealing with multiple currencies and assessing currency risk.\\n" + "Central banks, often referred to as the '{{35}} of last resort' can influence exchange rates " + "through interventions in currency markets and set monetary policies that impact interest rates.\\n" + "The U.S. Federal Reserve's decisions on {{36}} rates have far-reaching consequences, not " + "only for the American economy but also for economies worldwide.\\n" + "Currency regimes, such as fixed pegs, floating rates, or managed floats, have distinct " + "implications for {{37}}, investment, and monetary policy.\\n" + "During international financial crises, such as the Asian financial crisis of 1997 or the global " + "financial crisis of 2008, understanding the {{38}} and consequences of these events is essential " + "for maintaining financial stability.\\n" + "In the foreign exchange market, exchange rates fluctuate in response to economic data, " + "geopolitical events, and {{39}} sentiment.\\n" + "International finance is a multifaceted field that weaves together economics, politics, and " + "finance on a {{40}} scale. It's a field where the decisions of central banks, multinational " + "corporations, and governments have ripple effects across borders.\\n", + "type": "writeBlanks" + } + ] + }, + ], + "isDiagnostic": True, + "minTimer": 30, + "module": "listening" +} # Falta section 3 e 4 do listening # writing task 1 com imagens ... @@ -2633,6 +5434,6 @@ db = firestore.client() # JSON data to insert # Add the JSON data to Firestore -collection_ref = db.collection('writing') -document_ref = collection_ref.add(new_writing_to_insert_1) +collection_ref = db.collection('listening') +document_ref = collection_ref.add(new_listening_to_insert_2) print(f"Document added with ID: {document_ref}") diff --git a/generate_speaking_questions.py b/generate_speaking_questions.py index 8e5ff13..6fdac52 100644 --- a/generate_speaking_questions.py +++ b/generate_speaking_questions.py @@ -1,3 +1,5 @@ +import random + from helper.firebase_helper import upload_file_firebase_get_url from helper.heygen_api import create_video import os @@ -21,18 +23,71 @@ FIREBASE_BUCKET = 'mti-ielts.appspot.com' VIDEO_FILES_PATH = 'download-video/' FIREBASE_SPEAKING_VIDEO_FILES_PATH = 'speaking_videos/' +# PART 1 +sp1_video_url = "" +sp1_video_path = "" + +# sp1_questions_json = { +# "topic": "Hobbies and Interests", +# "question": "What do you like to do in your free time? Do you have any hobbies or interests? Are there any new hobbies you would like to try in the future?" +# } +sp1_questions_json = { + "topic": "Hobbies and Interests", + "question": "Do you have any hobbies or interests that you enjoy in your free time? Please describe one of your favorite hobbies and explain why you like it." +} + +sp1_result = create_video(sp1_questions_json["question"], random.choice(list(AvatarEnum))) +if sp1_result is not None: + sound_file_path = VIDEO_FILES_PATH + sp1_result + firebase_file_path = FIREBASE_SPEAKING_VIDEO_FILES_PATH + sp1_result + url = upload_file_firebase_get_url(FIREBASE_BUCKET, firebase_file_path, sound_file_path) + sp1_video_path = firebase_file_path + sp1_video_url = url +else: + print("Failed to create video for question: " + sp1_questions_json["question"]) + +# PART 2 +sp2_video_url = "" +sp2_video_path = "" + +# sp2_questions_json = { +# "topic": "New Environment", +# "question": "Describe an occasion when you had to adapt to a new environment." +# } + +sp2_questions_json = { + "topic": "Travel and Adventure", + "question": "Describe an occasion when you had to adapt to a new environment.", + "prompts": [ + "Please include details about the destination", + "What you did there", + "why this trip was memorable for you." + ] +} + +sp2_result = create_video(sp2_questions_json["question"], random.choice(list(AvatarEnum))) +if sp2_result is not None: + sound_file_path = VIDEO_FILES_PATH + sp2_result + firebase_file_path = FIREBASE_SPEAKING_VIDEO_FILES_PATH + sp2_result + url = upload_file_firebase_get_url(FIREBASE_BUCKET, firebase_file_path, sound_file_path) + sp2_video_path = firebase_file_path + sp2_video_url = url +else: + print("Failed to create video for question: " + sp2_questions_json["question"]) + +# PART 3 # 1 -# questions_json = { -# "topic": "Technology and Society", -# "questions": [ -# "How do you think technology has affected the way people communicate with each other in today's society?", -# "In what ways has the use of smartphones and social media platforms changed the dynamics of personal relationships?", -# "Some argue that technology has made communication more convenient, while others worry that it has led to a decline in face-to-face interactions. What's your perspective on this matter, and how do you think it might impact future generations?" -# ] +# sp3_questions_json = { +# "topic": "Technology and Society", +# "questions": [ +# "How do you think technology has affected the way people communicate with each other in today's society?", +# "In what ways has the use of smartphones and social media platforms changed the dynamics of personal relationships?", +# "Some argue that technology has made communication more convenient, while others worry that it has led to a decline in face-to-face interactions. What's your perspective on this matter, and how do you think it might impact future generations?" +# ] # } # 2 -# questions_json = { +# sp3_questions_json = { # "topic": "Environmental Concerns", # "questions": [ # "What do you believe are the most pressing environmental issues facing the world today?", @@ -42,7 +97,7 @@ FIREBASE_SPEAKING_VIDEO_FILES_PATH = 'speaking_videos/' # } # 3 -# questions_json = { +# sp3_questions_json = { # "topic": "Education and Technology", # "questions": [ # "How has technology impacted the way students learn in today's classrooms?", @@ -52,26 +107,19 @@ FIREBASE_SPEAKING_VIDEO_FILES_PATH = 'speaking_videos/' # } # 4 -# questions_json = { -# "topic": "Cultural Diversity", -# "questions": [ -# "How can exposure to different cultures benefit individuals and society as a whole?", -# "What challenges might arise in culturally diverse communities, and how can they be addressed?", -# "Do you think it's important for schools to incorporate cultural diversity into their curriculum? Why or why not?" -# ] -# } - -# 5 -questions_json = { - "topic": "Hobbies and Interests", +sp3_questions_json = { + "topic": "Cultural Diversity", "questions": [ - "What do you like to do in your free time? Do you have any hobbies or interests? Are there any new hobbies you would like to try in the future?", + "How can exposure to different cultures benefit individuals and society as a whole?", + "What challenges might arise in culturally diverse communities, and how can they be addressed?", + "Do you think it's important for schools to incorporate cultural diversity into their curriculum? Why or why not?" ] } questions = [] -for question in questions_json["questions"]: - result = create_video(question, AvatarEnum.MATTHEW_NOAH) +avatar = random.choice(list(AvatarEnum)) +for question in sp3_questions_json["questions"]: + result = create_video(question, avatar) if result is not None: sound_file_path = VIDEO_FILES_PATH + result firebase_file_path = FIREBASE_SPEAKING_VIDEO_FILES_PATH + result @@ -85,18 +133,37 @@ for question in questions_json["questions"]: else: print("Failed to create video for question: " + question) -if len(questions) == len(questions_json["questions"]): - speaking_pt3_to_insert = { +# BUILD OBJECT TO SAVE +if len(questions) == len(sp3_questions_json["questions"]): + speaking_module_to_insert = { "exercises": [ + { + "id": str(uuid.uuid4()), + "prompts": [], + "text": sp1_questions_json["question"], + "title": sp1_questions_json["topic"], + "video_url": sp1_video_url, + "video_path": sp1_video_path, + "type": "speaking" + }, + { + "id": str(uuid.uuid4()), + "prompts": sp2_questions_json["prompts"], + "text": sp2_questions_json["question"], + "title": sp2_questions_json["topic"], + "video_url": sp2_video_url, + "video_path": sp2_video_path, + "type": "speaking" + }, { "id": str(uuid.uuid4()), "prompts": questions, "text": "Listen carefully and respond.", - "title": questions_json["topic"], + "title": sp3_questions_json["topic"], "type": "interactiveSpeaking" } ], - "isDiagnostic": False, + "isDiagnostic": True, "minTimer": 14, "module": "speaking" } @@ -107,7 +174,7 @@ if len(questions) == len(questions_json["questions"]): # Add the JSON data to Firestore collection_ref = db.collection('speaking') - document_ref = collection_ref.add(speaking_pt3_to_insert) + document_ref = collection_ref.add(speaking_module_to_insert) print(f"Document added with ID: {document_ref}") else: print("Array sizes do not match. Video uploading failing is probably the cause.") diff --git a/helper/heygen_api.py b/helper/heygen_api.py index d0dd561..5455cab 100644 --- a/helper/heygen_api.py +++ b/helper/heygen_api.py @@ -34,7 +34,7 @@ TYLER_CHRISTOPHER = "03c796f8ed274bb38f19e893bcbc6121" def create_video(text, avatar: AvatarEnum): # POST TO CREATE VIDEO data = { - "template_id": avatar, + "template_id": avatar.value, "title": "video_title", "test": False, "variables": [