Q1. If you are starting a new ERC20 token:
A.it would be best to start from scratch, just looking at the required interface.
B. it is beneficial to copy and paste the already existing code from the Ethereum wiki and modify this until you like it.
C. best is to start with an audited implementation, for example from OpenZeppelin, in order to reuse already existing code.
Correct Answer: C
Q2. Why is Unit-Testing so important?
A.It helps you to find bugs, regression bugs and sometimes also helps you to understand your code from different angles.
B. It is a great way to spend time on something that you get paid for. But ultimately it will just slow down the development process.
Correct Answer: A
Q3. If you are starting a new ERC20 token:
A.it would be best to start from scratch, just looking at the required interface.
B. it is beneficial to copy and paste the already existing code from the Ethereum wiki and modify this until you like it.
C. best is to start with an audited implementation, for example from OpenZeppelin, in order to reuse already existing code.
Correct Answer: C
Q4. What is the difference between ERC20 and ERC721 Tokens in simple terms?
A.The tokens of a certain ERC20 symbol are all the same, the tokens of an ERC721 symbol are all different. So, ERC20 tokens are fungible, while ERC721 tokens are non-fungible.
B. The tokens of a certain ERC20 symbol are all different, the tokens of an ERC721 symbol are all the same. So, ERC20 tokens are non-fungible while ERC721 tokens are fungible.
Correct Answer: A
Q5. To generate a random number:
A.it's good to use the block timestamp, as this is always different.
B. it's good to use the block hash as this is clearly always very different.
C. it's good to use the RANDAO smart contract.
D. it's not possible to have a random number in a deterministic environment such as the Ethereum blockchain.
Correct Answer: C
$ 39
Reviews
There are no reviews yet.