Unit 5: Alternative Coins and Smart Contracts - Practice Quiz

CSE436 — Blockchain 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is an altcoin?

Introducing altcoins Easy
A. A cryptocurrency other than Bitcoin
B. A centralized banking database
C. A physical version of Bitcoin
D. A Bitcoin mining device

2 Why are many cryptocurrencies described as altcoins?

Introducing altcoins Easy
A. They operate without cryptography
B. They represent national currencies
C. They provide alternatives to Bitcoin
D. They replace all digital wallets

3 What is the main purpose of a blockchain consensus mechanism?

Theoretical foundations Easy
A. To design cryptocurrency logos
B. To connect wallets to banks
C. To store private keys publicly
D. To help nodes agree on ledger state

4 What generally happens to mining difficulty when blocks are produced too quickly?

Difficulty adjustment and retargeting algorithms Easy
A. The difficulty increases
B. The difficulty disappears
C. The block size doubles
D. The currency supply resets

5 What is the primary goal of a difficulty retargeting algorithm?

Difficulty adjustment and retargeting algorithms Easy
A. To prevent users from creating wallets
B. To keep block production near a target rate
C. To convert coins into traditional currency
D. To give every miner an equal balance

6 Which issue is commonly identified as a limitation of Bitcoin?

Bitcoin limitations Easy
A. Limited transaction processing capacity
B. Absence of digital signatures
C. Lack of a transaction history
D. Unlimited transaction throughput

7 What 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

8 Why 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

9 How 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

10 Which 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

11 What 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

12 What do participants commonly receive during an ICO?

Initial Coin Offerings (ICOs) Easy
A. Mining equipment
B. Digital tokens
C. Paper certificates
D. Bank ownership

13 Who 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

14 What 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

15 Where 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

16 What 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

17 What 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

18 What 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

19 How 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

20 What 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

21 A 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

22 Why 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

23 A 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

24 During 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

25 A 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

26 Two 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

27 Developers 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

28 An 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

29 An 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

30 A 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

31 A 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

32 A 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

33 An 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

34 A 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

35 A 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

36 A 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

37 A 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
B. A mining node storing balances outside consensus
C. A fixed contract with no external call capability
D. A proxy contract delegating calls to upgradeable logic

38 In 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

39 What 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

40 A 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

41 A 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

42 In 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.

43 A 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

44 An 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

45 A 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

46 An 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

47 Two 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

48 An 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

49 An 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

50 A 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

51 Which chronology correctly orders major developments relevant to smart contracts?

History of smart contracts Hard
A. Ethereum, Bitcoin, Ricardian contracts, Szabo's smart-contract work
B. Bitcoin, Szabo's smart-contract work, Ethereum, Ricardian contracts
C. Ricardian contracts, Ethereum, Szabo's work, Bitcoin
D. Szabo's smart-contract work, Ricardian contracts, Bitcoin, Ethereum

52 A 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

53 Parties 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

54 A 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

55 A 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

56 Under 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

57 An 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

58 In 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

59 Which 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

60 A 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