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

EC-CouncilBlockchain Developer Certification

Domain 5Objective 2

Ethereum Virtual Machine BDC Practice Questions (Page 1)

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

43questions here
9free pages
7concepts

Questions 1–5

  1. 1application · medium

    A developer is explaining the EVM to a colleague. They state that the EVM is a stack-based machine. What does this mean for smart contract execution?

    Select an answer first
  2. 2expert · hard

    A developer is deploying a contract that has a constructor which performs a complex initialization. The deployment transaction is sent with a gas limit that is exactly the amount needed for the constructor. After the constructor completes, the contract's runtime code is stored. What happens to the gas that was used to execute the constructor?

    Select an answer first
  3. 3application · medium

    A developer is deploying a new smart contract to the Ethereum mainnet. The contract's constructor performs several storage writes. The deployment transaction runs out of gas and reverts. What is the state of the contract after this failed deployment?

    Select an answer first
  4. 4application · medium

    A developer is writing a low-level assembly routine in Solidity using inline assembly. The routine needs to copy a 32-byte value from a specific memory location to the top of the stack. Which sequence of opcodes should be used?

    Select an answer first
  5. 5application · medium

    A smart contract function transfers tokens to a recipient and then updates a balance mapping. The function is called by a user. If the transfer fails due to insufficient balance, what is the state of the contract after the transaction?

    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.