first working version

This commit is contained in:
howard
2025-10-22 20:14:31 +08:00
parent c9767b830b
commit 8dc869634e
118 changed files with 22518 additions and 0 deletions

View File

@@ -0,0 +1,183 @@
{
"examId": "linear-algebra-medium-v1",
"title": "Linear Algebra - Medium Level (Computational)",
"subject": "Linear Algebra",
"difficulty": "intermediate",
"durationMinutes": 50,
"passingScore": 70,
"sections": [
{
"id": "vectors",
"title": "Vector Operations & Computations",
"questions": [
{
"id": "q1",
"type": "single_choice",
"prompt": "Given vectors u = [3, -2, 1] and v = [1, 4, -2], compute u · v (dot product).",
"choices": [
{ "key": "A", "text": "-7" },
{ "key": "B", "text": "-3" },
{ "key": "C", "text": "3" },
{ "key": "D", "text": "7" }
],
"answer": "B",
"allowIDK": true,
"points": 10
},
{
"id": "q2",
"type": "single_choice",
"prompt": "Calculate the magnitude (length) of vector w = [3, 4]. Give ||w|| = ?",
"choices": [
{ "key": "A", "text": "5" },
{ "key": "B", "text": "7" },
{ "key": "C", "text": "√7" },
{ "key": "D", "text": "25" }
],
"answer": "A",
"allowIDK": true,
"points": 10
},
{
"id": "q3",
"type": "single_choice",
"prompt": "Find the unit vector in the direction of v = [6, 8]. Which is correct?",
"choices": [
{ "key": "A", "text": "[3/5, 4/5]" },
{ "key": "B", "text": "[6, 8]" },
{ "key": "C", "text": "[1, 1]" },
{ "key": "D", "text": "[0.6, 0.8]" }
],
"answer": "A",
"allowIDK": true,
"points": 10
}
]
},
{
"id": "matrices",
"title": "Matrix Operations & Calculations",
"questions": [
{
"id": "q4",
"type": "single_choice",
"prompt": "Compute AB where A = [[1, 2], [3, 4]] and B = [[2, 0], [1, 3]]. What is the element in position (1,1) of AB?",
"choices": [
{ "key": "A", "text": "2" },
{ "key": "B", "text": "4" },
{ "key": "C", "text": "6" },
{ "key": "D", "text": "8" }
],
"answer": "B",
"allowIDK": true,
"points": 10
},
{
"id": "q5",
"type": "single_choice",
"prompt": "Calculate the determinant of A = [[2, 1], [4, 3]]. det(A) = ?",
"choices": [
{ "key": "A", "text": "1" },
{ "key": "B", "text": "2" },
{ "key": "C", "text": "6" },
{ "key": "D", "text": "10" }
],
"answer": "B",
"allowIDK": true,
"points": 10
},
{
"id": "q6",
"type": "single_choice",
"prompt": "Given matrix A = [[1, 2], [3, 4]], what is the transpose A^T?",
"choices": [
{ "key": "A", "text": "[[1, 3], [2, 4]]" },
{ "key": "B", "text": "[[1, 2], [3, 4]]" },
{ "key": "C", "text": "[[4, 3], [2, 1]]" },
{ "key": "D", "text": "[[1, 0], [0, 1]]" }
],
"answer": "A",
"allowIDK": true,
"points": 10
}
]
},
{
"id": "systems",
"title": "Linear Systems & Solutions",
"questions": [
{
"id": "q7",
"type": "single_choice",
"prompt": "Solve the system: x + 2y = 7 and 2x - y = 4. What is x?",
"choices": [
{ "key": "A", "text": "x = 1" },
{ "key": "B", "text": "x = 2" },
{ "key": "C", "text": "x = 3" },
{ "key": "D", "text": "x = 4" }
],
"answer": "C",
"allowIDK": true,
"points": 15
},
{
"id": "q8",
"type": "single_choice",
"prompt": "For the inverse of A = [[2, 1], [4, 3]], what is A^(-1)?",
"choices": [
{ "key": "A", "text": "[[3/2, -1/2], [-2, 1]]" },
{ "key": "B", "text": "[[3, -1], [-4, 2]]" },
{ "key": "C", "text": "[[1/2, 1/2], [1/4, 1/3]]" },
{ "key": "D", "text": "[[3/2, 1/2], [2, 1]]" }
],
"answer": "A",
"allowIDK": true,
"points": 15
}
]
},
{
"id": "eigenvalues",
"title": "Eigenvalues & Special Computations",
"questions": [
{
"id": "q9",
"type": "single_choice",
"prompt": "Find the eigenvalues of matrix A = [[3, 1], [1, 3]]. What are they?",
"choices": [
{ "key": "A", "text": "λ₁ = 2, λ₂ = 4" },
{ "key": "B", "text": "λ₁ = 3, λ₂ = 3" },
{ "key": "C", "text": "λ₁ = 4, λ₂ = 2" },
{ "key": "D", "text": "λ₁ = 1, λ₂ = 5" }
],
"answer": "C",
"allowIDK": true,
"points": 15
},
{
"id": "q10",
"type": "single_choice",
"prompt": "Given matrix A = [[1, 0, 0], [0, 2, 0], [0, 0, 3]], what is the trace of A (sum of diagonal elements)?",
"choices": [
{ "key": "A", "text": "3" },
{ "key": "B", "text": "5" },
{ "key": "C", "text": "6" },
{ "key": "D", "text": "0" }
],
"answer": "C",
"allowIDK": true,
"points": 5
}
]
}
],
"metadata": {
"version": "1.0.0",
"createdAt": "2025-10-21T12:30:00Z",
"createdBy": "system",
"tags": ["linear-algebra", "mathematics", "computational", "intermediate", "auto-graded"],
"description": "Medium difficulty Linear Algebra exam requiring calculations for vectors, matrices, linear systems, and eigenvalues.",
"calculationNotes": "Students should show work for calculations. Answers are final results only for auto-grading."
}
}