{
"type": "quiz",
"passThreshold": 0.7,
"questions": [
{
"id": "q1",
"text": "When making architectural trade-off decisions (such as which database to use), what approach does the course recommend?",
"points": 10,
"options": [
{"id": "a", "text": "Ask the AI to recommend the best option"},
{"id": "b", "text": "Make the decision yourself based on your constraints, then use AI to implement it"},
{"id": "c", "text": "Always pick the most popular option from surveys"},
{"id": "d", "text": "Let the most senior developer decide without discussion"}
],
"correctAnswers": ["b"]
},
{
"id": "q2",
"text": "What is the difference between authentication and authorisation?",
"points": 10,
"options": [
{"id": "a", "text": "They are the same thing with different spellings"},
{"id": "b", "text": "Authentication verifies identity (who are you?); authorisation checks permissions (what are you allowed to do?)"},
{"id": "c", "text": "Authentication is for APIs; authorisation is for web apps"},
{"id": "d", "text": "Authentication uses passwords; authorisation uses tokens"}
],
"correctAnswers": ["b"]
},
{
"id": "q3",
"text": "Why should you store monetary values as integers (cents) instead of floats (dollars) in your data
This lesson is part of Advanced App Building with AI — a paid course (NZ$10.00). Enrol to unlock the full lesson, audio, and completion tracking.
New to Lalapanzi.ai? We have a growing library of free courses — no sign-in required to start learning.