Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free Blockchain BTA Certified Blockchain Developer - Ethereum CBDE Exam Questions

Page: 1 / 11 Total 102 questions

Want more questions? Get Premium Access.

Question 1

If a User calls contract A and that calls Contract B, then msg.sender in Contract B will contain the address of:

Correct Answer: B. contract A.

Question 2

When a smart contract pays out money:

Correct Answer: 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.

Question 3

Smart Contracts can be written in:

Correct Answer: B. Solidity, Viper, LLL and Serpent, because those are high level languages that are compiled down to bytecode.

Question 4

Single line comments in Solidity are:

Correct Answer: A. working with either // or ///

Question 5

Proof of Work (PoW) vs. Proof of Stake.

Correct Answer: A. PoW is computationally intensive which requires lots of energy. On the other hand, miners earn straightforward a reward for mining a block and incorporating transactions.

Question 6

Solidity files:

Correct Answer: C. can be spread across multiple files. To import all contract from a file you can use 'import 'myfile.sol'. To import Contract MyContract from myfile.sol you use 'import {MyContract as SomeContract} from 'myfile.sol';'.

Question 7

According to the official Style Guide:

Correct Answer: 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.

Question 8

Block Timestamp:

Correct Answer: C. the timestamp can be influenced by a miner to a certain degree but it's always independent from the time-zone.

Question 9

What's the correct scientific notation?

Correct Answer: A. 1 Ether = 10^18 wei, 10^9 Gwei, 10^3 Finney

Question 10

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

Correct Answer: C. returning Booleans to indicate an error during execution.