Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Blockchain CBDE - BTA Certified Blockchain Developer - Ethereum

Page: 2 / 3
Total 102 questions

Unit-Testing on a local chain is important, because it helps you:

A.

to run tests quickly and especially for free, compared to continuous deployment on the MainNetwork. This way you save a lot of fees, time and costs.

B.

to run tests in an environment where logging is activated. On the Main-Net you have no access to transaction logs and this is ultimately the information you need to debug your contracts.

C.

to avoid regression bugs with contracts that are updated constantly on the main-net. Once you update a contract on the main-net, the address stays the same, but the code changes and this can have disastrous side-effects.

The Fallback function:

A.

cannot receive Ether, not even by adding the payable modifier.

B.

can contain as much logic as you want, but it’s better to keep it short and not exceed the gas stipend of 2300 gas.

C.

can be used to avoid receiving ether.

A Struct is a great way:

A.

to define a new datatype in Solidity, so you don't need to use objects of another contract.

B.

to hold instances of other contracts.

C.

to implement pointers to other contracts that can hold new datatypes.

All low-level functions on the address, so address.send(), address.call.valueQQ, address.callcode and address.delegatecall:

A.

are interrupting execution on error, because they throw an exception.

B.

continuing execution on error silently, which is the reason why they are so dangerous.

C.

returning Booleans to indicate an error during execution.

D.

.send() throws an exception, while the other functions are returning Booleans during execution to indicate an error.

Address.send():

A.

will cascade exceptions and address.transfer() will return a false on error.

B.

will return false on error while address.transfer() will cascade transactions.

To communicate with an Ethereum node via JavaScript:

A.

the library you use must make use of the JSON-RPC Interface of an Ethereum Node.

B.

must Implement the Ethereum Protocol to connect to other Ethereum Nodes.

C.

must use Web3.js, which is closed source to communicate to other Ethereum Nodes.

Truffle boxes are a great way:

A.

to contribute to the box community which is the distributed file system for truffle.

B.

to start with a pre-configured environment for most web-development needs.

C.

to use tools that makes boxing of Dapps for different platforms very easy.

What's the correct scientific notation?

A.

1 Ether = 10^18 wei, 10^9 Gwei, 10^3 Finney

B.

1 Ether = 10^19 wei, 10^13 Gwei, 10^3 Finney

C.

1 Ether = 10^16 wei, 10^13 Gwei, 10^3 Finney

D.

1 Ether = 10^18 wei, 10^6 Gwei, 10^6 Finney

EVM assembly:

A.

is much better than Solidity and a viable alternative.

B.

can be split across multiple files, but every contract must be in a file with the same name as the contract itself.

C.

is another language similar to LLL, more secure than Solidity.

To avoid issues during Ethereum platform upgrades:

A.

it's good to inform users about the updates via a newsletter.

B.

it's good to have the ability to pause a contract in order to manage the money at risk.

C.

Ethereum doesn't upgrade the platform. It's fixed and final.