Skip to content

Commit 63d7fb1

Browse files
elPiablowolovim
authored andcommitted
Add second quiz-possibility lesson 1
1 parent 7bd1c80 commit 63d7fb1

File tree

2 files changed

+165
-0
lines changed

2 files changed

+165
-0
lines changed

pages/lessons/projects/1.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,5 +727,7 @@ Can a view function modify the state of the blockchain?
727727

728728
What can we use a smart contract for?
729729

730+
<Quiz quiz="quiz-lesson-1a"/>
731+
730732
**Now, go to the community in Discord to share your new Open Sourcerer
731733
powers**......and find the answers too!!!

utils/quizzes/lesson-1a.json

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
{
2+
"title": "Quiz: Lesson 1",
3+
"questions": [
4+
{
5+
"question": "In order to shut down or take over a blockchain you would have to: ",
6+
"options": [
7+
{
8+
"answer": "Disconnect the master node"
9+
},
10+
{
11+
"answer": "Initiate a 51% attack",
12+
"correct": true
13+
},
14+
{
15+
"answer": "It’s not possible"
16+
}
17+
]
18+
},
19+
{
20+
"question": "A blockchain:",
21+
"options": [
22+
{
23+
"answer": "Runs on a global network of nodes that is accessible to anyone"
24+
},
25+
{
26+
"answer": "Runs on a global network of nodes with permissions needed to access it"
27+
},
28+
{
29+
"answer": "Uses cryptography to secure existing data on the chain"
30+
},
31+
{
32+
"answer": "A & C",
33+
"correct": true
34+
},
35+
{
36+
"answer": "All of the above"
37+
}
38+
]
39+
},
40+
{
41+
"question": "Which are the main attributes of the Ethereum blockchain? ",
42+
"options": [
43+
{
44+
"answer": "Centralized"
45+
},
46+
{
47+
"answer": "Permissionless",
48+
"correct": true
49+
},
50+
{
51+
"answer": "Consensus",
52+
"correct": true
53+
},
54+
{
55+
"answer": "Decentralized",
56+
"correct": true
57+
}
58+
]
59+
},
60+
{
61+
"question": "Ethereum’s upgrade on bitcoin technology allows:",
62+
"options": [
63+
{
64+
"answer": "consensus mechanisms"
65+
},
66+
{
67+
"answer": "Decentralization and transparency"
68+
},
69+
{
70+
"answer": "Logic processing via smart contracts",
71+
"correct": true
72+
}
73+
]
74+
},
75+
{
76+
"question": "A smart contract deployed to the Blockchain:",
77+
"options": [
78+
{
79+
"answer": "Can be edited without redeployment once you have the owner’s credentials"
80+
},
81+
{
82+
"answer": "Includes data, rules, and instructions for user transactions only for that contract"
83+
},
84+
{
85+
"answer": "Contains instructions that can modify previous blocks on the blockchain"
86+
},
87+
{
88+
"answer": "None of the above",
89+
"correct": true
90+
}
91+
]
92+
},
93+
{
94+
"question": "Apart from a user wallet, what else owns a blockchain address?",
95+
"options": [
96+
{
97+
"answer": "A smart contract function"
98+
},
99+
{
100+
"answer": "A smart contract",
101+
"correct": true
102+
},
103+
{
104+
"answer": "A transaction log"
105+
},
106+
{
107+
"answer": "An indexed parameter"
108+
}
109+
]
110+
},
111+
{
112+
"question": "How many parameters can we have in an event?",
113+
"options": [
114+
{
115+
"answer": "A. multiple non-indexed parameters"
116+
},
117+
{
118+
"answer": "B. three indexed named parameters"
119+
},
120+
{
121+
"answer": "C. four indexed anonymous parameters"
122+
},
123+
{
124+
"answer": "only A and B"
125+
},
126+
{
127+
"answer": "only B and C"
128+
},
129+
{
130+
"answer": "A, B and C",
131+
"correct": true
132+
}
133+
]
134+
},
135+
{
136+
"question": "State variables stay permanently on the blockchain",
137+
"options": [
138+
{
139+
"answer": "True",
140+
"correct": true
141+
},
142+
{
143+
"answer": "False"
144+
}
145+
]
146+
},
147+
{
148+
"question": "Which of the following isn’t a 'type'?",
149+
"options": [
150+
{
151+
"answer": "a string"
152+
},
153+
{
154+
"answer": "a function",
155+
"correct": true
156+
},
157+
{
158+
"answer": "a uint"
159+
}
160+
]
161+
}
162+
]
163+
}

0 commit comments

Comments
 (0)