Blockchain certification · Exam CBDE

CBDE Mock Exam Page 3

BTA Certified Blockchain Developer - Ethereum

Free CBDE mock exam questions 21–30, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free CBDE questions

21–30 of 30 free
Question 21 Choose 1
You need to use ____________ to get the address that initiated the transaction.
Show answerHide answer

Correct answer: A Tx.origin

Question 22 Choose 1
To compare a String in Solidity you use:
Show answerHide answer

Correct answer: C you can't directly compare two strings, but one method would be to hash both strings and compare the hashes.

Question 23 Choose 1
Smart Contracts:
Show answerHide answer

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

Question 24 Choose 1
View and Pure Functions:
Show answerHide answer

Correct answer: B can be accessed during transactions and calls.

Question 25 Choose 1
What's the correct scientific notation?
Show answerHide answer

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

Question 26 Choose 1
If we divide two integers: 5/2, the result is:
Show answerHide answer

Correct answer: A 2, because the decimal is truncated.

Question 27 Choose 1
Variables of the type address store:
Show answerHide answer

Correct answer: A a 20 bytes value

Question 28 Choose 1
Truffle has an integrated in-memory blockchain which makes unit-testing very easy:
Show answerHide answer

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

Question 29 Choose 1
Consensus is reached:
Show answerHide answer

Correct answer: B by every single node in the blockchain network executing the same transaction.

Question 30 Choose 1
You interact with a smart contract and see a gas usage of 50,000 gas with a gas cost of 15Gwei. How much Ether would you have to pay to the miner?
Show answerHide answer

Correct answer: A 750,000,000,000,000 Wei

That's the last free question

You've seen the free 30% (30 of 101 questions). Full access unlocks every question and full-length CBDE mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the CBDE exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real CBDE exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full CBDE mock exam
  • 65questions per mock
  • 105 mintime limit
  • 101questions in the bank
  • Newmock on every attempt