From 1e077885ba26b8009e0c02201859e0d7dbe8e14a Mon Sep 17 00:00:00 2001 From: Jen Looper Date: Tue, 5 Apr 2022 13:58:35 -0400 Subject: [PATCH] quiz app prior to refactor - ready for input --- quiz-app/.gitignore | 1 - quiz-app/package-lock.json | 60 +-- .../src/assets/translations/en/group-1.json | 380 +--------------- quiz-app/src/assets/translations/en/index.js | 12 +- .../src/assets/translations/es/group-1.json | 418 ++++++++++++++++++ quiz-app/src/assets/translations/es/index.js | 17 + .../src/assets/translations/fr/group-1.json | 62 --- quiz-app/src/assets/translations/fr/index.js | 9 - quiz-app/src/assets/translations/index.js | 4 +- 9 files changed, 500 insertions(+), 463 deletions(-) delete mode 100644 quiz-app/.gitignore create mode 100644 quiz-app/src/assets/translations/es/group-1.json create mode 100644 quiz-app/src/assets/translations/es/index.js delete mode 100644 quiz-app/src/assets/translations/fr/group-1.json delete mode 100644 quiz-app/src/assets/translations/fr/index.js diff --git a/quiz-app/.gitignore b/quiz-app/.gitignore deleted file mode 100644 index 3c3629e6..00000000 --- a/quiz-app/.gitignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/quiz-app/package-lock.json b/quiz-app/package-lock.json index 2b3499e1..df1e6b8f 100644 --- a/quiz-app/package-lock.json +++ b/quiz-app/package-lock.json @@ -2169,9 +2169,9 @@ } }, "node_modules/@vue/cli-service/node_modules/loader-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz", - "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", "dev": true, "optional": true, "dependencies": { @@ -2247,9 +2247,9 @@ }, "node_modules/@vue/cli-service/node_modules/vue-loader-v16": { "name": "vue-loader", - "version": "16.5.0", - "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.5.0.tgz", - "integrity": "sha512-WXh+7AgFxGTgb5QAkQtFeUcHNIEq3PGVQ8WskY5ZiFbWBkOwcCPRs4w/2tVyTbh2q6TVRlO3xfvIukUtjsu62A==", + "version": "16.8.3", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", + "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", "dev": true, "optional": true, "dependencies": { @@ -6661,9 +6661,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.14.8", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", - "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", "dev": true, "funding": [ { @@ -9018,9 +9018,9 @@ } }, "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, "node_modules/minipass": { @@ -13260,9 +13260,9 @@ } }, "node_modules/url-parse": { - "version": "1.5.7", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.7.tgz", - "integrity": "sha512-HxWkieX+STA38EDk7CE9MEryFeHCKzgagxlGvsdS7WBImq9Mk+PGwiT56w82WI3aicwJA8REp42Cxo98c8FZMA==", + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", + "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", "dev": true, "dependencies": { "querystringify": "^2.1.1", @@ -16388,9 +16388,9 @@ "optional": true }, "loader-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz", - "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", "dev": true, "optional": true, "requires": { @@ -16443,9 +16443,9 @@ } }, "vue-loader-v16": { - "version": "npm:vue-loader@16.5.0", - "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.5.0.tgz", - "integrity": "sha512-WXh+7AgFxGTgb5QAkQtFeUcHNIEq3PGVQ8WskY5ZiFbWBkOwcCPRs4w/2tVyTbh2q6TVRlO3xfvIukUtjsu62A==", + "version": "npm:vue-loader@16.8.3", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", + "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", "dev": true, "optional": true, "requires": { @@ -20063,9 +20063,9 @@ } }, "follow-redirects": { - "version": "1.14.8", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz", - "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==", + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", "dev": true }, "for-in": { @@ -21905,9 +21905,9 @@ } }, "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, "minipass": { @@ -25449,9 +25449,9 @@ } }, "url-parse": { - "version": "1.5.7", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.7.tgz", - "integrity": "sha512-HxWkieX+STA38EDk7CE9MEryFeHCKzgagxlGvsdS7WBImq9Mk+PGwiT56w82WI3aicwJA8REp42Cxo98c8FZMA==", + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", + "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", "dev": true, "requires": { "querystringify": "^2.1.1", diff --git a/quiz-app/src/assets/translations/en/group-1.json b/quiz-app/src/assets/translations/en/group-1.json index 237b4b6d..94877aa1 100644 --- a/quiz-app/src/assets/translations/en/group-1.json +++ b/quiz-app/src/assets/translations/en/group-1.json @@ -6,27 +6,27 @@ "quizzes": [ { "id": 0, - "title": "Defining Data Science - Pre Quiz", + "title": "Introduction to AI - Pre Quiz", "quiz": [ { - "questionText": "Why is the word _Science_ in Data Science?", + "questionText": "q1", "answerOptions": [ { - "answerText": "It uses scientific methods to analyze data", + "answerText": "a1", "isCorrect": "true" }, { - "answerText": "Only people with academic degrees can understand it", + "answerText": "a2", "isCorrect": "false" }, { - "answerText": "To make is sound cool", + "answerText": "a3", "isCorrect": "false" } ] }, { - "questionText": "Learning Data Science is only useful for developers", + "questionText": "q2", "answerOptions": [ { "answerText": "True", @@ -39,18 +39,18 @@ ] }, { - "questionText": "What do we need to demonstrate that basketball players are taller than average people?", + "questionText": "q3", "answerOptions": [ { - "answerText": "Collect some data", + "answerText": "a1", "isCorrect": "false" }, { - "answerText": "Know some probability and statistics", + "answerText": "a2", "isCorrect": "false" }, { - "answerText": "All of the above", + "answerText": "a3", "isCorrect": "true" } ] @@ -59,394 +59,60 @@ }, { "id": 1, - "title": "Defining Data Science: Post-Quiz", + "title": "Introduction to AI: Post-Quiz", "quiz": [ { - "questionText": "Which areas are closely related to data science?", + "questionText": "q1", "answerOptions": [ { - "answerText": "Artificial Intelligence", + "answerText": "a1", "isCorrect": "false" }, { - "answerText": "Machine Learning", + "answerText": "a2", "isCorrect": "false" }, { - "answerText": "All of the above", + "answerText": "a3", "isCorrect": "true" } ] }, { - "questionText": "Which of the following is an example of non-structured data?", + "questionText": "q2", "answerOptions": [ { - "answerText": "List of students in class", + "answerText": "a1", "isCorrect": "false" }, { - "answerText": "Collection of student essays", + "answerText": "a2", "isCorrect": "true" }, { - "answerText": "Graph of friends of social network users", + "answerText": "a3", "isCorrect": "false" } ] }, { - "questionText": "What is the main goal of data science?", + "questionText": "q3?", "answerOptions": [ { - "answerText": "to collect data", + "answerText": "a1", "isCorrect": "false" }, { - "answerText": "to process data", + "answerText": "a2", "isCorrect": "false" }, { - "answerText": "to be able to make decisions based on data", + "answerText": "a3", "isCorrect": "true" } ] } ] - }, - { - "id": 2, - "title": "Ethics - Pre-Quiz", - "quiz": [ - { - "questionText": "What is a consideration of ethics in Data Science?", - "answerOptions": [ - { - "answerText": "Data collection", - "isCorrect": "false" - }, - { - "answerText": "Algorithm Design", - "isCorrect": "false" - }, - { - "answerText": "All the above", - "isCorrect": "true" - } - ] - }, - { - "questionText": "Which of the following are a part of ethical challenges?", - "answerOptions": [ - { - "answerText": "Transparency", - "isCorrect": "false" - }, - { - "answerText": "Data privacy", - "isCorrect": "true" - }, - { - "answerText": "Reliability and safety", - "isCorrect": "false" - } - ] - }, - { - "questionText": "Data ethics also includes AI and machine learning algorithms ", - "answerOptions": [ - { - "answerText": "True", - "isCorrect": "true" - }, - { - "answerText": "False, they are separate", - "isCorrect": "false" - } - ] - } - ] - }, - { - "id": 3, - "title": "Ethics - Post-Quiz", - "quiz": [ - { - "questionText": "What is the main difference between ethics and applied ethics?", - "answerOptions": [ - { - "answerText": "Applied ethics is a specific type of ethics", - "isCorrect": "false" - }, - { - "answerText": "Applied ethics is not a real term", - "isCorrect": "false" - }, - { - "answerText": "Applied ethics is the process of finding and correcting ethical issues", - "isCorrect": "true" - } - ] - }, - { - "questionText": "What is the difference between ethics regulation vs ethics principles", - "answerOptions": [ - { - "answerText": "Ethics regulation focuses on regular ethics", - "isCorrect": "false" - }, - { - "answerText": "There is no difference", - "isCorrect": "false" - }, - { - "answerText": "Ethics principles do not relate to a particular law, while regulations do", - "isCorrect": "true" - } - ] - }, - { - "questionText": "Which of these are real ethical principles and practices that can be applied?", - "answerOptions": [ - { - "answerText": "Collection bias", - "isCorrect": "false" - }, - { - "answerText": "Compliance with ethics regulations", - "isCorrect": "false" - }, - { - "answerText": "both of the above", - "isCorrect": "true" - } - ] - } - ] - }, - { - "id": 4, - "title": "Defining Data - Pre-Quiz", - "quiz": [ - { - "questionText": "Which of these could be quantitative data?", - "answerOptions": [ - { - "answerText": "Photos of dogs", - "isCorrect": "false" - }, - { - "answerText": "Hotel reviews", - "isCorrect": "false" - }, - { - "answerText": "Student’s marks or grades", - "isCorrect": "true" - } - ] - }, - { - "questionText": "Which of these could be qualitative data?", - "answerOptions": [ - { - "answerText": "List of employees' salaries", - "isCorrect": "false" - }, - { - "answerText": "Hotel reviews", - "isCorrect": "true" - }, - { - "answerText": "Students' marks or grades", - "isCorrect": "false" - } - ] - }, - { - "questionText": "What is the main goal of classifying data?", - "answerOptions": [ - { - "answerText": "To store the data correctly", - "isCorrect": "false" - }, - { - "answerText": "To give the data a proper name", - "isCorrect": "false" - }, - { - "answerText": "To know which method is best to organize it for readability and analysis", - "isCorrect": "true" - } - ] - } - ] - }, - { - "id": 5, - "title": "Defining Data - Post-Quiz", - "quiz": [ - { - "questionText": "The teacher is reviewing students’ number of correct answers, what type of data is that?", - "answerOptions": [ - { - "answerText": "Qualitative Data", - "isCorrect": "false" - }, - { - "answerText": "Quantitative Data", - "isCorrect": "true" - }, - { - "answerText": "All the above", - "isCorrect": "false" - } - ] - }, - { - "questionText": "A company is collecting surveys from their customers to improve their products. What type of data source is this?", - "answerOptions": [ - { - "answerText": "Primary", - "isCorrect": "true" - }, - { - "answerText": "Secondary", - "isCorrect": "false" - }, - { - "answerText": "Tertiary", - "isCorrect": "false" - } - ] - }, - { - "questionText": "A student is collecting data using queries. What data source could that be?", - "answerOptions": [ - { - "answerText": "Local Files", - "isCorrect": "false" - }, - { - "answerText": "API", - "isCorrect": "false" - }, - { - "answerText": "Database", - "isCorrect": "true" - } - ] - } - ] - }, - { - "id": 6, - "title": "Statistics and Probability - Pre-Quiz", - "quiz": [ - { - "questionText": "Why statistics and probability are important for data science?", - "answerOptions": [ - { - "answerText": "Because you cannot operate on data without knowing math", - "isCorrect": "false" - }, - { - "answerText": "Because data science is a science and has strong formal foundation", - "isCorrect": "true" - }, - { - "answerText": "Because we want to keep uneducated people from doing data science", - "isCorrect": "false" - } - ] - }, - { - "questionText": "Can you get heads 10 times in a row when throwing a coin?", - "answerOptions": [ - { - "answerText": "yes", - "isCorrect": "true" - }, - { - "answerText": "no", - "isCorrect": "false" - } - ] - }, - { - "questionText": "When you throw a dice, what is the probability of getting an even number?", - "answerOptions": [ - { - "answerText": "1/2", - "isCorrect": "true" - }, - { - "answerText": "1/3", - "isCorrect": "false" - }, - { - "answerText": "impossible to tell", - "isCorrect": "false" - } - ] - } - ] - }, - { - "id": 7, - "title": "Statistics and Probability - Post-Quiz", - "quiz": [ - { - "questionText": "We want to prove that basketball players are taller than average people. We have collected heights of 20 people from both groups. What do we need to do?", - "answerOptions": [ - { - "answerText": "compare means", - "isCorrect": "false" - }, - { - "answerText": "collect more data, 20 is not enough!", - "isCorrect": "false" - }, - { - "answerText": "use t-test", - "isCorrect": "true" - } - ] - }, - { - "questionText": "How can we demonstrate that income of a person is dependent on the level of education?", - "answerOptions": [ - { - "answerText": "compute correlation coefficient", - "isCorrect": "true" - }, - { - "answerText": "divide into educated and non-educated cohorts and compute means", - "isCorrect": "false" - }, - { - "answerText": "use t-test", - "isCorrect": "false" - } - ] - }, - { - "questionText": "We throw the dice 100 times and compute the average value. What would be the distribution of the result?", - "answerOptions": [ - { - "answerText": "uniform", - "isCorrect": "false" - }, - { - "answerText": "normal", - "isCorrect": "true" - }, - { - "answerText": "none of the above", - "isCorrect": "false" - } - ] - } - ] } ] } diff --git a/quiz-app/src/assets/translations/en/index.js b/quiz-app/src/assets/translations/en/index.js index 223545cd..4fcec466 100644 --- a/quiz-app/src/assets/translations/en/index.js +++ b/quiz-app/src/assets/translations/en/index.js @@ -1,10 +1,18 @@ import en0 from "./group-1.json"; - +/*import en1 from "./group-2.json"; +import en2 from "./group-3.json"; +import en3 from "./group-4.json"; +import en4 from "./group-5.json"; +import en5 from "./group-6.json";*/ const quiz = { 0: en0[0], - + /*1: en1[0], + 2: en2[0], + 3: en3[0], + 4: en4[0], + 5: en5[0],*/ }; export default quiz; diff --git a/quiz-app/src/assets/translations/es/group-1.json b/quiz-app/src/assets/translations/es/group-1.json new file mode 100644 index 00000000..9925a0a4 --- /dev/null +++ b/quiz-app/src/assets/translations/es/group-1.json @@ -0,0 +1,418 @@ +[{ + "title": "AI para principiantes: Cuestionarios", + "complete": "Enhorabuena, has completado el cuestionario!", + "error": "Lo siento, inténtalo de nuevo", + "quizzes": [{ + "id": 0, + "title": "Definición de la ciencia de los datos - Cuestionario previo", + "quiz": [{ + "questionText": "¿Por qué la palabra _Ciencia_ en Ciencia de Datos?", + "answerOptions": [{ + "answerText": "Utiliza métodos científicos para analizar los datos", + "isCorrect": "true" + }, + { + "answerText": "Sólo las personas con títulos académicos pueden entenderlo", + "isCorrect": "false" + }, + { + "answerText": "Para que suene bien", + "isCorrect": "false" + } + ] + }, + { + "questionText": "El aprendizaje de la ciencia de los datos sólo es útil para los desarrolladores", + "answerOptions": [{ + "answerText": "Verdadero", + "isCorrect": "false" + }, + { + "answerText": "Falso", + "isCorrect": "true" + } + ] + }, + { + "questionText": "¿Qué necesitamos para demostrar que los jugadores de baloncesto son más altos que la gente media?", + "answerOptions": [{ + "answerText": "Recopilar datos", + "isCorrect": "false" + }, + { + "answerText": "Conocer algo de probabilidad y estadística", + "isCorrect": "false" + }, + { + "answerText": "Las dos respuestas anteriores", + "isCorrect": "true" + } + ] + } + ] + }, + { + "id": 1, + "title": "Definir la ciencia de los datos: Cuestionario final", + "quiz": [{ + "questionText": "¿Qué áreas están estrechamente relacionadas con la ciencia de los datos?", + "answerOptions": [{ + "answerText": "Inteligencia Artificial", + "isCorrect": "false" + }, + { + "answerText": "Aprendizaje automático", + "isCorrect": "false" + }, + { + "answerText": "Las dos respuestas anteriores", + "isCorrect": "true" + } + ] + }, + { + "questionText": "¿Cuál de los siguientes representaciones es un ejemplo de datos no estructurados?", + "answerOptions": [{ + "answerText": "Una lista de alumnos en clase", + "isCorrect": "false" + }, + { + "answerText": "Una colección de ensayos de estudiantes", + "isCorrect": "true" + }, + { + "answerText": "Un gráfico de amigos de usuarios en redes sociales", + "isCorrect": "false" + } + ] + }, + { + "questionText": "¿Cuál es el objetivo principal de la ciencia de datos?", + "answerOptions": [{ + "answerText": "recoger datos", + "isCorrect": "false" + }, + { + "answerText": "procesar los datos", + "isCorrect": "false" + }, + { + "answerText": "ser capaz de tomar decisiones basadas en datos", + "isCorrect": "true" + } + ] + } + ] + }, + { + "id": 2, + "title": "Ética - Cuestionario previo", + "quiz": [{ + "questionText": "¿Qué es la consideración de la ética en la Ciencia de los Datos?", + "answerOptions": [{ + "answerText": "Recogida de datos", + "isCorrect": "false" + }, + { + "answerText": "Diseño de algoritmos", + "isCorrect": "false" + }, + { + "answerText": "", + "isCorrect": "true" + } + ] + }, + { + "questionText": "¿Cuáles de los siguientes elementos forman parte de los desafíos éticos?", + "answerOptions": [{ + "answerText": "La transparencia", + "isCorrect": "false" + }, + { + "answerText": "La privacidad", + "isCorrect": "true" + }, + { + "answerText": "La seguridad y fiabilidad", + "isCorrect": "false" + } + ] + }, + { + "questionText": "La ética de los datos también incluye la IA y los algoritmos de aprendizaje automático", + "answerOptions": [{ + "answerText": "Verdadero", + "isCorrect": "true" + }, + { + "answerText": "Falso, están separados", + "isCorrect": "false" + } + ] + } + ] + }, + { + "id": 3, + "title": "Ética - Cuestionario final", + "quiz": [{ + "questionText": "¿Cuál es la principal diferencia entre la ética y la ética aplicada?", + "answerOptions": [{ + "answerText": "La ética aplicada es un tipo específico de ética", + "isCorrect": "false" + }, + { + "answerText": "La ética aplicada no es un término real", + "isCorrect": "false" + }, + { + "answerText": "La ética aplicada es el proceso de encontrar y corregir problemas éticos", + "isCorrect": "true" + } + ] + }, + { + "questionText": "¿Cuál es la diferencia entre reglamento de ética y principios de ética?", + "answerOptions": [{ + "answerText": "La normativa ética se centra en la ética habitual", + "isCorrect": "false" + }, + { + "answerText": "No hay ninguna diferencia", + "isCorrect": "false" + }, + { + "answerText": "Los principios éticos no están relacionados con una ley concreta, mientras que los reglamentos sí.", + "isCorrect": "true" + } + ] + }, + { + "questionText": "¿Cuáles son los principios y prácticas éticas reales que se pueden aplicar?", + "answerOptions": [{ + "answerText": "Sesgo de recogida", + "isCorrect": "false" + }, + { + "answerText": "Cumplimiento de la normativa ética", + "isCorrect": "false" + }, + { + "answerText": "Las dos respuestas anteriores", + "isCorrect": "true" + } + ] + } + ] + }, + { + "id": 4, + "title": "Definición de datos - Cuestionario previo", + "quiz": [{ + "questionText": "¿Cuáles de estos datos podrían ser cuantitativos?", + "answerOptions": [{ + "answerText": "Fotos de perros", + "isCorrect": "false" + }, + { + "answerText": "Reseñas de hoteles", + "isCorrect": "false" + }, + { + "answerText": "Notas o calificaciones de estudiantes", + "isCorrect": "true" + } + ] + }, + { + "questionText": "¿Cuáles de estos datos podrían ser datos cualitativos?", + "answerOptions": [{ + "answerText": "Lista de salarios de los empleados", + "isCorrect": "false" + }, + { + "answerText": "Reseñas de hoteles", + "isCorrect": "true" + }, + { + "answerText": "Notas o calificaciones de estudiantes", + "isCorrect": "false" + } + ] + }, + { + "questionText": "¿Cuál es el objetivo principal de la clasificación de datos?", + "answerOptions": [{ + "answerText": "El almacenamiento correcto de datos", + "isCorrect": "false" + }, + { + "answerText": "Dar un nombre propio a los datos", + "isCorrect": "false" + }, + { + "answerText": "Saber cuál es el mejor método para organizarlo para la legibilidad y el análisis", + "isCorrect": "true" + } + ] + } + ] + }, + { + "id": 5, + "title": "Definición de los datos - Cuestionario final", + "quiz": [{ + "questionText": "El profesor está revisando el número de respuestas correctas de los alumnos, ¿de qué tipo de datos se trata?", + "answerOptions": [{ + "answerText": "Datos cualitativos", + "isCorrect": "false" + }, + { + "answerText": "Datos cuantitativos", + "isCorrect": "true" + }, + { + "answerText": "Las dos respuestas anteriores", + "isCorrect": "false" + } + ] + }, + { + "questionText": "Una empresa está recogiendo encuestas de sus clientes para mejorar sus productos. ¿De qué tipo de fuente de datos se trata?", + "answerOptions": [{ + "answerText": "Primario", + "isCorrect": "true" + }, + { + "answerText": "Secundario", + "isCorrect": "false" + }, + { + "answerText": "Terciario", + "isCorrect": "false" + } + ] + }, + { + "questionText": "Un estudiante está recogiendo datos mediante consultas. ¿Qué fuente de datos podría ser?", + "answerOptions": [{ + "answerText": "Archivos locales", + "isCorrect": "false" + }, + { + "answerText": "API", + "isCorrect": "false" + }, + { + "answerText": "Base de datos", + "isCorrect": "true" + } + ] + } + ] + }, + { + "id": 6, + "title": "Estadística y Probabilidad - Cuestionario previo", + "quiz": [{ + "questionText": "¿Por qué la estadística y la probabilidad son importantes para la ciencia de los datos?", + "answerOptions": [{ + "answerText": "Porque no se puede operar con datos sin saber matemáticas", + "isCorrect": "false" + }, + { + "answerText": "Porque la ciencia de los datos es una ciencia y tiene una sólida base formal", + "isCorrect": "true" + }, + { + "answerText": "Porque queremos evitar que la gente sin formación se dedique a la ciencia de los datos", + "isCorrect": "false" + } + ] + }, + { + "questionText": "¿Puedes sacar cara 10 veces seguidas al lanzar una moneda?", + "answerOptions": [{ + "answerText": "Sí", + "isCorrect": "true" + }, + { + "answerText": "No", + "isCorrect": "false" + } + ] + }, + { + "questionText": "Al lanzar un dado, ¿cuál es la probabilidad de obtener un número par?", + "answerOptions": [{ + "answerText": "1/2", + "isCorrect": "true" + }, + { + "answerText": "1/3", + "isCorrect": "false" + }, + { + "answerText": "Es imposible de predecir", + "isCorrect": "false" + } + ] + } + ] + }, + { + "id": 7, + "title": "Estadística y Probabilidad - Cuestionario final", + "quiz": [{ + "questionText": "Queremos demostrar que los jugadores de baloncesto son más altos que la gente media. Hemos recogido las estaturas de 20 personas de ambos grupos. ¿Qué tenemos que hacer?", + "answerOptions": [{ + "answerText": "comparar la media", + "isCorrect": "false" + }, + { + "answerText": "Recoger más datos, ¡20 no es suficiente!", + "isCorrect": "false" + }, + { + "answerText": "utilizar la prueba t de Student", + "isCorrect": "true" + } + ] + }, + { + "questionText": "¿Cómo podemos demostrar que los ingresos de una persona dependen del nivel de educación?", + "answerOptions": [{ + "answerText": "calcular el coeficiente de correlación", + "isCorrect": "true" + }, + { + "answerText": "dividir en grupos con y sin estudios y calcular las medias", + "isCorrect": "false" + }, + { + "answerText": "utilizar la prueba t de Studen", + "isCorrect": "false" + } + ] + }, + { + "questionText": "Lanzamos los dados 100 veces y calculamos el valor medio. ¿Cuál sería la distribución del resultado?", + "answerOptions": [{ + "answerText": "uniforme", + "isCorrect": "false" + }, + { + "answerText": "normal", + "isCorrect": "true" + }, + { + "answerText": "ninguna de las respuestas anteriores", + "isCorrect": "false" + } + ] + } + ] + } + ] +}] diff --git a/quiz-app/src/assets/translations/es/index.js b/quiz-app/src/assets/translations/es/index.js new file mode 100644 index 00000000..5215a115 --- /dev/null +++ b/quiz-app/src/assets/translations/es/index.js @@ -0,0 +1,17 @@ +import es0 from './group-1.json'; +/*import es1 from './group-2.json'; +import es2 from './group-3.json'; +import es3 from './group-4.json'; +import es4 from './group-5.json'; +import es5 from './group-6.json';*/ + +const quiz = { + 0: es0[0], + /*1: es1[0], + 2: es2[0], + 3: es3[0], + 4: es4[0], + 5: es5[0],*/ +}; + +export default quiz; diff --git a/quiz-app/src/assets/translations/fr/group-1.json b/quiz-app/src/assets/translations/fr/group-1.json deleted file mode 100644 index 6ec588f6..00000000 --- a/quiz-app/src/assets/translations/fr/group-1.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "title": "Data Science pour Débutants: Quizzes", - "complete": "Felicitations, you completed the quiz!", - "error": "Oups, try again", - "quizzes": [ - { - "id": 0, - "title": "Premier quiz", - "quiz": [ - { - "questionText": "premier question", - "answerOptions": [ - { - "answerText": "True", - "isCorrect": "true" - }, - { - "answerText": "False", - "isCorrect": "false" - } - ] - }, - { - "questionText": "deuxieme question", - "answerOptions": [ - { - "answerText": "classical ML was invented first", - "isCorrect": "false" - }, - { - "answerText": "the use of neural networks", - "isCorrect": "true" - }, - { - "answerText": "deep learning is used in robots", - "isCorrect": "false" - } - ] - }, - { - "questionText": "troisieme question", - "answerOptions": [ - { - "answerText": "to automate the solving of multi-dimensional problems", - "isCorrect": "false" - }, - { - "answerText": "to customize a shopping experience based on the type of customer", - "isCorrect": "false" - }, - { - "answerText": "both of the above", - "isCorrect": "true" - } - ] - } - ] - } - ] - } -] diff --git a/quiz-app/src/assets/translations/fr/index.js b/quiz-app/src/assets/translations/fr/index.js deleted file mode 100644 index 6ba3f340..00000000 --- a/quiz-app/src/assets/translations/fr/index.js +++ /dev/null @@ -1,9 +0,0 @@ -import fr0 from "./group-1.json"; -//import fr1 from "./group-2.json"; - -const quiz = { - 0: fr0[0], - //1: fr1[0], -}; - -export default quiz; diff --git a/quiz-app/src/assets/translations/index.js b/quiz-app/src/assets/translations/index.js index 4154a729..5b0d5b76 100644 --- a/quiz-app/src/assets/translations/index.js +++ b/quiz-app/src/assets/translations/index.js @@ -1,8 +1,8 @@ import englishQuizzes from './en/'; -import frenchQuizzes from './fr/'; +import spanishQuizzes from './es/'; const messages = { en: englishQuizzes, - fr: frenchQuizzes, + es: spanishQuizzes, }; export default messages;