Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netbudy65

CBDE BTA Certified Blockchain Developer - Ethereum Questions and Answers

Questions 4

Address.Call vs. Address.Delegatecall:

Options:

A.

Address.call() is used for calling other contracts using the scope of the called contract in terms of storage variables. Address.delegatecall() is used for libraries, which uses the storage variables of the contract who called. Libraries are a great way to re-use already existing code and delegatecall can make sure that no storage is used from the library, instead it looks like the code is directly copied into the calling contract.

B.

Address.delegatecall() is used for calling other contracts using the scope of the called contract in terms of storage variables. Address.call() is used for libraries, which uses the storage variables of the contract who called. Libraries are a great way to re-use already existing code and call() can make sure that no storage is used from the library, instead it looks like the code is directly copied into the calling contract.

Buy Now
Questions 5

Address.call.value():

Options:

A.

sends the gas stipend of 2300 gas and returns a false on error.

B.

sends all the gas along and cascades exceptions.

C.

sends all the gas along and returns a false on error.

D.

sends the gas stipend of 2300 gas and cascades exceptions.

Buy Now
Questions 6

Files can be imported:

Options:

A.

using relative and absolute paths, where the "." And the ".." depict that it's a relative path.

B.

only via GitHub using the Repository and Username.

C.

using the special requirefile(...) statement, which looks in a specific library path to import files.

Buy Now
Questions 7

Ethereum Nodes:

Options:

A.

must implement the Ethereum protocol and external access can only be done via the proprietary Ethereum Libraries like Web3.js.

B.

must implement the Ethereum Protocol and a JSON-RPC to talk with clients.

C.

must implement Web3.js to interact with Websites.

Buy Now
Questions 8

When defining a new datatype:

Options:

A.

its best to use a contract with public storage variables, so it can be used like a class.

B.

it's best to use a struct, which is cheaper than deploying a new contract.

C.

it's not possible to generate new datatypes in Solidity.

Buy Now
Questions 9

Go-Ethereum vs. Ganache:

Options:

A.

both are the same, just implemented in a different language.

B.

with Go-Ethereum you get a real blockchain node where you can create your own local private network, connect to Test-Networks or the Main-Net, while with Ganache you get an in-memory blockchain simulation.

C.

with Ganache you get a real blockchain node where you can connect to the Test-Networks Rinkeby and Ropsten.

Buy Now
Questions 10

Finish the sentence: The Library Web3.js is …:

Options:

A.

useful when developing distributed applications with HTML and JavaScript, because it already implements the abstraction of the JSON-RPC interface of Ethereum Nodes.

B.

necessary when developing distributed applications with HTML and JavaScript, because the proprietary JSON-RPC interface of Ethereum Nodes is a closed source.

Buy Now
Questions 11

When you are programming a game like poker of battleships where you need to hide opponents values is:

Options:

A.

with private state variables. This way nobody else other than the smart contract itself can see the information

B.

with external contracts holding those values. This way we can make sure that the information flow is following a clear logic and nobody else can access this information.

C.

You can't hide anything on the blockchain, because the information is public, just the call is private which means only other smart contracts would be limited in accessing that information.

Buy Now
Questions 12

.Require is used:

Options:

A.

to check internal states that should never happen.

B.

to check input arguments from users.

Buy Now
Questions 13

According to the official Style Guide:

Options:

A.

you should capitalize function names, events and contract names, to avoid confusion with JavaScript. You should use Tabs to indentation and a maximum of 80 characters per line.

B.

contract names should be capitalized, while functions should be mixedCase. You should use 4 spaces as indentation and a maximum of 79 (or 99) characters per line.

C.

contract should be mixedCase, as well as function names. Events should be capitalized. 2 spaces should be used as indentation and a maximum of 120 characters per line.

Buy Now
Questions 14

Variables of the type address store:

Options:

A.

a 20 bytes value

B.

a 32 bytes value

C.

a string

D.

a 20 characters long hex number

Buy Now
Questions 15

Address.send():

Options:

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.

Buy Now
Exam Code: CBDE
Exam Name: BTA Certified Blockchain Developer - Ethereum
Last Update: May 1, 2024
Questions: 102

PDF + Testing Engine

$130

Testing Engine

$95

PDF (Q&A)

$80