export type tTasks ={
    "question": string; /* вопрос задания*/
    "answer": string|number|boolean; /* ответ задания*/
}[]

export type tQuizzes = {
    "id": number, 
    "type": "M" | "S" | "C", /*  Match Sort Choose*/
    "title": string, /* формулировка задания */
    "tasks": tTasks, 
}[];

export const quiz: tQuizzes = [
  {
    "id": 0,
    "type": "C",
    "title": "RAM price jump: pick true statements",
    "tasks": [
      {
        "question": "AI server demand pushed DRAM contracts up in 2024-2025",
        "answer": true
      },
      {
        "question": "Laptop DDR5 demand was the main global driver",
        "answer": false
      },
      {
        "question": "HBM supply limits affected overall memory pricing",
        "answer": true
      },
      {
        "question": "Memory prices stayed flat through 2025",
        "answer": false
      }
    ]
  },
  {
    "id": 1,
    "type": "M",
    "title": "Match RAM market terms",
    "tasks": [
      {
        "question": "HBM",
        "answer": "High Bandwidth Memory"
      },
      {
        "question": "DRAM",
        "answer": "Dynamic Random Access Memory"
      },
      {
        "question": "NAND",
        "answer": "Flash storage memory"
      },
      {
        "question": "Contract price",
        "answer": "Long-term negotiated memory price"
      }
    ]
  },
  {
    "id": 2,
    "type": "S",
    "title": "Sort AI stack by deployment flow",
    "tasks": [
      {
        "question": "1",
        "answer": "Collect and clean data"
      },
      {
        "question": "2",
        "answer": "Train model"
      },
      {
        "question": "3",
        "answer": "Optimize for inference"
      },
      {
        "question": "4",
        "answer": "Deploy and monitor"
      }
    ]
  },
  {
    "id": 3,
    "type": "C",
    "title": "AI trends: choose true",
    "tasks": [
      {
        "question": "Edge AI adoption grew in 2024-2026",
        "answer": true
      },
      {
        "question": "LLMs removed the need for GPUs",
        "answer": false
      },
      {
        "question": "Smaller task-specific models are still widely used",
        "answer": true
      },
      {
        "question": "AI inference always runs only in cloud",
        "answer": false
      }
    ]
  },
  {
    "id": 4,
    "type": "M",
    "title": "Match low-energy embedded methods",
    "tasks": [
      {
        "question": "Sleep mode",
        "answer": "Turns off CPU blocks between events"
      },
      {
        "question": "DVFS",
        "answer": "Adjusts voltage and frequency to save power"
      },
      {
        "question": "Interrupt wakeup",
        "answer": "Wakes MCU only on external/internal trigger"
      },
      {
        "question": "Duty cycling",
        "answer": "Runs sensors and radio in short active bursts"
      }
    ]
  },
  {
    "id": 5,
    "type": "S",
    "title": "Sort low-energy embedded design steps",
    "tasks": [
      {
        "question": "1",
        "answer": "Measure baseline current"
      },
      {
        "question": "2",
        "answer": "Set sleep and wake strategy"
      },
      {
        "question": "3",
        "answer": "Tune radio and sensor duty cycle"
      },
      {
        "question": "4",
        "answer": "Validate battery-life target"
      }
    ]
  }
]