Bitcoin can process only a limited number of transactions within a given period, creating scalability concerns.
Incorrect! Try again.
7What is the Bitcoin Lightning Network designed to support?
Extended protocols on top of Bitcoin
Easy
A.Automatic mining hardware
B.Printed cryptocurrency notes
C.Centralized account recovery
D.Faster off-chain payments
Correct Answer: Faster off-chain payments
Explanation:
The Lightning Network uses payment channels to support faster and less expensive transactions outside the main chain.
Incorrect! Try again.
8Why are extended protocols built on top of Bitcoin?
Extended protocols on top of Bitcoin
Easy
A.To replace every Bitcoin wallet
B.To remove all cryptographic functions
C.To eliminate network communication
D.To add features or improve scalability
Correct Answer: To add features or improve scalability
Explanation:
Extended protocols add capabilities such as faster payments, asset representation, or additional functionality.
Incorrect! Try again.
9How have many early altcoins been created?
Development of altcoins
Easy
A.By printing new paper currencies
B.By disabling peer-to-peer networking
C.By modifying existing cryptocurrency code
D.By removing transaction verification
Correct Answer: By modifying existing cryptocurrency code
Explanation:
Many altcoins began by modifying open-source cryptocurrency code and changing features such as supply or consensus rules.
Incorrect! Try again.
10Which feature may differ between an altcoin and Bitcoin?
Development of altcoins
Easy
A.Its need for electricity
B.Its use of the internet
C.Its consensus mechanism
D.Its ability to have users
Correct Answer: Its consensus mechanism
Explanation:
Altcoins may use different consensus mechanisms, block intervals, supply rules, or privacy features.
Incorrect! Try again.
11What is an Initial Coin Offering primarily used for?
Initial Coin Offerings (ICOs)
Easy
A.Adjusting proof-of-work difficulty
B.Printing official banknotes
C.Recovering forgotten private keys
D.Raising funds through token sales
Correct Answer: Raising funds through token sales
Explanation:
An ICO is a fundraising method in which a project offers digital tokens to participants.
Incorrect! Try again.
12What do participants commonly receive during an ICO?
Initial Coin Offerings (ICOs)
Easy
A.Mining equipment
B.Digital tokens
C.Paper certificates
D.Bank ownership
Correct Answer: Digital tokens
Explanation:
ICO participants commonly contribute funds and receive digital tokens issued by the project.
Incorrect! Try again.
13Who is widely credited with introducing the term smart contract in the 1990s?
History of smart contracts
Easy
A.Vitalik Buterin
B.Satoshi Nakamoto
C.Hal Finney
D.Nick Szabo
Correct Answer: Nick Szabo
Explanation:
Computer scientist Nick Szabo introduced and developed the concept of smart contracts during the 1990s.
Incorrect! Try again.
14What is a smart contract?
Definition of smart contracts
Easy
A.A password used to access a wallet
B.A program that executes predefined rules
C.A printed agreement without digital code
D.A device used to mine blocks
Correct Answer: A program that executes predefined rules
Explanation:
A smart contract is code that automatically executes specified actions when its conditions are met.
Incorrect! Try again.
15Where does a blockchain smart contract normally execute?
Definition of smart contracts
Easy
A.Only within a central bank
B.Inside a mining device manual
C.Only inside a paper wallet
D.Across the blockchain network
Correct Answer: Across the blockchain network
Explanation:
Blockchain nodes execute and verify smart contract operations according to the network's rules.
Incorrect! Try again.
16What does a Ricardian contract connect?
Ricardian contracts
Easy
A.A mining pool and its hardware
B.A legal agreement and machine-readable data
C.A paper wallet and a printer
D.A password and an email account
Correct Answer: A legal agreement and machine-readable data
Explanation:
A Ricardian contract represents an agreement in a form that can be understood by people and processed by computers.
Incorrect! Try again.
17What is the main purpose of a smart contract template?
Smart contract templates
Easy
A.To replace blockchain consensus
B.To provide reusable contract structures
C.To increase mining hardware speed
D.To generate random private keys
Correct Answer: To provide reusable contract structures
Explanation:
Smart contract templates provide standardized structures that can be reused and customized for common agreements.
Incorrect! Try again.
18What is the role of an oracle in a smart contract system?
Oracles
Easy
A.To manufacture cryptocurrency hardware
B.To replace every network validator
C.To supply external data to contracts
D.To store users' paper money
Correct Answer: To supply external data to contracts
Explanation:
Oracles provide smart contracts with information from outside the blockchain, such as prices or weather data.
Incorrect! Try again.
19How is a smart contract commonly deployed to a blockchain?
Deploying smart contracts
Easy
A.By submitting a blockchain transaction
B.By sending a printed application
C.By restarting every network node
D.By changing a wallet password
Correct Answer: By submitting a blockchain transaction
Explanation:
Deployment commonly involves submitting a transaction containing the contract code to the blockchain network.
Incorrect! Try again.
20What major event followed the 2016 attack on The DAO?
The DAO
Easy
A.Ethereum performed a hard fork
B.Bitcoin adopted proof of stake
C.All ICOs became illegal worldwide
D.Smart contracts were permanently removed
Correct Answer: Ethereum performed a hard fork
Explanation:
After The DAO attack, the Ethereum community performed a hard fork that resulted in Ethereum and Ethereum Classic.
Incorrect! Try again.
21A project issues a digital asset that pays transaction fees on its own independent blockchain. How should this asset generally be classified?
Introducing altcoins
Medium
A.An altcoin native to a separate blockchain
B.A stablecoin backed by Bitcoin reserves
C.A token hosted by an existing blockchain
D.A colored coin recorded through Bitcoin outputs
Correct Answer: An altcoin native to a separate blockchain
Explanation:
An altcoin is typically the native asset of a blockchain other than Bitcoin. A token usually operates through a smart contract on an existing blockchain.
Incorrect! Try again.
22Why does proof of work reduce the effectiveness of a Sybil attack in a permissionless blockchain?
Theoretical foundations
Medium
A.Network addresses are limited by the protocol
B.Every node must reveal a government identity
C.Block producers are appointed by token holders
D.Voting power depends mainly on computational work
Correct Answer: Voting power depends mainly on computational work
Explanation:
Creating many identities does not provide proportional influence because proof-of-work influence depends on contributed computational work rather than the number of identities.
Incorrect! Try again.
23A blockchain expected a mining period to take 14 days, but it took only 7 days. Using , what change should occur?
Difficulty adjustment and retargeting algorithms
Medium
A.The target and difficulty remain unchanged
B.The target and difficulty both double
C.The target doubles and difficulty halves
D.The target halves and difficulty doubles
Correct Answer: The target halves and difficulty doubles
Explanation:
The new target is . A lower target makes mining harder, so difficulty approximately doubles.
Incorrect! Try again.
24During one retargeting period, blocks are produced much more slowly than intended. Which adjustment best restores the desired block interval?
Difficulty adjustment and retargeting algorithms
Medium
A.Increase confirmation requirements for every transaction
B.Decrease the target to increase mining difficulty
C.Increase the target to decrease mining difficulty
D.Reduce block rewards without changing difficulty
Correct Answer: Increase the target to decrease mining difficulty
Explanation:
A higher proof-of-work target is easier for miners to satisfy. This lowers difficulty and tends to make blocks arrive faster.
Incorrect! Try again.
25A supply-chain application needs to preserve large documents while proving that they existed at a certain time. Which design best addresses Bitcoin's storage and scalability limitations?
Bitcoin limitations
Medium
A.Store every document byte in multiple Bitcoin outputs
B.Convert every document into a new mining difficulty target
C.Store documents off-chain and commit their hashes on-chain
D.Increase each transaction fee until all documents fit
Correct Answer: Store documents off-chain and commit their hashes on-chain
Explanation:
Keeping large data off-chain avoids expensive blockchain storage, while an on-chain hash can provide integrity and timestamp evidence.
Incorrect! Try again.
26Two users want to exchange many small Bitcoin payments while placing only opening and closing transactions on the base blockchain. Which protocol is most suitable?
Extended protocols on top of Bitcoin
Medium
A.A proof-of-work retargeting contract
B.A Bitcoin block-size voting system
C.A Lightning Network payment channel
D.A centralized mining reward pool
Correct Answer: A Lightning Network payment channel
Explanation:
Lightning channels allow many off-chain balance updates, with the blockchain mainly used to open the channel and settle its final state.
Incorrect! Try again.
27Developers create an altcoin by forking Bitcoin and distributing coins to existing Bitcoin holders. What feature most directly prevents a transaction signed on one chain from being copied to the other?
Development of altcoins
Medium
A.A larger maximum number of coins
B.Replay protection in transaction signatures
C.A different graphical wallet interface
D.A shorter interval between mined blocks
Correct Answer: Replay protection in transaction signatures
Explanation:
Replay protection makes transactions valid only on their intended chain, preventing a signed transaction from being duplicated across both chains.
Incorrect! Try again.
28An ICO advertises its token as a utility token, but a buyer expects ownership rights and a share of project profits. What should the buyer verify first?
Initial Coin Offerings (ICOs)
Medium
A.The number of miners using specialized hardware
B.The token color shown in the wallet
C.The legal terms and rights attached to the token
D.The average size of unrelated Bitcoin transactions
Correct Answer: The legal terms and rights attached to the token
Explanation:
Calling an asset a utility token does not automatically grant ownership or profit-sharing rights. Those rights depend on the offering terms and applicable law.
Incorrect! Try again.
29An ICO has a soft cap of million and a hard cap of million. If it raises only million by the deadline, what outcome is normally expected when the published rules require the soft cap?
Initial Coin Offerings (ICOs)
Medium
A.The offering fails and contributions are refunded
B.The project creates tokens worth the missing amount
C.The blockchain lowers its mining difficulty permanently
D.The sale automatically continues to the hard cap
Correct Answer: The offering fails and contributions are refunded
Explanation:
A soft cap is the minimum funding threshold. If it is not reached and the rules provide for refunds, the offering is considered unsuccessful.
Incorrect! Try again.
30A researcher compares blockchain programs with vending machines that automatically enforce transaction rules. Whose early work is most closely associated with this smart contract analogy?
History of smart contracts
Medium
A.Hal Finney
B.Satoshi Nakamoto
C.Nick Szabo
D.David Chaum
Correct Answer: Nick Szabo
Explanation:
Nick Szabo introduced the term smart contract in the 1990s and used vending machines as an example of rules enforced through technology.
Incorrect! Try again.
31A contract transfers tokens when an on-chain account balance exceeds a threshold. Why can blockchain validators execute this contract consistently?
Definition of smart contracts
Medium
A.Each validator selects a preferred account balance
B.Each miner rewrites the program before execution
C.The contract's result follows deterministic on-chain inputs
D.The contract relies on private web-server responses
Correct Answer: The contract's result follows deterministic on-chain inputs
Explanation:
Smart contract execution must be deterministic so that validators given the same blockchain state produce the same result.
Incorrect! Try again.
32A digital agreement contains human-readable legal prose, machine-readable fields, and a cryptographic identifier linking both representations. What type of agreement is this?
Ricardian contracts
Medium
A.A Ricardian contract
B.A difficulty retarget
C.A payment channel
D.A mining pool contract
Correct Answer: A Ricardian contract
Explanation:
A Ricardian contract links a legally meaningful human-readable document with machine-processable data through cryptographic identification.
Incorrect! Try again.
33An insurer wants to create many policies with identical logic but different customers, premiums, and coverage limits. Why would a smart contract template be useful?
Smart contract templates
Medium
A.It provides reusable logic with configurable parameters
B.It stores all external events without an oracle
C.It guarantees that every policy has equal pricing
D.It replaces consensus with manual approval
Correct Answer: It provides reusable logic with configurable parameters
Explanation:
Templates standardize tested contract logic while allowing variables such as customer identity, premium, and coverage limit to be customized.
Incorrect! Try again.
34A crop-insurance smart contract must pay farmers when rainfall falls below a specified level. Why is an oracle required?
Oracles
Medium
A.Rainfall determines the blockchain's native block reward
B.Rainfall replaces the contract's programmed payment conditions
C.Rainfall must be converted into a private signing key
D.Rainfall is external data unavailable through blockchain consensus
Correct Answer: Rainfall is external data unavailable through blockchain consensus
Explanation:
A blockchain cannot directly observe real-world rainfall. An oracle supplies the external data needed by the contract.
Incorrect! Try again.
35A lending contract uses the median price reported by seven independent oracles instead of trusting one provider. What risk is this design primarily intended to reduce?
Oracles
Medium
A.Unexpected increases in the maximum token supply
B.Manipulation or failure of a single data source
C.Permanent loss of every user's private key
D.Changes to the blockchain's block reward schedule
Correct Answer: Manipulation or failure of a single data source
Explanation:
Aggregating independent reports reduces dependence on one oracle. A median can limit the effect of a small number of faulty or malicious values.
Incorrect! Try again.
36A deployment transaction runs out of gas while creating an Ethereum smart contract. What is the expected result?
Deploying smart contracts
Medium
A.The deployment reverts and the supplied gas is consumed
B.The contract is deployed after the next difficulty adjustment
C.The deployment pauses until another user adds gas
D.The contract is deployed with incomplete bytecode
Correct Answer: The deployment reverts and the supplied gas is consumed
Explanation:
An out-of-gas exception reverts the state changes, so no contract is deployed. The gas used by the failed transaction is not refunded.
Incorrect! Try again.
37A team expects to replace contract logic after deployment while preserving user balances at a stable address. Which architecture best supports this requirement?
Deploying smart contracts
Medium
A.A payment channel that changes the contract address
C.A fixed contract with no external call capability
D.A proxy contract delegating calls to upgradeable logic
Correct Answer: A proxy contract delegating calls to upgradeable logic
Explanation:
A proxy can retain storage and a stable address while delegating execution to a logic contract whose address can be updated.
Incorrect! Try again.
38In The DAO attack, repeated withdrawals were possible before the contract finalized the attacker's balance update. Which vulnerability enabled this behavior?
The DAO
Medium
A.A mining difficulty error
B.A replay-protection rule
C.A reentrancy vulnerability
D.A timestamp overflow
Correct Answer: A reentrancy vulnerability
Explanation:
The contract sent funds through an external call before completing its internal state update, allowing the attacker to re-enter the withdrawal function repeatedly.
Incorrect! Try again.
39What was a major blockchain governance consequence of The DAO incident in 2016?
The DAO
Medium
A.Ethereum forked while Ethereum Classic kept the original history
B.Bitcoin adopted Ethereum's account-based transaction model
C.Ethereum ended support for all smart contracts
D.All affected transactions expired through difficulty retargeting
Correct Answer: Ethereum forked while Ethereum Classic kept the original history
Explanation:
A hard fork returned funds affected by The DAO attack. Nodes that preserved the unforked history continued as Ethereum Classic.
Incorrect! Try again.
40A protocol represents ownership of an external asset by attaching an agreed meaning to particular Bitcoin transaction outputs. What happens if the underlying output is invalidated by a Bitcoin reorganization?
Extended protocols on top of Bitcoin
Medium
A.The asset forces Bitcoin to reject the reorganization
B.The asset automatically moves to an unrelated output
C.The asset becomes independent of Bitcoin consensus
D.The asset record may also be reversed by the protocol
Correct Answer: The asset record may also be reversed by the protocol
Explanation:
An overlay protocol based on Bitcoin outputs inherits the base chain's ordering and reorganization risks. If the underlying transaction is reversed, the interpreted asset transfer may also be reversed.
Incorrect! Try again.
41A project copies Bitcoin's source code, changes its consensus parameters, creates a new genesis block, and starts with an empty ledger. Which classification is most precise?
Introducing altcoins
Hard
A.A Bitcoin overlay token secured by Bitcoin miners
B.A sidechain whose assets are pegged to bitcoin
C.A Bitcoin ledger fork with inherited UTXO ownership
D.An independent altcoin with its own native blockchain
Correct Answer: An independent altcoin with its own native blockchain
Explanation:
A new genesis block and independent ledger make it an altcoin. Copying code does not create a ledger fork, token, or sidechain.
Incorrect! Try again.
42In a simplified proof-of-work model, an attacker controls fraction of the hash rate and honest miners control . If the attacker is six blocks behind, what is the probability that the attacker will ever catch up, assuming independent block discoveries and ?
Theoretical foundations
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
For a biased random walk with , the eventual catch-up probability from a deficit of blocks is . Thus it is .
Incorrect! Try again.
43A Bitcoin-like chain targets 2016 blocks in 14 days. A period finishes in 10 days, and the retarget is not limited by a clamp. Immediately afterward, hash rate doubles relative to the period average. What target change and initial expected block interval follow?
Difficulty adjustment and retargeting algorithms
Hard
A.Target becomes as large; interval becomes about 10 minutes
B.Target becomes as large; interval becomes about 5 minutes
C.Target becomes as large; interval becomes about 5 minutes
D.Target becomes as large; interval becomes about 10 minutes
Correct Answer: Target becomes as large; interval becomes about 5 minutes
Explanation:
The new target is , raising difficulty by . That restores a 10-minute interval at the old period-average hash rate; doubling that rate reduces it to about 5 minutes.
Incorrect! Try again.
44An altcoin retargets after every block using only the previous block's reported timestamp and the desired interval, with no averaging or median filter. What is the most important resulting weakness?
Difficulty adjustment and retargeting algorithms
Hard
A.Transaction malleability can permanently disable future difficulty changes
B.Address reuse can cause the target to exceed the supply cap
C.Timestamp manipulation can cause unstable or systematically reduced difficulty
D.Merkle-root collisions can make competing chains equally difficult
Correct Answer: Timestamp manipulation can cause unstable or systematically reduced difficulty
Explanation:
A one-sample controller is highly sensitive to timestamp noise and manipulation. Miners may exaggerate intervals to increase the target, while ordinary variance can cause severe difficulty oscillations.
Incorrect! Try again.
45A developer models a global counter as one Bitcoin UTXO. Every increment transaction spends that UTXO and creates a replacement containing the new counter value. What limitation appears when many users increment concurrently?
Bitcoin limitations
Hard
A.Updates remain parallel because each transaction derives a fresh input
B.Updates must serialize because competing increments spend the same UTXO
C.Updates fail because Bitcoin outputs cannot carry any application data
D.Updates finalize immediately because the counter has only one owner
Correct Answer: Updates must serialize because competing increments spend the same UTXO
Explanation:
Each valid state transition must consume the current state UTXO. Concurrent transitions therefore conflict, forcing serialization or a more sophisticated partitioned state design.
Incorrect! Try again.
46An overlay protocol interprets selected satoshis as representing external assets, but ordinary Bitcoin nodes do not understand that interpretation. Which statement correctly describes its security boundary?
Extended protocols on top of Bitcoin
Hard
A.Bitcoin enforces transaction validity, while overlay clients enforce asset semantics
B.The overlay inherits semantic enforcement merely by embedding data in transactions
C.Overlay clients can invalidate Bitcoin blocks without changing Bitcoin consensus
D.Bitcoin miners automatically reject every violation of the overlay's ownership rules
Bitcoin consensus secures ordering and ordinary transaction validity. Rules concerning the external asset exist only at the overlay layer unless Bitcoin's consensus rules explicitly enforce them.
Incorrect! Try again.
47Two chains split while sharing the same transaction format, signature algorithm, and pre-split UTXO set. Changing only network magic bytes and address prefixes does not stop transaction replay. Which modification directly provides robust replay protection?
Development of altcoins
Hard
A.Use a different peer-to-peer port for transaction propagation
B.Include a chain-specific domain value in the signature digest
C.Display a different address prefix in wallet interfaces
D.Increase the maximum block size on one chain
Correct Answer: Include a chain-specific domain value in the signature digest
Explanation:
Network identifiers and address displays do not alter an already signed transaction. Domain-separating the signature digest makes a signature valid for only one chain.
Incorrect! Try again.
48An altcoin node calculates each block reward using the node's local wall-clock time rather than block height or consensus-constrained header data. What is the best redesign?
Development of altcoins
Hard
A.Recalculate prior rewards whenever a node restarts
B.Derive rewards solely from deterministic consensus-visible inputs
C.Average the local clocks of all currently connected peers
D.Let miners publish the reward through an unsigned transaction
Correct Answer: Derive rewards solely from deterministic consensus-visible inputs
Explanation:
Consensus-critical computations must produce identical results on every honest node. Local clocks and peer sets differ, so rewards should depend only on deterministic blockchain data.
Incorrect! Try again.
49An ICO distributes 1000 tokens proportionally to credited contributions. Alice contributes 4 ETH during a 25% bonus period, while Bob contributes 6 ETH without a bonus. Ignoring rounding, what allocation is correct?
Initial Coin Offerings (ICOs)
Hard
A.Alice receives tokens; Bob receives
B.Alice receives tokens; Bob receives
C.Alice receives tokens; Bob receives
D.Alice receives tokens; Bob receives
Correct Answer: Alice receives tokens; Bob receives
Explanation:
Alice's credited contribution is ETH-equivalent, giving a total weight of . Their respective shares are therefore and .
Incorrect! Try again.
50A commit-reveal token sale is intended to prevent observers from copying bids and replaying commitments into another sale. Which commitment construction best addresses both threats?
Initial Coin Offerings (ICOs)
Hard
A.Hash the nonce and publish the contribution amount immediately
B.Hash the bidder's public address and advertised token symbol
C.Hash the amount and current public block timestamp only
D.Hash the bidder, amount, nonce, chain identifier, and sale address
Correct Answer: Hash the bidder, amount, nonce, chain identifier, and sale address
Explanation:
The nonce hides predictable values, the bidder binds ownership, and the chain and sale identifiers provide domain separation against cross-chain or cross-contract replay.
Incorrect! Try again.
51Which chronology correctly orders major developments relevant to smart contracts?
History of smart contracts
Hard
A.Ethereum, Bitcoin, Ricardian contracts, Szabo's smart-contract work
Nick Szabo discussed smart contracts in the 1990s; Ian Grigg developed Ricardian contracts later in that decade. Bitcoin launched in 2009 and Ethereum in 2015.
Incorrect! Try again.
52A decentralized smart contract must decide whether a physical shipment arrived, but the blockchain receives no trusted external report. Why can deterministic contract code not resolve the fact by itself?
Definition of smart contracts
Hard
A.Physical events automatically become valid only after finality
B.Deterministic programs cannot compare timestamps or digital signatures
C.Blockchains prohibit contracts from representing binary state variables
D.Consensus can process shared inputs but cannot directly observe external reality
Correct Answer: Consensus can process shared inputs but cannot directly observe external reality
Explanation:
Validators must execute from the same consensus-visible inputs. External facts require an oracle or another accepted evidence mechanism; computation alone cannot establish them.
Incorrect! Try again.
53Parties sign transactions referring to the cryptographic hash of a Ricardian contract. The human-readable legal prose is later changed while the machine-readable parameters remain unchanged. What follows?
Ricardian contracts
Hard
A.The document hash changes, so prior references still identify the old agreement
B.The revised prose becomes binding without a new identifier or assent
C.The prior signatures automatically migrate to the revised legal agreement
D.The document hash remains fixed because only machine parameters are hashed
Correct Answer: The document hash changes, so prior references still identify the old agreement
Explanation:
A Ricardian contract's identifier commits to the document. Altering committed legal prose creates a different hash, so previous signatures or transactions continue to reference the original version.
Incorrect! Try again.
54A financial institution wants reusable smart contract templates that remain analyzable after users choose commercial terms. Which template design best preserves that property?
Smart contract templates
Hard
A.Allow each parameter to contain arbitrary executable bytecode
B.Store every parameter as unrestricted natural-language text
C.Permit users to replace validation logic after signing the instance
D.Restrict parameters to typed values with explicit ranges and invariants
Correct Answer: Restrict parameters to typed values with explicit ranges and invariants
Explanation:
Typed, bounded parameters permit controlled customization while retaining static analysis and predictable behavior. Arbitrary code or unrestricted text defeats those guarantees.
Incorrect! Try again.
55A contract takes the median of seven oracle reports, at most two of which are Byzantine. If every honest report lies in , what is the strongest unconditional guarantee about the selected median?
Oracles
Hard
A.It equals exactly 100 because the Byzantine reports are discarded
B.It is necessarily one of the five values submitted by honest oracles
C.It may lie outside whenever both Byzantine reports collude
D.It lies in , although it need not be an honest report
Correct Answer: It lies in , although it need not be an honest report
Explanation:
Two malicious values cannot move the fourth-order statistic outside the range containing all five honest values. They can, however, submit an in-range value that becomes the median.
Incorrect! Try again.
56Under the EVM's CREATE2 rule, which change necessarily changes the prospective deployment address, assuming the deployer and salt remain fixed?
Deploying smart contracts
Hard
A.Changing only the deployer's current transaction nonce
B.Changing the initialization bytecode supplied to CREATE2
C.Changing only the gas price of the deployment transaction
D.Changing only the block in which deployment is confirmed
Correct Answer: Changing the initialization bytecode supplied to CREATE2
Explanation:
CREATE2 derives the address from the deployer, salt, and hash of the initialization bytecode. Transaction nonce, gas price, and confirmation block are not address inputs.
Incorrect! Try again.
57An upgradeable proxy executes implementation code with delegatecall. Version 2 reorders state variables relative to Version 1. Why can the upgrade corrupt state even when Version 2's standalone tests pass?
Deploying smart contracts
Hard
A.delegatecall uses proxy storage, so slot meanings must remain compatible
B.Proxy upgrades force every existing storage word to become immutable
C.delegatecall copies implementation storage into the proxy after each call
D.Implementation tests automatically reset the proxy's account balance
Correct Answer: delegatecall uses proxy storage, so slot meanings must remain compatible
Explanation:
Delegated code reads and writes the proxy's storage slots. Reordering variables can make new code interpret existing slot values under incompatible types or meanings.
Incorrect! Try again.
58In the vulnerable DAO withdrawal pattern, Ether was sent through an external call before the caller's internal balance was reduced. Which execution sequence enabled repeated withdrawals?
The DAO
Hard
A.The recipient re-entered withdrawal before the original balance update executed
B.The miner reversed the balance update after the withdrawal transaction finalized
C.The oracle repeatedly reported the same withdrawal as unconfirmed
D.The recipient forged a new DAO balance through a hash collision
Correct Answer: The recipient re-entered withdrawal before the original balance update executed
Explanation:
The external call transferred control to attacker code while the old balance was still recorded. Recursive calls therefore passed the same balance check multiple times.
Incorrect! Try again.
59Which statement most accurately describes the 2016 response to The DAO exploit and the resulting Ethereum/Ethereum Classic split?
The DAO
Hard
A.A soft fork changed block rewards, while all nodes retained identical state
B.A wallet patch reversed transfers without changing blockchain consensus
C.A mining-pool vote deleted all blocks preceding the exploit transaction
D.A hard fork changed state handling, while rejecting nodes continued the original rules
Correct Answer: A hard fork changed state handling, while rejecting nodes continued the original rules
Explanation:
The intervention was implemented through a hard fork that moved DAO-related funds. Nodes refusing that rule change continued the original chain, now known as Ethereum Classic.
Incorrect! Try again.
60A signed price report validly produced for one oracle contract is replayed months later into another contract on a different chain. Which design most directly prevents both cross-domain and stale-report acceptance?
Oracles
Hard
A.Sign the oracle address and value; trust block ordering to prevent replay
B.Sign chain, contract, feed, round, value, and timestamp; enforce freshness
C.Sign the token symbol and timestamp; accept every correctly formed signature
D.Sign only the price value; reject transactions with unusually low gas fees
Chain and contract identifiers provide domain separation, while feed and round identifiers prevent semantic reuse. Timestamp or round checks let the receiving contract reject stale reports.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →