Labour Day Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

CBDE Sample Questions Answers

Questions 4

.Require is used:

Options:

A.

to check internal states that should never happen.

B.

to check input arguments from users.

Buy Now
Questions 5

Assert is used:

Options:

A.

to check internal states that should never happen.

B.

to check input arguments from users.

Buy Now
Questions 6

When using assert to check invariants and it evaluates to false:

Options:

A.

all gas is consumed.

B.

all remaining gas is returned.

Buy Now
Questions 7

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

Options:

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.

Buy Now
Questions 8

To communicate with an Ethereum node via JavaScript:

Options:

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.

Buy Now
Questions 9

When a smart contract pays out money:

Options:

A.

it’s good to use a push over a pull method.

B.

it’s good to use a push and a pull method to ensure that participants can get their money no matter the contract state. In addition to and pushing it should contain a withdraw method.

C.

it's good to use only pull and no push method.

Buy Now
Questions 10

PoS:

Options:

A.

would be better, because it can reduce the amount of energy needed for mining.

B.

would be worse, because it would increase the amount of energy needed for mining.

Buy Now
Questions 11

If contract MyContractA is derived from Contract MyContractB, then this would be the right syntax:

Options:

A.

contract MyContractA is MyContractB { … }

B.

contract MyContractA inherit (MyContractB) {…}

C.

contract MyContractA extends MyContractB {…}

D.

contract MyContractB derives MyContractA {…}

Buy Now
Questions 12

Events:

Options:

A.

are stored on chain and are a great way to get a return value when a contract calls another contract.

B.

are stored in something like a side-chain and cannot be accessed by contracts.

C.

are used primarily for debugging exceptions in solidity.

Buy Now
Questions 13

When considering smart contracts and the blockchain it's good:

Options:

A.

to move all existing logic to the blockchain, so everything runs on the same system. This way it might be more complex, but easier to maintain.

B.

to move only those parts to the blockchain that really need the blockchain. This way smart contracts can be easier to read, easier to test and are not so complex.

C.

to move those parts to the blockchain that deal with Ether transfers. All other parts can remain in traditional database systems. This way only the value-transfer is on the blockchain.

Buy Now
Questions 14

Using truffle-contract over Web3.js:

Options:

A.

is a must for every developer, because Web3.js changes so often.

B.

is a convenient way because Web3.js is currently still in beta and truffle-contract can handle transactions with JavaScript-promises.

C.

they are both completely different things. Truffle-Contract is a framework while Web3.js is a library.

Buy Now
Questions 15

It's easy to write clean-room unit-tests with truffle:

Options:

A.

for Java, JavaScript, and C++

B.

for JavaScript using Web3.js

C.

for Solidity and JavaScript

D.

for any language, as long as it adheres to the open Testing-Interface from Truffle

Buy Now
Exam Code: CBDE
Exam Name: BTA Certified Blockchain Developer - Ethereum
Last Update: May 2, 2024
Questions: 102
$64  $159.99
$48  $119.99
$40  $99.99
buy now CBDE