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

BTA Certified Blockchain Developer - Ethereum Question and Answers

BTA Certified Blockchain Developer - Ethereum

Last Update Apr 28, 2024
Total Questions : 102

We are offering FREE CBDE Blockchain exam questions. All you do is to just go and sign up. Give your details, prepare CBDE free exam questions and then go for complete pool of BTA Certified Blockchain Developer - Ethereum test questions that will help you more.

CBDE pdf

CBDE PDF

$35  $99.99
CBDE Engine

CBDE Testing Engine

$42  $119.99
CBDE PDF + Engine

CBDE PDF + Testing Engine

$56  $159.99
Questions 1

Smart Contracts:

Options:

A.  

are always living on the same address, because the blockchain is deterministic. So, one account can always have one smart contract.

B.  

are having the same address as the EOA.

C.  

are sitting on their own address. The Address is created from the nonce and the EOA address and could be known in advance before deploying the smart contract.

D.  

the address of the smart contract is a random address which gets generated by the miner who mines the contract-creation transaction.

Discussion 0
Questions 2

Truffle has an integrated in-memory blockchain which makes unit-testing very easy:

Options:

A.  

True, but it's still good to use Ganache, or even a real private network for testing.

B.  

False, it's necessary to use Ganache or even a real private network for testing.

Discussion 0
Questions 3

Truffle boxes are a great way:

Options:

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.

Discussion 0
Questions 4

Sending one Ether is actually internally translated:

Options:

A.  

to Wei, so it will send the equivalent of 10^18 Wei.

B.  

to Finney, so it will send the equivalent of 10^3 Finney.

C.  

to Szabo, so it will send the equivalent of 10^6 Szabo.

Discussion 0
Questions 5

If you need more fine-grained functionality than solidity offers out of the box:

Options:

A.  

you can incorporate inline-assembly to get better controls.

B.  

you have to import pre-compiled assembly files which are then hard-copied into the bytecode of the compiled solidity file.

C.  

you can use Viper, the experimental assembly like language specifically to offer more flexibility.

Discussion 0
Questions 6

To send ether to a contract without a function call:

Options:

A.  

a fallback function must be declared and it must be made payable. If there is no fallback function or the fallback function is not payable it will throw an exception.

B.  

either a fallback function which is payable exists, or no fallback function at all exists.

C.  

you cannot send ether to a contract without explicitly calling a function. The fallback function can never receive ether.

Discussion 0
Questions 7

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

Options:

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.

Discussion 0
Questions 8

It’s possible to access the blockchain via an Ethereum Node:

Options:

A.  

only via JavaScript because there is the proprietary Web3.js library.

B.  

by any programming language, as long as it adheres to the JSON-RPC standard.

Discussion 0
Questions 9

Why is Unit-Testing so important?

Options:

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.

Discussion 0
Questions 10

Importing from GitHub:

Options:

A.  

works across all compilers and platforms the same way.

B.  

is generally possible, but currently works only in Remix, but doesn't work in Truffle.

Discussion 0
Questions 11

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.

Discussion 0
Questions 12

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.

Discussion 0
Questions 13

If you are starting a new ERC20 token:

Options:

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.

Discussion 0
Questions 14

When using require to check input parameters and it evaluates to false:

Options:

A.  

all gas is consumed

B.  

all remaining gas is returned.

Discussion 0
Questions 15

A Mapping consists of keys and value.

Options:

A.  

the Keys can be anything, but the value can't be another mapping or struct.

B.  

the Value can be anything, but the key cannot be another mapping, struct, integer or Boolean.

C.  

the value can be anything, but the key cannot be another mapping, struct, enum or dynamically sized array.

Discussion 0