Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilBlockchain Developer Certification

Domain 5Objective 2

Ethereum Virtual Machine BDC Practice Questions (Page 3)

Part of the Ethereum and Smart Contract Development domain, which makes up ~11% of our current practice bank.

43questions here
9free pages
7concepts

Questions 11–15

  1. 11expert · hard

    A smart contract has a function that calls an external contract. The external contract's function is expected to revert under certain conditions. The developer wants to catch the revert and continue execution, but also wants to avoid consuming all the gas in the sub-call. Which approach should be used?

    Select an answer first
  2. 12expert · hard

    A team is designing a smart contract that must be deterministic across all nodes. They are considering using a random number generator that relies on the block timestamp. What is the main risk of this approach?

    Select an answer first
  3. 13expert · hard

    A developer is writing an inline assembly routine that needs to copy a 32-byte value from storage to memory. The developer wants to avoid using the stack for the intermediate value. Which opcodes should be used?

    Select an answer first
  4. 14expert · hard

    A developer is explaining to a colleague why the EVM is considered deterministic. Which statement best explains this property?

    Select an answer first
  5. 15application · medium

    A developer is writing a low-level assembly routine to copy a 32-byte value from calldata to memory. Which sequence of EVM opcodes accomplishes this?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “BDC” is a trademark of its owner, used for identification only.