p6/7 started (Freezing due to no experience in redux)
This commit is contained in:
64
labs/lab8/src/testing/quizData.tsx
Normal file
64
labs/lab8/src/testing/quizData.tsx
Normal file
@@ -0,0 +1,64 @@
|
||||
export type tTasks ={
|
||||
"question": string; /* вопрос задания*/
|
||||
"answer": string; /* ответ задания*/
|
||||
}[]
|
||||
|
||||
export type tQuizzes = {
|
||||
"id": number,
|
||||
"type": "M" | "S", /* типы заданий, М - сопоставление*/
|
||||
"title": string, /* формулировка задания */
|
||||
"tasks": tTasks,
|
||||
}[];
|
||||
|
||||
export const quiz: tQuizzes = [
|
||||
{
|
||||
"id": 1,
|
||||
"type": "M",
|
||||
"title": "Сопоставьте сооружение и город, в котором оно расположено.",
|
||||
"tasks": [
|
||||
{
|
||||
"question": "Башня Аль-Хамра",
|
||||
"answer": "Кувейт"
|
||||
},
|
||||
{
|
||||
"question": "Башня CITIC",
|
||||
"answer": "Гуанчжоу"
|
||||
},
|
||||
{
|
||||
"question": "Телебашня «Коктобе»",
|
||||
"answer": "Алматы"
|
||||
},
|
||||
{
|
||||
"question": "Си-Эн Тауэр",
|
||||
"answer": "Торонто"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "M",
|
||||
"title": "Сопоставьте сооружение и его высоту.",
|
||||
"tasks": [
|
||||
{
|
||||
"question": "Tokyo Skytree",
|
||||
"answer": "634"
|
||||
},
|
||||
{
|
||||
"question": "Бурдж-Халифа",
|
||||
"answer": "838"
|
||||
},
|
||||
{
|
||||
"question": "Эмпайр-стейт-билдинг",
|
||||
"answer": "448.7"
|
||||
},
|
||||
{
|
||||
"question": "Останкинская башня",
|
||||
"answer": "540.1"
|
||||
},
|
||||
{
|
||||
"question": "Lotte World Tower",
|
||||
"answer": "555"
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user