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

EC-CouncilBlockchain Developer Certification

Domain 5Objective 2

Ethereum Virtual Machine BDC Practice Questions (Page 8)

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

43questions here
9free pages
7concepts

Questions 36–40

  1. 36application · medium

    A developer is designing a contract that needs to generate random numbers. They plan to use the block timestamp and the contract's address as sources of entropy. What is the main risk of this approach?

    Select an answer first
  2. 37application · medium

    A developer is comparing two implementations of a function. Implementation A uses a loop to sum an array of 100 elements. Implementation B uses a single arithmetic expression that computes the sum in constant time. Which implementation is likely to have lower gas costs?

    Select an answer first
  3. 38expert · hard

    A smart contract function is designed to update a user's balance and then call an external contract. The external contract's function is known to sometimes revert. The developer wants to ensure that if the external call reverts, the user's balance is not updated. Which pattern should be used?

    Select an answer first
  4. 39foundation · easy

    Which opcode is used to add two 256-bit integers from the stack?

    Select an answer first
  5. 40foundation · easy

    What is a direct consequence of the EVM being isolated from the outside world?

    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.