JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Lecture 3: Understanding and Breaking Smart Contracts
Sign in to Google
to save your progress.
Learn more
* Indicates required question
What is a smart contract?
*
1 point
Your answer
Name and explain two type of accounts on Ethereum
*
4 points
Your answer
Name and explain three types of transactions in Ethereum
*
6 points
Your answer
What is gas?
*
1 point
Gas is a standard metric for measuring only the storage of a transaction.
Gas is a standard metric to associate the approximate cost of an operation cost in the EVM in terms of storage and execution.
Gas is a standard metric for measuring only the computation of a transaction.
What is a fee market?
*
1 point
Your answer
At a high level, what is the compilation process for Solidity before it is deployed to the network?
*
1 point
Your answer
Breaking smart contracts
What is a front-running attack for a smart contract and how can a user perform it without collaborating with a miner? Please explain it with an example.
*
6 points
Your answer
What is the checks-effects-interaction paradigm? Please provide an example.
*
3 points
Your answer
Why is a contract-in-the-middle attack possible if tx.origin is used instead of msg.sender?
*
4 points
Your answer
What is an out-of-gas exception and how can it be used to lock up coins?
*
4 points
Your answer
Figure 1 outlines a contract that is vulnerable. How can a malice contract use selfdestruct to attack it
4 points
Your answer
At a high level, how does a re-entrancy attack work? And how can we prevent it?
*
6 points
Your answer
Advanced Contracts
What is an oracle smart contract? And why do we need it?
*
4 points
Your answer
What is a smart contract factory? And why is it useful to let another smart contract verify the code deployed?
*
4 points
Your answer
Name and explain three permission systems that can be built into smart contracts.
*
6 points
Your answer
What does SafeTransfer in ERC271 do?
*
1 point
It checks additional information about the sender before transferring the NFT.
It checks the receiver is a smart contract that is capable of transferring the NFT.
It checks the receiver is NOT a smart contract account. It is an externally owned account.
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. -
Terms of Service
-
Privacy Policy
Does this form look suspicious?
Report
Forms
Help and feedback
Contact form owner
Help Forms improve
Report