Type your search query and hit enter:
Homepage
Ethereum Developer
Ethereum Developer
Ethereum Developer Test 3
0%
Which eth2 client launched the first testnet that allowed community participation before anyone else?
Teku
Nimbus
Prysym Lighthouse
Correct!
Wrong!
Continue >>
When using the assert command to verify invariants and it returns false
All gas is used up.
The entire gas supply is returned.
All of the statement are false.
Correct!
Wrong!
Continue >>
If you require more precise functionality than what solidity provides by default
Viper, an experimental assembly-like language designed to provide additional flexibility, is an option.
You need to import assembly files that have already been hard-copied into the compiled solidity file's bytecode.
Inline-assembly can be used to improve controls.
Correct!
Wrong!
Continue >>
Use of assert is to...
Examine user input arguments
Check internal conditions that ought to never occur
All of the above
Correct!
Wrong!
Continue >>
Which EIP number applies to the Hybrid Casper FFG proposal?
1110
1010
1000
1011
Correct!
Wrong!
Continue >>
This would be the appropriate syntax if contract MyContractA is derived from contract MyContractB:
contract MyContractB derives MyContractA {...}
contract MyContractA is MyContractB { ... }
contract MyContractA extends MyContractB {...}
contract MyContractA inherit (MyContractB) {...}
Correct!
Wrong!
Continue >>
Without making a function call, you can send ether to a contract by:
There is either no fallback function at all or there is a fallback function that is payable.
A fallback function needs to be declared and paid for. An exception will be thrown if there is no fallback function or if the fallback function is not payable.
You must explicitly invoke a function before sending ether to a contract. It is impossible for the fallback function to get ether.
Correct!
Wrong!
Continue >>
It is impossible to employ inheritance from several sources in Solidity.
True
False
Sometimes
None of the above
Correct!
Wrong!
Continue >>
Metadata is generated when Solidity is compiled.
A migration tool that installs the smart contract on the blockchain creates the ABI array and metadata, not Solidity when it is compiled to bytecode.
The ABI Array, which specifies the interface to communicate with the smart contract, is present in the metadata. The address of the smart contract when it is deployed may also be included in metadata.
The address and size of the smart contract are contained in the metadata. When the smart contract is deployed, an external generator produces the ABI Array.
Correct!
Wrong!
Continue >>
Assert is used to?
To examine user input arguments
Check internal conditions that ought to never occur
To run programs internally
Correct!
Wrong!
Continue >>
Address.send() and address.transfer() differ in that
While .transfer throws an exception on error, .send returns a Boolean. Sending full gas along, as opposed to.transfer, which just transmits the gas stipend of 2300 gas, is what makes send risky.
On error, .transfer returns a Boolean, while .send throws an exception. Both are just forwarding the 2300 gas limit and are regarded as being safe from re-entry.
On error, .transfer throws an exception while .send returns a Boolean. Both are regarded as safe against re-entry because they only forward the gas stipend of 2300 gas.
Because they send all gas along, the low-level functions .send and .transfer are also harmful. Utilizing address.call.value()() is preferable for gas-amount control.
Correct!
Wrong!
Continue >>
Subscribe to updates
Unsubscribe from updates
Related Post
Ethereum Developer Test 6
Ethereum Developer Test 5
Ethereum Developer Test 4