Skip to content

Commit e393ebd

Browse files
authored
Merge pull request #197 from Developer-DAO/quiz-lesson-1
Lesson 1 Quiz and Checkpoints
2 parents 7bd1c80 + 92cdc48 commit e393ebd

20 files changed

+620
-134
lines changed

data/contributors.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,24 @@ export const contributors: ContributorLookup = {
2323
},
2424
piablo: {
2525
displayName: 'piablo',
26+
moreInfoUrl: 'https://twitter.com/Skruffster',
27+
avatarUrl: 'https://avatars.githubusercontent.com/u/40469149?v=4',
28+
about:
29+
'Piablo joined Developer_DAO in October 2021 where his primary focus is on education, with D_D Academy and D_D Mentorship. He is passionate about regenerating our planet back to a liveable state for all life forms in a fully equitable and sustainable manner.',
2630
},
2731
georgemac510: {
2832
displayName: 'georgemac510',
2933
},
34+
wolovim: {
35+
displayName: 'wolovim',
36+
},
37+
_7i7o: {
38+
displayName: '7i7o',
39+
moreInfoUrl: 'https://github.com/7i7o',
40+
avatarUrl: 'https://avatars.githubusercontent.com/u/84824996?v=4',
41+
about: '7i7o has been a member of the DeveloperDAO since October 2021.',
42+
},
43+
mveve: {
44+
displayName: 'mveve',
45+
},
3046
}

pages/lessons/projects/1.mdx

Lines changed: 195 additions & 129 deletions
Large diffs are not rendered by default.

public/assets/lessons/1/img_11.png

1.68 MB
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"question": "What is the purpose of an indexed event parameter in Solidity? ",
3+
"options": [
4+
{
5+
"answer": "It ensures the event is recorded in the blockchain."
6+
},
7+
{
8+
"answer": "It stores the event parameters in the data portion of the log."
9+
},
10+
{
11+
"answer": "It enables efficient searching and filtering of logged events.",
12+
"correct": true
13+
}
14+
]
15+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"question": "What is the purpose of defining an event in a Solidity contract?",
3+
"options": [
4+
{
5+
"answer": "It increases the security of your smart contract."
6+
},
7+
{
8+
"answer": "It helps you monitor specific activities that occur on-chain.",
9+
"correct": true
10+
},
11+
{
12+
"answer": "It facilitates communication between smart contracts."
13+
},
14+
{
15+
"answer": "It provides an efficient way to log data without using block space.",
16+
"correct": true
17+
}
18+
]
19+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "What is the purpose of the transaction log in the blockchain?",
3+
"options": [
4+
{
5+
"answer": "To provide access to the blockchain's transaction history."
6+
},
7+
{
8+
"answer": "To record the execution steps of smart contract functions."
9+
},
10+
{
11+
"answer": "To store the event parameters emitted by smart contracts.",
12+
"correct": true
13+
},
14+
{
15+
"answer": "To store the source code of smart contracts."
16+
}
17+
]
18+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"question": "True or False: In order to access information on a public blockchain you need to have permission from the owner.",
3+
"options": [
4+
{
5+
"answer": "True"
6+
},
7+
{
8+
"answer": "False",
9+
"correct": true
10+
}
11+
]
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"question": "Which statement is true?",
3+
"options": [
4+
{
5+
"answer": "It’s important to test your code rigorously, because once deployed it resides on the blockchain forever.",
6+
"correct": true
7+
},
8+
{
9+
"answer": "If you need to make corrections to buggy smart contract code, you can just upload fixes, which will overwrite previous versions seamlessly."
10+
}
11+
]
12+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"question": "Which programming language is commonly used for writing smart contracts on the Ethereum blockchain?",
3+
"options": [
4+
{
5+
"answer": "Python"
6+
},
7+
{
8+
"answer": "Solidity",
9+
"correct": true
10+
},
11+
{
12+
"answer": "Java"
13+
}
14+
]
15+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "What is the key characteristic of a decentralized blockchain network?",
3+
"options": [
4+
{
5+
"answer": "Limited transparency of transactions."
6+
},
7+
{
8+
"answer": "Central authority controlling the network."
9+
},
10+
{
11+
"answer": "Absence of a single controlling entity.",
12+
"correct": true
13+
},
14+
{
15+
"answer": "High collaboration among nodes."
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)