
EC-CouncilBlockchain Developer Certification
Domain 5Objective 4
Solidity Concepts for Contract Development BDC Practice Questions (Page 5)
Part of the Ethereum and Smart Contract Development domain, which makes up ~11% of our current practice bank.
30questions here
6free pages
10concepts
Questions 21–25
- 21
A supply-chain contract records the transfer of goods between parties. The front-end application needs to display a history of all transfers for a specific product ID. Which approach is most efficient for the front-end to retrieve this data?
Select an answer first - 22
Which state mutability modifier indicates that a function does not read or modify the contract's state?
Select an answer first - 23
A developer is auditing a contract that allows users to withdraw their balances. The contract uses a mapping to store balances and a function that sends Ether via call. The developer notices that the balance is updated after the call. What is the most likely vulnerability, and what is the best fix?
Select an answer first - 24
Which keyword is used to declare an event in Solidity?
Select an answer first - 25
A developer is creating a contract that tracks the status of an order. The status can be Pending, Shipped, Delivered, or Canceled. Which Solidity type should be used to represent the status?
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.