Skip to content

Commit 306d4b3

Browse files
committed
Add 4 lesson-related questions to final quiz
1 parent 0dc368f commit 306d4b3

File tree

1 file changed

+40
-12
lines changed

1 file changed

+40
-12
lines changed

utils/quizzes/lesson-4-quiz.json

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,76 @@
22
"title": "Quiz: Lesson 4",
33
"questions": [
44
{
5-
"question": "Where do the values for event parameters get stored?",
5+
"question": "Which testing approach is recommended for ensuring a secure smart contract?",
66
"options": [
77
{
8-
"answer": "In the block data"
8+
"answer": "Only manual testing with thorough code review."
99
},
1010
{
11-
"answer": "In transaction logs",
11+
"answer": "Automated testing using unit tests exclusively."
12+
},
13+
{
14+
"answer": "A combination of manual testing, automated testing, and code auditing.",
1215
"correct": true
1316
},
1417
{
15-
"answer": "They are not stored"
18+
"answer": "Skipping testing to expedite the deployment process."
1619
}
1720
]
1821
},
1922
{
20-
"question": "Which of these properties does Ethereum have?",
23+
"question": "What can automated testing of smart contracts help achieve?",
2124
"options": [
2225
{
23-
"answer": "Permissioned"
26+
"answer": "Faster development and deployment process."
27+
},
28+
{
29+
"answer": "Finding every possible bug and vulnerability."
30+
},
31+
{
32+
"answer": "Improving the overall code quality.",
33+
"correct": true
2434
},
2535
{
26-
"answer": "Trustless",
36+
"answer": "Ensuring the smart contract is free of errors.",
2737
"correct": true
38+
}
39+
]
40+
},
41+
{
42+
"question": "Which best describes 'gas' in the context of smart contracts?",
43+
"options": [
44+
{
45+
"answer": "The cost of deploying a smart contract on the blockchain."
46+
},
47+
{
48+
"answer": "The unit of currency used in smart contract transactions."
2849
},
2950
{
30-
"answer": "Decentralized",
51+
"answer": "A measure of the computational effort required to execute a transaction or contract.",
3152
"correct": true
53+
},
54+
{
55+
"answer": "The reward given to validators for running a validator node."
3256
}
3357
]
3458
},
3559
{
36-
"question": "What can we use a smart contract for?",
60+
"question": "What are some potential risks of deploying a smart contract without proper testing?",
3761
"options": [
3862
{
39-
"answer": "Storing or transfering value without the need of a central authority",
63+
"answer": "Loss of funds",
64+
"correct": true
65+
},
66+
{
67+
"answer": "Security vulnerabilities",
4068
"correct": true
4169
},
4270
{
43-
"answer": "Making breakfast"
71+
"answer": "Lengthy deployment process"
4472
},
4573
{
46-
"answer": "Sending untraceable transactions"
74+
"answer": "Inefficient gas usage"
4775
}
4876
]
4977
}

0 commit comments

Comments
 (0)