Unit 3: Consensus Algorithms and Bitcoin Introduction - Practice Quiz

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

1 What is the main goal of consensus in a distributed system?

Introducing the consensus problem Easy
A. To make nodes agree on a common state
B. To store all data on one server
C. To assign a password to each node
D. To increase the size of every message

2 Why is reaching consensus difficult in a distributed network?

Introducing the consensus problem Easy
A. Messages always arrive at the same time
B. The network uses only one data format
C. Nodes may fail or send conflicting information
D. Every node always has identical hardware

3 What does the safety property of a consensus protocol ensure?

Consensus analysis and design Easy
A. New nodes join without any verification
B. Honest nodes do not accept conflicting decisions
C. All messages have the same byte size
D. Every node uses the fastest processor

4 What does liveness mean in consensus protocol design?

Consensus analysis and design Easy
A. The system never exchanges messages
B. The ledger remains permanently empty
C. The nodes always use one computer
D. The system eventually makes progress

5 Which type of blockchain allows anyone to participate without prior approval?

Consensus classification Easy
A. Private database
B. Permissionless blockchain
C. Permissioned blockchain
D. Centralized ledger

6 Which fault model assumes that nodes may behave arbitrarily or maliciously?

Consensus classification Easy
A. Crash fault model
B. Storage fault model
C. Byzantine fault model
D. Timing fault model

7 What must participants do in Proof of Work?

Consensus algorithms Easy
A. Delete previously confirmed blocks
B. Receive approval from one bank
C. Solve a computational puzzle
D. Memorize every private key

8 In Proof of Stake, validator selection is primarily related to what?

Consensus algorithms Easy
A. The physical location of the validator
B. The amount of cryptocurrency staked
C. The screen size of the computer
D. The number of passwords stored

9 Which factor is important when selecting a consensus algorithm?

Choosing an algorithm Easy
A. Brand of the user keyboard
B. Preferred color of the interface
C. Shape of the network cables
D. Required security and performance

10 Which consensus approach is generally suitable for a network with known and approved participants?

Choosing an algorithm Easy
A. Unrestricted participation
B. Anonymous mining
C. Permissioned consensus
D. Open lottery consensus

11 What is Bitcoin primarily designed to be?

Bitcoin—an overview Easy
A. A centralized email service
B. A physical banking card
C. A decentralized digital currency
D. A private file format

12 Who introduced Bitcoin in the original white paper?

Bitcoin—an overview Easy
A. Satoshi Nakamoto
B. Alan Turing
C. Vitalik Buterin
D. Tim Berners-Lee

13 Which key should a Bitcoin owner keep secret?

Cryptographic keys Easy
A. Network key
B. Private key
C. Block key
D. Public key

14 What is a private key used for in a Bitcoin transaction?

Cryptographic keys Easy
A. Selecting the network port
B. Changing the mining reward
C. Increasing the block size
D. Creating a digital signature

15 What does a Bitcoin transaction transfer?

Transactions Easy
A. Control of bitcoin value
B. Copies of private passwords
C. Access to a central server
D. Ownership of mining hardware

16 What does UTXO stand for in Bitcoin?

Transactions Easy
A. Universal Transaction Exchange Order
B. Updated Transfer Execution Option
C. Unspent Transaction Output
D. Unified Token Export Operation

17 How are consecutive blocks connected in a blockchain?

Blockchain Easy
A. Using the previous block's hash
B. Using the miner's email address
C. Using the transaction's file name
D. Using a shared private password

18 What is likely to happen if data inside an old block is changed?

Blockchain Easy
A. The private keys become public
B. The mining reward becomes fixed
C. The network becomes centralized
D. The block's hash will change

19 What is the main role of Bitcoin miners?

Mining Easy
A. Validate transactions and propose blocks
B. Replace every public key manually
C. Create passwords for all users
D. Operate a central banking server

20 What value do Bitcoin miners repeatedly change while searching for a valid block hash?

Mining Easy
A. Nonce
B. Public key
C. Wallet address
D. Block reward

21 Several replicated nodes receive client requests in different orders. What is the main consensus requirement for maintaining a consistent replicated state?

Introducing the consensus problem Medium
A. Each node must process requests at maximum speed
B. All replicas must use identical hardware
C. Correct nodes must agree on the same ordered value
D. Clients must submit requests to every replica

22 A Byzantine fault-tolerant system requires at least replicas to tolerate Byzantine replicas. What is the maximum number of Byzantine faults that 10 replicas can tolerate?

Introducing the consensus problem Medium
A. 4 faults
B. 2 faults
C. 5 faults
D. 3 faults

23 A consensus protocol prioritizes safety during a network partition. What behavior should be expected if the separated groups cannot form the required quorum?

Consensus analysis and design Medium
A. The protocol temporarily stops finalizing values
B. Every node independently selects a value
C. Both groups finalize different values
D. The smaller group automatically becomes authoritative

24 In a system of 7 replicas, decisions require a quorum of 5 replicas. What is the minimum possible overlap between any two decision quorums?

Consensus analysis and design Medium
A. 1 replica
B. 2 replicas
C. 3 replicas
D. 5 replicas

25 A replica stops responding because of a power failure but never sends incorrect messages. How should this fault be classified?

Consensus classification Medium
A. Equivocation fault
B. Byzantine fault
C. Sybil fault
D. Crash fault

26 A blockchain permits anyone to join validation without prior approval and uses an economic resource to limit influence. Which classification best applies?

Consensus classification Medium
A. Centralized replication
B. Crash-only consensus
C. Permissionless consensus
D. Permissioned consensus

27 In PBFT, a replica has received a valid pre-prepare message but has not yet received enough matching prepare messages. What should it do?

Consensus algorithms Medium
A. Elect a new primary immediately
B. Wait for the prepare quorum
C. Commit the request immediately
D. Discard the request permanently

28 A Raft follower has a more up-to-date log than a candidate requesting its vote. Which rule helps prevent the stale candidate from becoming leader?

Consensus algorithms Medium
A. The candidate commits its log locally
B. The follower immediately becomes leader
C. The follower rejects the vote request
D. The follower deletes its newer entries

29 A consortium blockchain has 12 known validators, needs fast finality, and must avoid energy-intensive mining. Which approach is most suitable?

Choosing an algorithm Medium
A. Proof-of-Work hash mining
B. Longest-chain lottery selection
C. Single-node transaction approval
D. PBFT-style validator voting

30 A public network allows anonymous nodes to join freely. Which algorithmic approach most directly provides Sybil resistance through computational cost?

Choosing an algorithm Medium
A. Raft leader election
B. Proof-of-Work mining
C. PBFT membership voting
D. Round-robin scheduling

31 Two valid Bitcoin branches temporarily exist after miners discover blocks at nearly the same time. Which branch should a node eventually prefer?

Bitcoin—an overview Medium
A. The branch with the earliest transaction
B. The branch with the most transactions
C. The branch received from the nearest peer
D. The branch with the greatest cumulative work

32 A wallet displays a balance of 2 BTC formed from three unspent outputs. How is that balance represented on the Bitcoin network?

Bitcoin—an overview Medium
A. As a counter maintained by miners
B. As the sum of spendable UTXOs
C. As a value stored in the private key
D. As a balance stored in the block header

33 Alice signs a Bitcoin transaction using her private key. What can other nodes verify using the corresponding public key?

Cryptographic keys Medium
A. Alice authorized the transaction data
B. Alice owns every existing bitcoin
C. Alice encrypted the transaction amount
D. Alice generated the containing block

34 A user's Bitcoin private key is exposed, but the associated UTXO has not yet been spent. What is the safest immediate response?

Cryptographic keys Medium
A. Publish the private key to network peers
B. Change only the wallet's display password
C. Send the UTXO to a fresh secure address
D. Wait until the next difficulty adjustment

35 A Bitcoin transaction consumes an input worth 1.2 BTC and creates outputs worth 0.70 BTC and 0.45 BTC. What transaction fee does it offer?

Transactions Medium
A. 0.07 BTC
B. 0.02 BTC
C. 0.10 BTC
D. 0.05 BTC

36 A wallet spends a 1 BTC UTXO, pays 0.30 BTC to a merchant, and assigns a 0.001 BTC fee. What value should the change output contain?

Transactions Medium
A. 0.701 BTC
B. 0.699 BTC
C. 0.700 BTC
D. 0.999 BTC

37 An attacker changes a transaction in an old block while leaving the rest of the stored chain unchanged. What is the immediate structural effect?

Blockchain Medium
A. Only the transaction signature changes
B. Later blocks automatically repair the modification
C. The block and descendant hash links become invalid
D. The Merkle root remains exactly the same

38 A block contains 1024 transactions in a balanced binary Merkle tree. How many sibling hashes are needed for a standard Merkle inclusion proof?

Blockchain Medium
A. 1024 hashes
B. 10 hashes
C. 8 hashes
D. 512 hashes

39 Suppose Bitcoin's mining target is reduced to half its previous value while hash outputs remain uniformly distributed. What happens to mining difficulty and success probability per hash?

Mining Medium
A. Difficulty halves and probability doubles
B. Difficulty doubles and probability stays equal
C. Difficulty doubles and probability halves
D. Difficulty stays equal and probability halves

40 What distinguishes the coinbase transaction created by a Bitcoin miner from an ordinary transaction?

Mining Medium
A. It bypasses the block's transaction validation rules
B. It spends only outputs from the previous block
C. It transfers every block transaction to the miner
D. It creates the block subsidy and collects fees

41 In a fully asynchronous message-passing system with reliable channels, deterministic processes, and the possibility of one crash failure, which requirement cannot be guaranteed for every admissible execution according to the FLP result?

Introducing the consensus problem Hard
A. Validity while preserving agreement and termination
B. Agreement while preserving termination and validity
C. Termination while preserving agreement and validity
D. Authentication while preserving agreement and validity

42 A Byzantine consensus protocol has replicas and requires a quorum of votes. What is the key safety property of any two such quorums?

Introducing the consensus problem Hard
A. They intersect in at least replicas, including a leader
B. They intersect in exactly replicas, all potentially Byzantine
C. They intersect in exactly one replica, which must be honest
D. They intersect in at least replicas, including an honest replica

43 A partially synchronous BFT protocol has four replicas and tolerates one Byzantine failure using three-vote commit certificates. During an extended network partition, the replicas split into two groups of two. What should a correctly designed protocol do?

Consensus analysis and design Hard
A. Let the current leader commit without collecting a quorum
B. Let each partition commit using its local two-vote majority
C. Reduce the quorum to two after a timeout expires
D. Halt new commits until a group can collect three votes

44 A weighted BFT design has total voting weight , Byzantine weight strictly below , and commit quorums with weight strictly above . Why can two conflicting commit quorums not consist solely of Byzantine overlap?

Consensus analysis and design Hard
A. Their intersection exceeds and therefore contains honest weight
B. Their intersection equals and therefore contains the leader
C. Their intersection exceeds and therefore forms another quorum
D. Their union is below and therefore excludes faulty weight

45 A validator sends two correctly signed but conflicting votes for the same consensus height and round. Under which failure model must this behavior be classified?

Consensus classification Hard
A. Byzantine failure, because the process equivocates arbitrarily
B. Crash-stop failure, because the process stops following one branch
C. Omission failure, because one vote may be ignored by peers
D. Timing failure, because the votes may arrive in different orders

46 Which statement most accurately distinguishes Nakamoto consensus from classical BFT consensus under their standard assumptions?

Consensus classification Hard
A. Both provide deterministic finality once a simple majority votes
B. Nakamoto finality is deterministic, while BFT finality weakens over time
C. Nakamoto finality is probabilistic, while BFT commits can have deterministic safety
D. Both provide probabilistic finality based only on elapsed time

47 In Paxos, a proposer completes Phase 1 and receives promises from a majority. Some responses report previously accepted values with different proposal numbers. Which value must the proposer use in Phase 2?

Consensus algorithms Hard
A. The value reported by the largest number of responding acceptors
B. The value associated with the lowest-numbered accepted proposal
C. The proposer's original value regardless of prior accepted proposals
D. The value associated with the highest-numbered accepted proposal

48 Why does Raft's joint-consensus approach require majorities from both the old and new configurations while a membership change is being committed?

Consensus algorithms Hard
A. It prevents disjoint configuration majorities from committing conflicting logs
B. It removes the need for election terms during membership changes
C. It allows two leaders to commit concurrently during reconfiguration
D. It guarantees that every server stores every historical log entry

49 A permissioned financial network has seven known validators, must tolerate two validators behaving arbitrarily, and requires low-latency finality. Which design best matches these requirements?

Choosing an algorithm Hard
A. A Paxos protocol assuming only two crash failures
B. A Raft protocol using four-validator replication quorums
C. A Nakamoto protocol using open proof-of-work mining
D. A PBFT-family protocol using five-validator commit quorums

50 A public blockchain requires Sybil-resistant validator participation, low energy consumption, and deterministic finality after a quorum certificate under partial synchrony. Which architecture is the best fit?

Choosing an algorithm Hard
A. Crash-tolerant Raft with an unrestricted validator population
B. Stake-weighted BFT with slashing and finalized checkpoints
C. Proof-of-work Nakamoto consensus with confirmation-depth finality
D. Unweighted PBFT allowing unlimited pseudonymous public keys

51 An attacker controls 60% of Bitcoin's hash rate and mines a high-work chain containing a transaction that spends a nonexistent UTXO. How should an honest fully validating node treat that chain?

Bitcoin—an overview Hard
A. Reject it because cumulative work is compared only among valid chains
B. Accept it after the invalid transaction receives six confirmations
C. Reject it only if an alternative chain has more confirmed blocks
D. Accept it because majority hash power determines transaction validity

52 Two otherwise valid Bitcoin branches share the same ancestor. Branch A adds six blocks, each contributing work equivalent to difficulty . Branch B adds five blocks, each contributing work equivalent to difficulty . Which branch is selected?

Bitcoin—an overview Hard
A. Branch B, because shorter branches always propagate faster
B. Branch A, because it contains one additional block
C. Branch A, because block count overrides per-block difficulty
D. Branch B, because its cumulative work is

53 Two ECDSA signatures and on hashes and reuse the same nonce under private key . Assuming all required inverses exist modulo the curve order , which expression recovers ?

Cryptographic keys Hard
A.
B.
C.
D.

54 A compressed secp256k1 public key stores an -coordinate and a prefix indicating whether is even or odd. Why is this sufficient to reconstruct the full public key?

Cryptographic keys Hard
A. The private key can be derived from and used to recompute
B. The curve equation gives two candidate values, and the prefix selects one
C. Every valid -coordinate corresponds to exactly one possible value
D. The prefix contains a hash that uniquely regenerates both coordinates

55 A mempool contains transaction spending UTXO and child transaction spending an output of . A valid replace-by-fee transaction spending replaces . What happens to ?

Transactions Hard
A. It is evicted because its referenced parent output is no longer available
B. It becomes confirmed once is included in a valid block
C. It remains valid because its signature committed to the original parent
D. It is automatically rewritten to spend a corresponding output of

56 Suppose a native SegWit transaction's witness is changed to a different witness that still satisfies the spending conditions. Before inclusion in a block, which identifier behavior is expected?

Transactions Hard
A. Its txid stays unchanged, while its wtxid changes
B. Its txid changes, while its wtxid stays unchanged
C. Both its txid and wtxid necessarily become identical
D. Both its txid and wtxid remain unchanged

57 An SPV client verifies a transaction's Merkle path to a block header and verifies that the header belongs to the highest-chainwork header chain. What has the client still not independently established?

Blockchain Hard
A. That every transaction and script in the block obeys consensus rules
B. That the block header contributes proof of work to its branch
C. That the transaction hash is committed by the block's Merkle root
D. That the header chain links back through previous-block hashes

58 Transaction was confirmed on a branch that is later disconnected during a reorganization. The new active branch contains a valid conflicting transaction that spends the same input. What is the resulting status of ?

Blockchain Hard
A. It becomes unconfirmed and cannot re-enter the mempool because its input is spent
B. It is transferred automatically to the corresponding height of the new branch
C. It remains confirmed because it once appeared in a proof-of-work block
D. It re-enters the mempool and invalidates the new branch's transaction

59 Ignoring timestamp manipulation and assuming the adjustment clamp is not reached, a Bitcoin difficulty period takes 7 days instead of the expected 14 days. If the old target was , what are the approximate new target and difficulty?

Mining Hard
A. The target becomes , and the difficulty approximately doubles
B. The target becomes , and the difficulty approximately doubles
C. The target remains , and the difficulty remains unchanged
D. The target becomes , and the difficulty approximately halves

60 A miner has exhausted all values of the block header nonce without finding a hash below the target. Which action provides a fresh search space while preserving the candidate block's general transaction set?

Mining Hard
A. Reuse nonce values with a different network timestamp but unchanged header
B. Lower the encoded target locally and continue hashing the same header
C. Modify the coinbase extraNonce, recompute the Merkle root, and search again
D. Change the previous-block hash while retaining the same parent block