Skip to content

Commit 41a92e9

Browse files
authored
Merge pull request #201 from Developer-DAO/mini-quizzes-lesson-2
Add lesson 2 final quiz, mini-quizzes + clean up
2 parents e393ebd + e5c943e commit 41a92e9

File tree

42 files changed

+1174
-167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1174
-167
lines changed

pages/lessons/projects/2.mdx

Lines changed: 257 additions & 150 deletions
Large diffs are not rendered by default.

public/assets/lessons/2/img_21

Whitespace-only changes.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"question": "Choose what NFTs can do? Multiple answers possible.",
3+
"options": [
4+
{
5+
"answer": "Give access to a DAO",
6+
"correct": true
7+
},
8+
{
9+
"answer": "Do the dishes"
10+
},
11+
{
12+
"answer": "Represent a concert ticket",
13+
"correct": true
14+
},
15+
{
16+
"answer": "Point to storage of an album",
17+
"correct": true
18+
},
19+
{
20+
"answer": "Replicate one NFT with another"
21+
}
22+
]
23+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "What is Hardhat? ",
3+
"options": [
4+
{
5+
"answer": "A set of tools that includes a local mini blockchain that can run on your machine",
6+
"correct": true
7+
},
8+
{
9+
"answer": "A code editor in the browser "
10+
},
11+
{
12+
"answer": "A security patch for most Linux operating systems"
13+
},
14+
{
15+
"answer": "Safety apparel for space travel "
16+
}
17+
]
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "In Solidity, what does the ^ symbol represent when specifying the compiler version?",
3+
"options": [
4+
{
5+
"answer": "It denotes an exclusive compiler version"
6+
},
7+
{
8+
"answer": "It indicates a fallback function"
9+
},
10+
{
11+
"answer": "It signifies a dangerous computation"
12+
},
13+
{
14+
"answer": " It specifies a compatible range of compiler versions",
15+
"correct": true
16+
}
17+
]
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "Which address does the msg.sender variable represent in Solidity?",
3+
"options": [
4+
{
5+
"answer": "The contract owner"
6+
},
7+
{
8+
"answer": "The Ethereum smart contract"
9+
},
10+
{
11+
"answer": "The Ethereum network"
12+
},
13+
{
14+
"answer": "The caller of the current function",
15+
"correct": true
16+
}
17+
]
18+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"question": "What is npm? ",
3+
"options": [
4+
{
5+
"answer": "A Node.js module that provides a blockchain for running smart contracts"
6+
},
7+
{
8+
"answer": "A package manager from Node.js ",
9+
"correct": true
10+
},
11+
{
12+
"answer": "A framework for building web applications "
13+
}
14+
]
15+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"question": "Which of the following steps are included in building a basic NFT smart contract?",
3+
"options": [
4+
{
5+
"answer": "Install dependencies."
6+
},
7+
{
8+
"answer": "Create a project."
9+
},
10+
{
11+
"answer": "Create a smart contract using a code editor."
12+
},
13+
{
14+
"answer": "All of the above",
15+
"correct": true
16+
}
17+
]
18+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"question": "What is the --save-dev flag for when installing dependencies with npm? ",
3+
"options": [
4+
{
5+
"answer": "It specifies the version of the dependency to install."
6+
},
7+
{
8+
"answer": "It tells npm to save the dependencies in a development environment.",
9+
"correct": true
10+
},
11+
{
12+
"answer": "It tells npm to save the dependencies in a production environment"
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 benefit of using Open Zeppelin contracts in smart contract development?",
3+
"options": [
4+
{
5+
"answer": "They reduce the amount of code we write"
6+
},
7+
{
8+
"answer": "They provide rigorously audited and safe contracts"
9+
},
10+
{
11+
"answer": "They allow for easier human collaboration and technical interoperability"
12+
},
13+
{
14+
"answer": "All of the above",
15+
"correct": true
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)