⛓️

Blockchain & Web3 MCQ

Test your Blockchain & Web3 knowledge with 100 multiple choice questions covering fundamentals to advanced concepts, with instant feedback and explanations.

100 Questions 40 Beginner 40 Intermediate 20 Advanced

How This Practice Test Works

Every question below expands right on this page — click a question to reveal its four options, pick the one you think is correct, and you'll get instant feedback along with the correct answer and a short explanation of the reasoning. Questions are grouped by difficulty, so start with the 40 beginner questions to confirm your fundamentals, work through the 40 intermediate ones, and finish with the 20 advanced questions that mirror what exams and technical screenings actually ask. There's no sign-up, no timer, and no limit — retake the test as often as you like.

Curated by Tech Baithak Editorial Team  ·  Last updated: June 2026

1

What is a blockchain, at its core?

A

Correct Answer

A distributed, append-only ledger of records grouped into linked blocks, maintained across many nodes

Explanation

A blockchain is a decentralized, distributed ledger where data is stored in cryptographically linked blocks, replicated across many participants for transparency and tamper resistance.

2

What links each block to the previous block in a blockchain?

A

Correct Answer

A cryptographic hash of the previous block, included in the current block's header

Explanation

Each block contains the hash of the prior block, forming a chain — if any earlier block changes, its hash changes too, breaking the chain and revealing tampering.

3

What does "decentralization" mean in the context of blockchain?

A

Correct Answer

No single party controls the network; control and data are distributed across many independent participants

Explanation

Decentralization removes the need for a central authority, distributing trust and control across many nodes that independently validate transactions.

4

What is a "cryptographic hash function" used for in blockchain?

A

Correct Answer

To convert input data of any size into a fixed-size, unique-looking output that changes drastically if the input changes

Explanation

Hash functions like SHA-256 produce a fixed-length digest from any input; even a tiny change in input produces a completely different hash, useful for verifying integrity.

5

What is the purpose of "mining" in a Proof of Work blockchain like Bitcoin?

A

Correct Answer

Miners compete to solve a computational puzzle to validate transactions and add a new block, earning a reward

Explanation

In Proof of Work, miners expend computational effort to find a valid block hash, securing the network and being rewarded with newly minted coins and fees.

6

What is a "wallet" in the context of cryptocurrency?

A

Correct Answer

Software or hardware that stores private/public key pairs used to sign transactions and access funds on the blockchain

Explanation

A crypto wallet manages cryptographic keys; the funds themselves exist on the blockchain, while the wallet provides the keys needed to prove ownership and authorize transactions.

7

What is the difference between a public key and a private key in blockchain wallets?

A

Correct Answer

The public key can be shared to receive funds; the private key must be kept secret and is used to authorize/sign transactions

Explanation

Public-key cryptography lets users share a public address derived from their public key, while the private key proves ownership and must never be exposed.

8

What is a "smart contract"?

A

Correct Answer

Self-executing code deployed on a blockchain that runs automatically when predefined conditions are met

Explanation

Smart contracts are programs stored on a blockchain that execute automatically and deterministically based on their code and inputs, without intermediaries.

9

What is Ethereum primarily known for, beyond being a cryptocurrency?

A

Correct Answer

It is a programmable blockchain platform that supports smart contracts and decentralized applications (dApps)

Explanation

Ethereum introduced a general-purpose virtual machine (EVM) allowing developers to deploy smart contracts and build decentralized applications on top of the blockchain.

10

What does "decentralized application" (dApp) mean?

A

Correct Answer

An application whose backend logic runs on a blockchain via smart contracts, rather than on centralized servers

Explanation

dApps use smart contracts on a blockchain for core logic and data, often paired with a traditional frontend, reducing reliance on a single centralized backend.

11

What is a "token" in the Web3/blockchain context?

A

Correct Answer

A digital asset created and managed on top of an existing blockchain, often representing currency, access rights, or ownership

Explanation

Tokens are built using standards (like ERC-20 or ERC-721) on existing blockchains, representing things like currencies, voting rights, or unique digital items.

12

What does NFT stand for?

A

Correct Answer

Non-Fungible Token

Explanation

NFT stands for Non-Fungible Token, a unique digital asset on a blockchain that, unlike fungible tokens (e.g., currency), cannot be exchanged 1:1 with another identical unit.

13

What does "fungible" mean when describing a token or asset?

A

Correct Answer

Each unit is interchangeable and identical in value to another unit, like a dollar bill or a Bitcoin

Explanation

Fungible assets are interchangeable — one unit equals another unit of the same value (e.g., one ETH equals any other ETH), unlike unique NFTs.

14

What is a "block explorer"?

A

Correct Answer

A web tool that lets users search and view blocks, transactions, addresses, and other data on a blockchain

Explanation

Block explorers (like Etherscan for Ethereum) provide a searchable interface into blockchain data, allowing anyone to verify transactions and balances publicly.

15

What is "gas" in the context of Ethereum?

A

Correct Answer

A unit measuring the computational work required to execute operations, paid for by users to process transactions

Explanation

Gas measures the computational cost of operations on Ethereum; users pay gas fees (in ETH) to compensate validators for executing transactions and smart contracts.

16

What is the difference between a "mainnet" and a "testnet"?

A

Correct Answer

Mainnet is the live, production blockchain with real value; testnet is a separate network used for testing without real funds

Explanation

Testnets mimic mainnet behavior using worthless test tokens, letting developers test smart contracts and apps safely before deploying to the real mainnet.

17

What is a "seed phrase" (mnemonic phrase) used for in crypto wallets?

A

Correct Answer

A sequence of words that can be used to derive and restore a wallet's private keys

Explanation

A seed phrase encodes the master private key data in human-readable words, allowing a wallet to be backed up and restored on any compatible device.

18

Why is it dangerous to share your wallet's private key or seed phrase?

A

Correct Answer

Anyone who has it can fully control and transfer all funds in that wallet, with no way to reverse the action

Explanation

The private key (or seed phrase that derives it) grants complete control over a wallet's assets — anyone with access can sign transactions and irreversibly drain funds.

19

What is a "consensus mechanism" in a blockchain network?

A

Correct Answer

A set of rules that allow distributed nodes to agree on the valid state of the ledger

Explanation

Consensus mechanisms (like Proof of Work or Proof of Stake) ensure all honest nodes agree on which transactions and blocks are valid, without a central authority.

20

What is "Proof of Stake" (PoS) as a consensus mechanism?

A

Correct Answer

Validators are chosen to create new blocks based on the amount of cryptocurrency they have "staked" (locked up) as collateral

Explanation

In PoS, validators lock up tokens as a stake; they are selected to propose/validate blocks proportional to their stake, and can lose their stake for malicious behavior.

21

What is the main difference between Bitcoin and Ethereum in terms of purpose?

A

Correct Answer

Bitcoin was designed primarily as a peer-to-peer digital currency, while Ethereum was designed as a programmable platform for smart contracts and dApps

Explanation

Bitcoin focuses on being "digital gold" / a payment network with a simple scripting language, while Ethereum's Turing-complete EVM enables general-purpose smart contracts.

22

What does it mean for blockchain transactions to be "immutable"?

A

Correct Answer

Once a transaction is confirmed and added to the blockchain, it cannot be altered or deleted

Explanation

Because each block is cryptographically linked to the previous one and replicated across many nodes, altering a past transaction would require redoing all subsequent blocks across the network.

23

What is a "node" in a blockchain network?

A

Correct Answer

A computer that participates in the network by storing a copy of the blockchain and/or validating transactions

Explanation

Nodes maintain the network by storing blockchain data, relaying transactions, and in many networks, validating new blocks according to the consensus rules.

24

What is a cryptocurrency "exchange"?

A

Correct Answer

A platform where users can buy, sell, or trade cryptocurrencies, often for fiat currency or other tokens

Explanation

Exchanges (centralized like Coinbase, or decentralized like Uniswap) facilitate trading between cryptocurrencies and other assets such as fiat currency.

25

What is the difference between a "centralized exchange" (CEX) and a "decentralized exchange" (DEX)?

A

Correct Answer

A CEX is run by a company that holds custody of user funds; a DEX operates via smart contracts where users typically retain control of their own funds

Explanation

CEXs act as custodians and intermediaries for trades, while DEXs use smart contracts (often with liquidity pools) letting users trade directly from their own wallets.

26

What is "Web3" generally meant to describe?

A

Correct Answer

A vision of the internet built on decentralized technologies like blockchains, where users have more control over their data and digital assets

Explanation

Web3 broadly refers to a decentralized internet paradigm using blockchain, tokens, and smart contracts, contrasted with the centralized platforms of "Web2".

27

What is a "stablecoin"?

A

Correct Answer

A cryptocurrency designed to maintain a stable value, often pegged to a fiat currency like the US dollar

Explanation

Stablecoins like USDC or USDT aim to minimize price volatility, typically by being backed by reserves of fiat currency or other collateral, useful for trading and payments.

28

What is a "hard fork" in blockchain terminology?

A

Correct Answer

A protocol change that is not backward-compatible, requiring all nodes to upgrade or risk creating a separate chain

Explanation

A hard fork introduces incompatible changes; nodes that don't upgrade follow the old rules, potentially splitting the network into two separate chains (e.g., Bitcoin/Bitcoin Cash).

29

What is the role of a "validator" in a Proof of Stake network?

A

Correct Answer

A participant who stakes tokens and is responsible for proposing and validating new blocks

Explanation

Validators in PoS networks lock up stake as collateral and are selected to propose and attest to new blocks, earning rewards for honest behavior and risking penalties for misbehavior.

30

What does it mean for a smart contract to be "deployed"?

A

Correct Answer

Its compiled bytecode is published to the blockchain at a specific address, where it can then be interacted with

Explanation

Deploying a smart contract sends a special transaction that stores its bytecode on the blockchain at a new contract address, after which users can call its functions.

31

What is "DeFi" short for?

A

Correct Answer

Decentralized Finance

Explanation

DeFi refers to financial applications (lending, trading, savings) built on blockchains using smart contracts instead of traditional intermediaries like banks.

32

What is a "liquidity pool" in DeFi?

A

Correct Answer

A smart contract holding reserves of two or more tokens, used to facilitate decentralized trading and earn fees for providers

Explanation

Liquidity pools let users deposit token pairs into a smart contract, enabling automated trading (e.g., via AMMs) while providers earn a share of trading fees.

33

What is "minting" an NFT?

A

Correct Answer

The process of creating a new NFT by recording it on the blockchain for the first time

Explanation

Minting is the process of "creating" a token on-chain by writing its initial record (often via a smart contract function), establishing its existence and ownership.

34

What is a "DAO" (Decentralized Autonomous Organization)?

A

Correct Answer

An organization governed by rules encoded in smart contracts and member voting, typically without centralized management

Explanation

DAOs use smart contracts to encode governance rules, allowing token holders to propose and vote on decisions, theoretically removing the need for centralized leadership.

35

What is "on-chain" vs "off-chain" data?

A

Correct Answer

On-chain data is stored directly on the blockchain itself; off-chain data is stored elsewhere and may be referenced by the blockchain

Explanation

On-chain data is recorded in blocks and inherits blockchain guarantees, while off-chain data (e.g., large files) lives elsewhere, often referenced via a hash for verification.

36

What is the purpose of a "block reward"?

A

Correct Answer

It incentivizes miners or validators to secure the network by rewarding them with newly created tokens (and/or fees) for adding a valid block

Explanation

Block rewards (new coin issuance plus transaction fees) compensate miners/validators for the resources and stake they commit to securing and maintaining the network.

37

What does it mean when a blockchain transaction has been "confirmed"?

A

Correct Answer

The transaction has been included in a block that has been validated and added to the blockchain

Explanation

A confirmed transaction is part of an accepted block; the more subsequent blocks added on top, the more "confirmations" it has, increasing certainty it won't be reversed.

38

What is a "cold wallet"?

A

Correct Answer

A wallet whose private keys are stored offline, disconnected from the internet, for enhanced security

Explanation

Cold wallets (e.g., hardware wallets, paper wallets) keep private keys offline, reducing exposure to online hacking compared to "hot wallets" connected to the internet.

39

What is the purpose of a "transaction fee" on a blockchain network?

A

Correct Answer

It compensates miners/validators for processing the transaction and helps prevent spam by adding a cost to network usage

Explanation

Fees incentivize validators to include transactions and discourage network spam, with fees often fluctuating based on network demand and transaction complexity.

40

What is a "genesis block"?

A

Correct Answer

The first block ever created in a blockchain, which all subsequent blocks are chained from

Explanation

The genesis block is the foundational, hardcoded first block of a blockchain, with no predecessor, from which the entire chain history extends.

1

What problem does the "double-spending" issue solve for in cryptocurrencies, and how does blockchain address it?

A

Correct Answer

It prevents the same digital funds from being spent more than once, by having the network reach consensus on a single, ordered transaction history

Explanation

Without a central authority, digital tokens could theoretically be copied and spent multiple times; consensus mechanisms ensure all nodes agree on one canonical, ordered ledger preventing this.

2

What is the Ethereum Virtual Machine (EVM)?

A

Correct Answer

A runtime environment that executes smart contract bytecode consistently across all nodes on the Ethereum network

Explanation

The EVM is a deterministic, sandboxed execution environment; every node runs the same bytecode and arrives at the same state, ensuring consensus on contract execution results.

3

What is the ERC-20 standard used for?

A

Correct Answer

It defines a common interface for fungible tokens on Ethereum, ensuring interoperability with wallets, exchanges, and dApps

Explanation

ERC-20 specifies standard functions (transfer, balanceOf, approve, etc.) that fungible tokens must implement, allowing them to work seamlessly with existing Ethereum infrastructure.

4

How does the ERC-721 standard differ from ERC-20?

A

Correct Answer

ERC-721 defines non-fungible tokens where each token has a unique ID and can have distinct properties, unlike interchangeable ERC-20 tokens

Explanation

ERC-721 introduces unique token IDs within a contract, making each token distinguishable — the foundation for NFTs representing art, collectibles, or other unique items.

5

What is a "51% attack"?

A

Correct Answer

A scenario where a single entity controls more than half of a network's mining power or stake, potentially allowing them to manipulate transaction ordering or double-spend

Explanation

With majority control of hashing power (PoW) or stake (PoS), an attacker could potentially reorganize recent blocks or censor transactions, though rewriting deep history remains very costly.

6

What is the purpose of a "Merkle tree" in a blockchain block?

A

Correct Answer

It efficiently summarizes all transactions in a block into a single root hash, allowing quick verification of whether a transaction is included

Explanation

A Merkle tree hashes pairs of transactions repeatedly up to a single Merkle root, enabling efficient and secure verification of transaction inclusion without downloading the whole block.

7

What is a "smart contract audit" and why is it important?

A

Correct Answer

A thorough review of smart contract code by security experts to identify vulnerabilities before deployment, since deployed contracts are hard to change

Explanation

Because smart contracts often manage real funds and are difficult or impossible to modify after deployment, audits aim to catch bugs and vulnerabilities before they can be exploited.

8

What is a "reentrancy attack" on a smart contract?

A

Correct Answer

An exploit where a malicious contract repeatedly calls back into a vulnerable function before its state is updated, potentially draining funds

Explanation

Reentrancy occurs when a contract makes an external call before updating its own state, allowing the called contract to recursively call back in and exploit the stale state (e.g., the DAO hack).

9

What is a "Layer 2" scaling solution in blockchain (e.g., for Ethereum)?

A

Correct Answer

A separate protocol built on top of a base blockchain (Layer 1) that processes transactions off the main chain and periodically settles results back to it

Explanation

Layer 2 solutions (e.g., rollups, sidechains) handle transactions off the main chain to improve throughput and reduce fees, while inheriting security from the underlying Layer 1.

10

What is the difference between an "optimistic rollup" and a "zk-rollup"?

A

Correct Answer

Optimistic rollups assume transactions are valid and allow challenges within a window; zk-rollups use cryptographic proofs to verify validity immediately

Explanation

Optimistic rollups post transaction data and assume correctness, relying on fraud proofs during a dispute period; zk-rollups generate succinct zero-knowledge proofs that validity is correct upfront.

11

What is a "cross-chain bridge"?

A

Correct Answer

A protocol that allows assets or data to be transferred or represented between two different blockchain networks

Explanation

Bridges enable interoperability between chains, often by locking assets on one chain and minting representative wrapped assets on another, though they introduce additional trust/security considerations.

12

What is "gas optimization" in smart contract development, and why does it matter?

A

Correct Answer

Writing contract code to minimize computational steps and storage operations, reducing the gas (and cost) users pay to interact with it

Explanation

Since users pay gas proportional to computational complexity, efficient code (e.g., minimizing storage writes, using appropriate data types) directly reduces transaction costs.

13

What is an "oracle" in blockchain, and why is it needed?

A

Correct Answer

A service that brings external, off-chain data (like price feeds) onto the blockchain so smart contracts can use it

Explanation

Smart contracts cannot natively access data outside the blockchain; oracles (like Chainlink) fetch and deliver external data (prices, weather, events) on-chain in a verifiable way.

14

What is an "Automated Market Maker" (AMM)?

A

Correct Answer

A decentralized exchange mechanism that uses liquidity pools and a pricing formula to facilitate trades without traditional order books

Explanation

AMMs like Uniswap use mathematical formulas (e.g., constant product x*y=k) and liquidity pools to determine prices and execute trades automatically, without matching buyers and sellers directly.

15

What is "impermanent loss" in the context of liquidity pools?

A

Correct Answer

A potential loss in value experienced by liquidity providers when the price ratio of the pooled assets changes compared to when they deposited

Explanation

When pooled asset prices diverge from the deposit ratio, the value of a liquidity provider's withdrawn assets may be less than if they had simply held the assets, hence "impermanent" (realized on withdrawal).

16

What is the purpose of a "multi-signature" (multisig) wallet?

A

Correct Answer

It requires approval from multiple private keys (signatures) before a transaction can be executed, improving security and shared control

Explanation

Multisig wallets (e.g., requiring 2-of-3 signatures) reduce single points of failure, commonly used by organizations or for added personal security against a single compromised key.

17

What does "permissionless" mean in the context of public blockchains?

A

Correct Answer

Anyone can participate in the network — running a node, submitting transactions, or deploying contracts — without needing approval from a central authority

Explanation

Permissionless networks like Bitcoin and Ethereum allow open participation, contrasted with "permissioned" blockchains (common in enterprise) that restrict who can join or validate.

18

What is the difference between a "permissioned" and "permissionless" blockchain?

A

Correct Answer

A permissioned blockchain restricts participation to approved/known entities; a permissionless one allows anyone to join and participate

Explanation

Permissioned blockchains (e.g., Hyperledger Fabric) are often used by consortiums of known organizations, trading some decentralization for performance and privacy compared to public permissionless chains.

19

What is "slashing" in a Proof of Stake network?

A

Correct Answer

A penalty where a portion of a validator's staked tokens is forfeited as punishment for malicious or faulty behavior, like double-signing

Explanation

Slashing economically disincentivizes harmful behavior (e.g., signing conflicting blocks) by destroying part of a validator's stake, reinforcing network security.

20

What is the purpose of "The Merge" event for Ethereum?

A

Correct Answer

It transitioned Ethereum's consensus mechanism from Proof of Work to Proof of Stake, significantly reducing energy consumption

Explanation

The Merge (2022) replaced Ethereum's energy-intensive Proof of Work mining with Proof of Stake validation, reducing energy use by over 99% while preserving existing contract state.

21

What is a "sidechain"?

A

Correct Answer

An independent blockchain that runs in parallel to a main chain and is connected via a bridge, often with its own consensus rules

Explanation

Sidechains operate with their own validators and rules, connected to a main chain via a bridge, allowing experimentation or higher throughput at the cost of relying on the sidechain's own security.

22

Why might a smart contract use a "proxy pattern" for upgradability?

A

Correct Answer

Because contract code is immutable once deployed, a proxy contract can delegate calls to a separate, replaceable implementation contract, allowing logic updates

Explanation

Since deployed bytecode cannot be changed directly, proxy patterns separate storage (in the proxy) from logic (in an implementation contract), allowing the implementation address to be updated.

23

What is "front-running" in the context of blockchain transactions?

A

Correct Answer

Observing a pending transaction in the mempool and submitting one's own transaction with higher fees to execute first and profit from the original

Explanation

Because pending transactions are visible in the mempool before confirmation, bots can detect profitable opportunities (like large swaps) and front-run them by paying higher fees to be processed first.

24

What is the "mempool"?

A

Correct Answer

A temporary holding area where unconfirmed transactions wait before being included in a block by miners or validators

Explanation

The mempool ("memory pool") holds transactions that have been broadcast but not yet confirmed, from which miners/validators select transactions (often prioritizing higher fees) to include in the next block.

25

What is a "governance token"?

A

Correct Answer

A token that grants holders voting rights on proposals affecting a protocol's future, such as parameter changes or fund allocation

Explanation

Governance tokens (e.g., in DAOs) allow holders to vote on proposals, decentralizing decision-making over a protocol's parameters, treasury, or upgrades.

26

What is "yield farming" in DeFi?

A

Correct Answer

The practice of moving crypto assets between different protocols to maximize returns from interest, fees, or token rewards

Explanation

Yield farmers deposit assets into lending protocols or liquidity pools to earn interest and/or governance tokens, often moving funds between protocols to chase the highest returns, with associated risks.

27

What is "tokenomics"?

A

Correct Answer

The study and design of a token's economic model, including its supply, distribution, incentives, and utility within its ecosystem

Explanation

Tokenomics covers how a token is created, distributed, used, and incentivized — factors that significantly influence a project's long-term sustainability and value.

28

What is the purpose of a "vesting schedule" for project tokens?

A

Correct Answer

It gradually releases tokens to team members or investors over time, rather than all at once, to align long-term incentives and reduce sell pressure

Explanation

Vesting schedules lock tokens for a period and release them gradually (often with a "cliff"), discouraging early dumping and aligning stakeholders with the project's long-term success.

29

What is "censorship resistance" in the context of public blockchains?

A

Correct Answer

The property that no single entity can prevent valid transactions from being processed by the network

Explanation

Because no single party controls a sufficiently decentralized network, valid transactions are very difficult for any one entity to block, a key value proposition of public blockchains.

30

What is the role of "validators" voting on blocks in a Byzantine Fault Tolerant (BFT) consensus protocol?

A

Correct Answer

They exchange votes to agree on the next block even if some participants are faulty or malicious, as long as enough honest validators participate

Explanation

BFT consensus protocols (e.g., Tendermint) tolerate a certain fraction of faulty/malicious nodes (often up to 1/3) while still reaching agreement among the honest majority.

31

What is "wrapped" cryptocurrency (e.g., Wrapped Bitcoin, WBTC)?

A

Correct Answer

A token on one blockchain that represents and is backed 1:1 by an asset locked on another blockchain, enabling cross-chain use

Explanation

Wrapped tokens let assets native to one chain (like Bitcoin) be used on another (like Ethereum), with the original asset held in custody/locked, and the wrapped version minted 1:1.

32

What is the significance of a smart contract's "state" being stored on-chain?

A

Correct Answer

It means the contract's variables and data persist across transactions and are replicated and agreed upon by all nodes in the network

Explanation

Persistent on-chain state allows contracts to maintain balances, ownership records, or configuration across transactions, with every node maintaining a consistent copy as part of consensus.

33

What does "interoperability" mean for blockchain networks?

A

Correct Answer

The ability of different blockchain networks to communicate, share data, or transfer assets with one another

Explanation

Interoperability solutions (bridges, cross-chain messaging protocols) allow value and data to move between otherwise isolated blockchain ecosystems.

34

What is a "faucet" in the context of testnets?

A

Correct Answer

A service that distributes small amounts of free testnet tokens to developers for testing purposes

Explanation

Testnet faucets provide developers with free test tokens (which have no real value) so they can pay gas fees and test smart contracts without spending real cryptocurrency.

35

What is a "flash loan" in DeFi?

A

Correct Answer

An uncollateralized loan that must be borrowed and repaid within the same blockchain transaction, or the entire transaction reverts

Explanation

Flash loans exploit the atomicity of blockchain transactions: if the borrowed funds (plus fees) aren't returned by the end of the transaction, the entire transaction is reverted as if it never happened.

36

What is "staking-as-a-service" offered by some platforms?

A

Correct Answer

A service that lets users delegate their tokens to a validator operator who runs the staking infrastructure, sharing rewards minus a fee

Explanation

Staking-as-a-service lets token holders earn staking rewards without running their own validator node, delegating to a provider who handles uptime and infrastructure for a fee.

37

What is the purpose of "address whitelisting" in some token contracts or exchanges?

A

Correct Answer

Restricting certain actions, like transfers or withdrawals, to a predefined set of approved addresses for compliance or security

Explanation

Whitelisting limits sensitive operations to approved addresses, often used in regulated token offerings or to restrict early access during a presale.

38

What is a "rug pull" in the context of crypto projects?

A

Correct Answer

A scam where developers abandon a project and withdraw liquidity or funds, leaving investors with worthless tokens

Explanation

Rug pulls occur when project insiders remove liquidity or sell large token holdings suddenly, crashing the token's value and leaving other holders with losses.

39

What does "composability" mean for DeFi protocols?

A

Correct Answer

Different protocols and smart contracts can be combined and built on top of each other like building blocks, since they share common standards and are publicly callable

Explanation

Because smart contracts are open and standardized (e.g., ERC-20), protocols can interact with each other programmatically, enabling complex strategies built from simpler composable pieces — often called "money legos".

40

Why do some Ethereum transactions specify a "nonce"?

A

Correct Answer

The nonce is a sequential counter per account that ensures transaction ordering and prevents replay of the same transaction twice

Explanation

Each account transaction must use the next sequential nonce; this ordering prevents the same signed transaction from being replayed and ensures transactions are processed in sequence.

1

How does a zk-SNARK allow a prover to convince a verifier of a statement's truth without revealing the underlying data?

A

Correct Answer

It uses zero-knowledge cryptographic proofs that are succinct and non-interactive, letting the verifier check a short proof without learning the witness data

Explanation

"Succinct Non-interactive ARguments of Knowledge" let a verifier confirm a computation was performed correctly via a small proof, without learning the private inputs — foundational to zk-rollups and privacy applications.

2

What is "MEV" (Miner/Maximal Extractable Value) and why is it significant?

A

Correct Answer

The maximum value that can be extracted by block producers from reordering, including, or excluding transactions within a block, which can incentivize front-running and impact fairness

Explanation

Because validators/miners control transaction ordering within a block, they (or sophisticated searchers) can extract value via strategies like arbitrage, front-running, and sandwich attacks, raising fairness and design concerns.

3

What is the core security trade-off illustrated by the "Blockchain Trilemma"?

A

Correct Answer

It is difficult for a blockchain to simultaneously achieve high decentralization, strong security, and high scalability without making trade-offs among the three

Explanation

Many blockchain designs make explicit trade-offs: e.g., highly decentralized and secure chains may sacrifice throughput, while high-throughput chains may rely on fewer validators (less decentralization).

4

In an optimistic rollup, what is the purpose of the "challenge period" (dispute window)?

A

Correct Answer

It gives participants time to submit a fraud proof if a posted state transition is invalid, before the result is considered final on Layer 1

Explanation

Optimistic rollups assume state transitions are valid by default, but allow anyone to submit a fraud proof during the challenge window; only after this period (commonly ~7 days) is withdrawal to L1 finalized without challenge.

5

How do "commit-reveal" schemes help mitigate front-running in smart contract interactions?

A

Correct Answer

Users first submit a hashed commitment of their action, then later reveal the actual value, preventing others from acting on the information before it is revealed

Explanation

By separating the "commit" (a hash hiding the actual value) from the later "reveal" step, observers cannot front-run based on the hidden value during the commit phase.

6

What does "finality" mean differently in Proof of Work chains like Bitcoin versus chains with explicit finality gadgets (e.g., Ethereum's Casper FFG)?

A

Correct Answer

In PoW, finality is probabilistic — deeper blocks are exponentially less likely to be reverted; finality gadgets provide explicit checkpoints after which blocks are considered economically irreversible

Explanation

Probabilistic finality (PoW) means confidence increases with confirmations but never reaches absolute certainty; explicit finality mechanisms periodically "checkpoint" blocks, after which reverting would require validators to lose a large portion of stake (slashing).

7

Why is "data availability" a critical concern for rollups and modular blockchain designs?

A

Correct Answer

If transaction data behind a rollup's state isn't published and accessible, users cannot independently verify state transitions or reconstruct the state if needed, undermining trust assumptions

Explanation

Rollups post compressed transaction data so anyone can recompute and verify state, or so users can exit if operators misbehave; without available data, the security guarantees of the rollup break down.

8

What is the purpose of "account abstraction" (e.g., ERC-4337) on Ethereum?

A

Correct Answer

It allows smart contracts to act as user accounts with custom validation logic (like social recovery or gas sponsorship), without requiring changes to the core protocol

Explanation

ERC-4337 enables "smart accounts" with programmable validation (e.g., multi-factor approval, gasless transactions paid by a third party) using a higher-level infrastructure layer rather than consensus-level changes.

9

How does a "fraud proof" differ from a "validity proof" in the context of Layer 2 scaling?

A

Correct Answer

A fraud proof demonstrates that a specific state transition was incorrect (used reactively in optimistic systems); a validity proof cryptographically proves correctness proactively for every transition (used in zk systems)

Explanation

Optimistic systems rely on the threat of fraud proofs to deter invalid state transitions (assume-valid-unless-challenged), while zk-based systems require a validity proof for every batch upfront, removing the need for a challenge period.

10

What is "state bloat" and why is it a long-term concern for blockchains like Ethereum?

A

Correct Answer

The continuous growth of on-chain state (accounts, contract storage) increases the resource requirements for nodes to store and process the full state, threatening decentralization if only well-resourced nodes can participate

Explanation

As state grows, running a full node becomes more resource-intensive, potentially centralizing the network among entities that can afford the hardware — motivating solutions like state expiry or statelessness research.

11

In the context of cryptographic signatures, why do many blockchains use elliptic curve cryptography (e.g., secp256k1) rather than RSA?

A

Correct Answer

Elliptic curve cryptography provides equivalent security to RSA with much smaller key sizes, resulting in smaller signatures and lower storage/bandwidth overhead

Explanation

ECC achieves comparable security with significantly smaller keys and signatures than RSA, which matters at blockchain scale where every transaction includes a signature stored permanently.

12

What distinguishes a "sharded" blockchain architecture from a single monolithic chain?

A

Correct Answer

Sharding splits the network's state and transaction processing across multiple parallel chains ("shards"), each handling a subset of the workload, to increase overall throughput

Explanation

By dividing state and computation across shards that can be processed in parallel, sharding aims to scale capacity beyond what a single chain can handle, while coordinating cross-shard communication carefully.

13

Why is "replay protection" important when a blockchain undergoes a hard fork that creates two chains?

A

Correct Answer

Without it, a transaction signed and valid on one chain could be "replayed" (re-broadcast) and also be valid on the other chain, potentially causing unintended transfers

Explanation

After a fork, if both chains share transaction format and history, a transaction valid on chain A may also be valid on chain B; replay protection (e.g., a unique chain ID in signatures) prevents this cross-chain replay.

14

How does "stateless" client design aim to address blockchain scalability challenges?

A

Correct Answer

Instead of storing the entire state, stateless clients verify transactions using cryptographic proofs (e.g., witnesses) provided alongside transactions, reducing storage requirements

Explanation

Stateless clients shift the burden of proving state correctness to the transaction sender (via cryptographic proofs like Merkle/Verkle proofs), allowing nodes to verify without holding the full state locally.

15

What security property does a "time-lock" (e.g., in a vesting contract or hash time-locked contract, HTLC) provide?

A

Correct Answer

It ensures certain actions (like fund release or contract execution) can only occur after a specified time or block height, often combined with cryptographic conditions for atomic cross-chain swaps

Explanation

HTLCs combine a hash condition (proving knowledge of a secret) with a time-lock (refund if not claimed in time), enabling trustless atomic swaps between chains without a trusted intermediary.

16

Why might a protocol implement "EIP-1559"-style fee mechanisms (base fee + tip) instead of a simple first-price auction for transaction fees?

A

Correct Answer

A dynamically adjusting base fee (burned) combined with an optional tip can reduce fee volatility and overpayment compared to users guessing bids in a first-price auction

Explanation

EIP-1559 introduced an algorithmically adjusted base fee (burned, based on block fullness) plus a priority tip, smoothing fee estimation and reducing the inefficiency of blind-bid first-price auctions.

17

What is the significance of "atomicity" in blockchain transactions, especially for complex DeFi operations involving multiple steps?

A

Correct Answer

All operations within a transaction either fully succeed together or the entire transaction is reverted, preventing partial execution that could leave the system in an inconsistent state

Explanation

Atomic execution underpins complex DeFi composability — e.g., a flash loan, swap, and repayment can be bundled so that if any step fails, the entire transaction reverts as if nothing happened.

18

How can on-chain governance via token-weighted voting lead to "plutocracy" concerns, and what is one proposed mitigation?

A

Correct Answer

Because voting power is proportional to token holdings, large holders can dominate decisions; mitigations include mechanisms like quadratic voting or delegation to spread influence

Explanation

Token-weighted governance can concentrate power among "whales"; alternatives like quadratic voting (cost increases with vote count) or vote delegation aim to balance influence more broadly across participants.

19

Why is "deterministic execution" essential for blockchain consensus across nodes running smart contracts?

A

Correct Answer

Every honest node must arrive at exactly the same resulting state given the same inputs, so nondeterministic operations (like unguarded random numbers or floating-point math) could cause consensus failures

Explanation

If different nodes computed different results for the same transaction (e.g., due to nondeterministic randomness or floating-point rounding differences), the network could not agree on a single canonical state — hence smart contract environments avoid such operations or make them deterministic via on-chain sources.

20

What role does a "Verkle tree" aim to play as a potential successor to Merkle Patricia tries in Ethereum?

A

Correct Answer

It uses vector commitments to produce much smaller cryptographic proofs of state, supporting stateless client designs more efficiently than traditional Merkle Patricia tries

Explanation

Verkle trees combine vector commitments with tree structures to drastically shrink proof sizes compared to Merkle Patricia tries, making it more practical for clients to verify state without storing it all (statelessness).