Home »
Trending Technologies MCQs
Web3 MCQs (Multiple-Choice Questions)
Practice Web3 MCQs to test your knowledge of decentralized applications, blockchain networks, smart contracts, digital wallets, tokens, DAOs, DeFi, decentralized storage, and Web3 architecture. These questions cover the core technologies and concepts used to build and interact with decentralized applications. They are useful for students, developers, blockchain professionals, and candidates preparing for technical interviews. The set includes both fundamental and scenario-based questions to help you understand how Web3 systems work in practical environments.
Web3 MCQs
These Web3 multiple-choice questions cover important concepts such as Ethereum accounts, transactions, gas, the EVM, smart contracts, token standards, decentralized applications, oracles, bridges, Layer 2 networks, and decentralized governance. The questions also examine concepts such as ERC-20 and ERC-721 tokens, wallets, DAOs, DeFi, cross-chain communication, and blockchain interoperability. This set is designed to test both conceptual understanding and practical knowledge of modern Web3 application development.
Web3 MCQs cover the concepts, technologies, and development principles behind decentralized applications and blockchain-based systems. Each question includes an answer and explanation.
List of Web3 MCQs
The following Web3 multiple-choice questions cover blockchain architecture, smart contracts, wallets, tokens, dapps, DeFi, DAOs, oracles, bridges, Layer 2 scaling, and other important Web3 concepts.
1. What is the primary idea behind Web3?
- Centralizing all internet services under one company
- Building a decentralized web where users can have greater control and ownership
- Replacing all websites with desktop applications
- Removing the need for databases
Answer: B) Building a decentralized web where users can have greater control and ownership
Explanation:
Web3 generally refers to an internet architecture that uses technologies such as blockchains, cryptocurrencies, and decentralized applications to distribute control and enable user ownership of digital assets and interactions.
2. Which technology is a fundamental building block of many Web3 applications?
- Blockchain
- SMTP
- FTP
- CSS
Answer: A) Blockchain
Explanation:
Blockchains provide decentralized, shared state and transaction processing for many Web3 applications. Smart contracts and digital assets can be implemented on blockchain networks.
3. What is a dapp in Web3?
- An application that only runs on a local computer
- A decentralized application that uses blockchain-based logic or infrastructure
- A database administration application
- A centralized payment application
Answer: B) A decentralized application that uses blockchain-based logic or infrastructure
Explanation:
A dapp generally combines a user interface with blockchain-based backend logic, commonly implemented through smart contracts. The blockchain can provide decentralized execution and shared state.
4. Which component commonly acts as the backend logic of an Ethereum dapp?
- Smart contract
- CSS stylesheet
- DNS server
- Browser cookie
Answer: A) Smart contract
Explanation:
Smart contracts contain executable code and state stored on the blockchain. A dapp frontend can interact with these contracts to read blockchain state or submit transactions.
5. What is a smart contract?
- A legal document stored as a PDF
- A program deployed on a blockchain that executes according to its code
- A centralized database trigger
- A cryptocurrency wallet
Answer: B) A program deployed on a blockchain that executes according to its code
Explanation:
A smart contract is a program deployed to a blockchain address. On Ethereum, it contains functions and state and can execute when transactions invoke its functions.
6. Which virtual machine executes smart-contract code on Ethereum?
- JVM
- CLR
- EVM
- V8
Answer: C) EVM
Explanation:
The Ethereum Virtual Machine (EVM) is the runtime environment responsible for executing Ethereum smart-contract code and processing state changes caused by transactions.
7. Which language is widely used for writing Ethereum smart contracts?
- Solidity
- HTML
- SQL
- CSS
Answer: A) Solidity
Explanation:
Solidity is a programming language commonly used to develop Ethereum smart contracts. Solidity source code is compiled into EVM bytecode that can execute on Ethereum.
8. What is the main purpose of a Web3 wallet?
- Store blockchain networks physically
- Manage accounts, keys, assets, and blockchain interactions
- Host all smart-contract source code
- Replace blockchain validators
Answer: B) Manage accounts, keys, assets, and blockchain interactions
Explanation:
A Web3 wallet provides an interface for managing blockchain accounts and signing transactions. It can also display and interact with digital assets and decentralized applications.
9. Which key must generally remain secret to protect control of an externally owned Ethereum account?
- Public key
- Private key
- Contract address
- Block hash
Answer: B) Private key
Explanation:
An externally owned account is controlled by its private key. The private key is used to cryptographically sign transactions and should never be exposed.
10. Which two account types exist on Ethereum?
- Browser and server accounts
- EOAs and contract accounts
- Miner and database accounts
- HTTP and HTTPS accounts
Answer: B) EOAs and contract accounts
Explanation:
Ethereum has externally owned accounts (EOAs), controlled by private keys, and contract accounts, controlled by smart-contract code. Both can hold ETH and tokens and interact with contracts.
11. What does EOA stand for in Ethereum?
- External Object Address
- Externally Owned Account
- Ethereum Operating Application
- External Oracle Account
Answer: B) Externally Owned Account
Explanation:
An externally owned account is an Ethereum account controlled through a cryptographic key pair. It can initiate transactions on the network.
12. What is gas in an Ethereum-based Web3 application?
- A type of cryptocurrency wallet
- A measure related to the computational work required for transactions
- A blockchain storage protocol
- A token standard
Answer: B) A measure related to the computational work required for transactions
Explanation:
Gas measures computational work performed by the EVM. Transaction senders pay transaction fees in ETH based on the gas used and the applicable gas price.
13. What happens when a Web3 user submits a transaction that calls a smart-contract function?
- The browser permanently executes the contract locally
- The transaction can cause the blockchain state to change after validation and execution
- The transaction bypasses the blockchain
- The contract source code is automatically deleted
Answer: B) The transaction can cause the blockchain state to change after validation and execution
Explanation:
A transaction can invoke a smart-contract function. Once the transaction is accepted and executed according to network rules, the resulting state changes become part of the blockchain state.
14. Which operation normally reads smart-contract state without creating a blockchain transaction?
- Calling a view function without state modification
- Sending ETH
- Calling a payable function through a signed transaction
- Deploying a contract
Answer: A) Calling a view function without state modification
Explanation:
Reading existing blockchain data does not require a state-changing transaction. A view or read operation can retrieve contract state without submitting a transaction to the network.
15. What is an ABI used for when interacting with an Ethereum smart contract?
- Encrypting the blockchain
- Describing how applications can interact with contract functions and data
- Generating cryptocurrency prices
- Mining blocks
Answer: B) Describing how applications can interact with contract functions and data
Explanation:
The Application Binary Interface (ABI) describes contract functions, parameters, return values, and events so software can encode calls and decode contract responses.
16. What does ERC-20 define?
- A standard for fungible tokens
- A standard for blockchain validators
- A decentralized storage network
- A wallet encryption algorithm
Answer: A) A standard for fungible tokens
Explanation:
ERC-20 defines a common interface for fungible tokens on Ethereum. Standard functions include transfer(), balanceOf(), approve(), and transferFrom().
17. What is the key characteristic of a fungible token?
- Every unit is unique and non-interchangeable
- Units of the same token are generally interchangeable and equivalent
- It cannot be transferred
- It can only exist off-chain
Answer: B) Units of the same token are generally interchangeable and equivalent
Explanation:
Fungible tokens represent interchangeable units. For example, one unit of a standard fungible token can generally be exchanged for another unit of the same token.
18. Which Ethereum token standard is designed for non-fungible tokens?
- ERC-20
- ERC-721
- ERC-55
- ERC-1650
Answer: B) ERC-721
Explanation:
ERC-721 defines an interface for non-fungible tokens. Individual tokens can be identified by unique token IDs and can have different ownership and metadata.
19. Which ERC-721 function returns the owner of a specific NFT?
- balanceOf()
- ownerOf()
- tokenURI()
- approveAll()
Answer: B) ownerOf()
Explanation:
The ERC-721 ownerOf() function returns the address that owns a specified token ID.
20. Which ERC-20 function allows a spender to use tokens on behalf of an owner within an approved amount?
- approve()
- ownerOf()
- mintNFT()
- balance()
Answer: A) approve()
Explanation:
The ERC-20 approve() function establishes an allowance that another address can spend using transferFrom().
21. What is DeFi?
- Decentralized Finance
- Distributed File Interface
- Digital Finance Infrastructure
- Decentralized File Index
Answer: A) Decentralized Finance
Explanation:
DeFi refers to blockchain-based financial applications and protocols that provide services such as trading, lending, borrowing, and liquidity management through smart contracts.
22. What is a decentralized exchange (DEX)?
- A centralized database for stock trading
- A blockchain-based application for exchanging digital assets without a traditional centralized exchange operator
- A blockchain node
- A hardware wallet
Answer: B) A blockchain-based application for exchanging digital assets without a traditional centralized exchange operator
Explanation:
A DEX uses blockchain-based smart contracts to facilitate token swaps. Users generally interact directly with the protocol rather than depositing assets into a traditional centralized exchange account.
23. What is a DAO?
- Decentralized Autonomous Organization
- Digital Application Operator
- Distributed Authentication Object
- Decentralized API Operation
Answer: A) Decentralized Autonomous Organization
Explanation:
A DAO is an organization or coordination mechanism that uses blockchain-based rules, governance processes, and often tokens to coordinate decisions and resources.
24. What is a common mechanism used by DAOs for governance?
- Token-based voting
- Browser cookies
- DNS delegation
- HTTP redirects
Answer: A) Token-based voting
Explanation:
Many DAOs use governance tokens to determine voting power or eligibility. However, DAO governance designs can differ significantly between protocols.
25. What is an oracle in a Web3 system?
- A service that makes external or off-chain information available to smart contracts
- A cryptocurrency wallet
- A blockchain mining algorithm
- A token standard
Answer: A) A service that makes external or off-chain information available to smart contracts
Explanation:
Smart contracts cannot normally access arbitrary external data directly. Oracles provide mechanisms for bringing external information, such as asset prices or event outcomes, into blockchain applications.
26. Why are price oracles important in many DeFi lending protocols?
- They generate private keys
- They provide asset price information used to evaluate collateral and borrowing positions
- They replace validators
- They create blockchain blocks
Answer: B) They provide asset price information used to evaluate collateral and borrowing positions
Explanation:
A lending protocol may need current market prices to determine the value of deposited collateral and whether a position remains sufficiently collateralized.
27. What is the oracle problem?
- The difficulty of storing private keys
- The challenge of ensuring external data supplied to smart contracts is correct, available, and trustworthy
- The inability to create NFTs
- The cost of writing HTML
Answer: B) The challenge of ensuring external data supplied to smart contracts is correct, available, and trustworthy
Explanation:
Smart contracts depend on oracle data when their logic requires external information. Incorrect, unavailable, or manipulated oracle data can cause incorrect contract behavior.
28. What is a blockchain bridge primarily designed to provide?
- Interoperability between blockchain networks
- Centralized database backups
- Email delivery
- Smartphone authentication
Answer: A) Interoperability between blockchain networks
Explanation:
Bridges connect otherwise separate blockchain environments. Depending on their design, they can transfer assets, messages, arbitrary data, or smart-contract calls between networks.
29. Which is an example of a bridge asset-transfer design?
- Lock and mint
- Compile and execute
- Hash and render
- Encrypt and decrypt
Answer: A) Lock and mint
Explanation:
In a lock-and-mint design, assets can be locked on the source chain and corresponding representations can be minted on the destination chain. Bridge designs vary and have different security assumptions.
30. What is a Layer 2 network in the Ethereum ecosystem?
- A scaling system built to process transactions with a relationship to Ethereum Mainnet
- A replacement for all blockchain networks
- A web browser extension
- A type of NFT
Answer: A) A scaling system built to process transactions with a relationship to Ethereum Mainnet
Explanation:
Layer 2 systems are designed to increase transaction throughput and reduce costs while maintaining a security relationship with Ethereum Mainnet. Rollups are an important category of Ethereum Layer 2 technology.
31. What is a major characteristic of optimistic rollups?
- They assume transaction results are valid unless challenged through their verification mechanism
- They require every transaction to be mined independently on Bitcoin
- They cannot execute smart contracts
- They permanently disconnect from Ethereum
Answer: A) They assume transaction results are valid unless challenged through their verification mechanism
Explanation:
Optimistic rollups process transactions away from Ethereum Mainnet and use mechanisms involving fraud proofs or challenges to address invalid state transitions.
32. What is a ZK-rollup designed to use to demonstrate the correctness of off-chain computation?
- Cryptographic validity proofs
- DNS records
- HTTP headers
- Browser cookies
Answer: A) Cryptographic validity proofs
Explanation:
ZK-rollups execute transactions off-chain and submit a compact representation of state changes along with cryptographic proofs that allow the underlying computation to be verified.
33. What does interoperability mean in Web3?
- The ability of different blockchain systems or applications to communicate or work together
- The ability to delete blockchain records
- The conversion of HTML to CSS
- The centralization of all wallets
Answer: A) The ability of different blockchain systems or applications to communicate or work together
Explanation:
Interoperability allows different blockchain networks, applications, and protocols to exchange assets, messages, or data instead of operating as completely isolated systems.
34. What is decentralized storage commonly intended to achieve?
- Storing data across a decentralized infrastructure rather than relying exclusively on one centralized server
- Removing all data from the internet
- Storing private keys in browser cookies
- Replacing smart contracts with SQL
Answer: A) Storing data across a decentralized infrastructure rather than relying exclusively on one centralized server
Explanation:
Decentralized storage systems distribute or address data through decentralized infrastructure. Web3 applications can combine blockchain logic with decentralized storage for certain application data and assets.
35. Which technology is commonly associated with decentralized content-addressed storage?
- IPFS
- SMTP
- FTP
- LDAP
Answer: A) IPFS
Explanation:
IPFS, or InterPlanetary File System, is a distributed protocol that uses content addressing to identify and retrieve data. Web3 applications can use IPFS for decentralized content hosting and storage.
36. What is content addressing?
- Identifying data based on information derived from its content
- Assigning every file a centralized server IP
- Using a password as a database table name
- Identifying a token only by its market price
Answer: A) Identifying data based on information derived from its content
Explanation:
Content-addressed systems use identifiers derived from data, commonly cryptographic hashes, so the identifier is tied to the content rather than simply its storage location.
37. What is an on-chain transaction?
- An operation recorded and processed as part of a blockchain network
- An operation performed only inside a browser
- A database query that never reaches a blockchain
- A DNS lookup
Answer: A) An operation recorded and processed as part of a blockchain network
Explanation:
An on-chain transaction is submitted to a blockchain network and, once included and finalized according to that network's rules, becomes part of its recorded state or transaction history.
38. Why are blockchain transactions generally difficult to reverse?
- Blockchain state changes are governed by consensus rules and recorded in a replicated ledger
- Web browsers prevent reversal
- Wallets automatically encrypt every transaction forever
- DNS prevents blockchain changes
Answer: A) Blockchain state changes are governed by consensus rules and recorded in a replicated ledger
Explanation:
Blockchain networks use consensus mechanisms and cryptographic verification to maintain shared state. Smart-contract interactions are generally irreversible once executed, except where the protocol or application provides a specific mechanism for changing state.
39. What is a blockchain event commonly used for in Web3 applications?
- Communicating important contract activity to off-chain applications
- Changing the blockchain consensus algorithm automatically
- Creating private keys
- Replacing a smart contract's bytecode
Answer: A) Communicating important contract activity to off-chain applications
Explanation:
Smart contracts can emit events when important actions occur. Off-chain applications and indexing systems can monitor these events to update user interfaces or application data.
40. Which statement best describes Web3 composability?
- Applications and smart contracts can build on and interact with existing on-chain components
- Every application must use a separate blockchain
- Smart contracts cannot interact with each other
- Users must create a new wallet for every application
Answer: A) Applications and smart contracts can build on and interact with existing on-chain components
Explanation:
Web3 composability allows applications to reuse existing contracts, tokens, liquidity, and other on-chain primitives. This enables developers to construct new applications from existing blockchain components.
41. What is a nonce used for in an Ethereum externally owned account?
- Identifying the current cryptocurrency price
- Tracking the sequence of transactions sent by the account
- Storing NFT metadata
- Generating an ERC-20 token
Answer: B) Tracking the sequence of transactions sent by the account
Explanation:
An EOA nonce is a transaction sequence counter. It helps ensure that transactions from the same account are processed in the intended sequence and prevents the same signed transaction from being executed repeatedly.
42. Which cryptographic mechanism allows an Ethereum account to authorize a transaction?
- Digital signature
- DNS resolution
- HTTP caching
- Database indexing
Answer: A) Digital signature
Explanation:
An EOA signs transactions using its private key. The resulting cryptographic signature allows the network to verify that the transaction was authorized by the corresponding account.
43. What is a Web3 RPC endpoint commonly used for?
- Communicating with a blockchain node
- Generating NFT artwork automatically
- Replacing a wallet's private key
- Changing smart-contract source code after deployment
Answer: A) Communicating with a blockchain node
Explanation:
Remote Procedure Call (RPC) interfaces allow applications to communicate with blockchain nodes. Applications can use RPC methods to query blockchain data and submit transactions.
44. What is the purpose of a Web3 provider in a frontend application?
- To provide an interface for communicating with a blockchain network or wallet
- To replace all smart contracts
- To store blockchain validators
- To permanently store every website image
Answer: A) To provide an interface for communicating with a blockchain network or wallet
Explanation:
A Web3 provider can expose blockchain communication capabilities to an application. Depending on the setup, it may connect the frontend to an RPC endpoint or a user's wallet.
45. What is wallet signing used for in a Web3 application?
- Cryptographically authorizing a message or transaction
- Compressing HTML files
- Creating DNS records
- Changing a blockchain's history
Answer: A) Cryptographically authorizing a message or transaction
Explanation:
Wallets use private keys to generate cryptographic signatures. These signatures can authorize blockchain transactions or prove control over an account for certain off-chain messages.
46. Which practice is most important when building a Web3 application that interacts with smart contracts?
- Testing and auditing contract logic before handling valuable assets
- Publishing private keys in the frontend
- Ignoring transaction failures
- Disabling all cryptographic verification
Answer: A) Testing and auditing contract logic before handling valuable assets
Explanation:
Smart-contract bugs can directly affect on-chain assets and state. Thorough testing, code review, security analysis, and appropriate auditing are important parts of developing applications that interact with valuable contracts.
47. A Web3 application needs the current ETH/USD price to determine whether a user's collateral is sufficient. Which component is most appropriate for supplying this external price data?
- Oracle
- DNS server
- CSS processor
- Wallet extension
Answer: A) Oracle
Explanation:
The ETH/USD price originates outside the blockchain. An oracle can provide this external market data to the smart contract so that the contract can evaluate collateral using an on-chain representation of the price.
48. A developer wants to create a token where every unit has the same value and is interchangeable with another unit of the same token. Which standard is the most appropriate on Ethereum?
- ERC-20
- ERC-721
- IPFS
- ENS
Answer: A) ERC-20
Explanation:
ERC-20 is designed for fungible tokens. Its standardized interface makes tokens interoperable with wallets, exchanges, and other applications that support the standard.
49. A Web3 application needs to let users exchange tokens on one blockchain while another application uses the resulting assets on a different blockchain. Which infrastructure is most directly relevant to this requirement?
- Cross-chain bridge or interoperability protocol
- CSS framework
- Local browser storage
- SMTP server
Answer: A) Cross-chain bridge or interoperability protocol
Explanation:
Blockchains normally operate as separate environments. Cross-chain infrastructure can facilitate the transfer of assets, messages, or arbitrary data between supported networks, although each bridge design introduces its own security and trust assumptions.
50. A Web3 lending application stores collateral in a smart contract and needs an external ETH/USD price to determine whether the collateral remains above its required threshold. The price is supplied through an oracle, and the application executes liquidation when the collateral value falls below the protocol's threshold. Which architecture best describes this system?
- A centralized web application where the browser alone determines liquidation
- A smart-contract-based DeFi application using an oracle to incorporate external price data into on-chain logic
- A static website that stores collateral in browser cookies
- A DNS-based financial application without blockchain state
Answer: B) A smart-contract-based DeFi application using an oracle to incorporate external price data into on-chain logic
Explanation:
The lending protocol's collateral and liquidation rules can be implemented by smart contracts, while the ETH/USD price comes from an oracle because the contract cannot directly retrieve arbitrary external market data. The contract can compare the oracle-provided price with the collateral position and execute the protocol's liquidation logic when the required conditions are met. This is a typical example of a hybrid Web3 application combining on-chain smart-contract execution with off-chain data supplied through oracle infrastructure.