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 store all data on one server
B. To assign a password to each node
C. To increase the size of every message
D. To make nodes agree on a common state

2 Why is reaching consensus difficult in a distributed network?

Introducing the consensus problem Easy
A. The network uses only one data format
B. Messages always arrive at the same time
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. All messages have the same byte size
B. New nodes join without any verification
C. Honest nodes do not accept conflicting decisions
D. Every node uses the fastest processor

4 What does liveness mean in consensus protocol design?

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

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

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

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

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

7 What must participants do in Proof of Work?

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

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

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

9 Which factor is important when selecting a consensus algorithm?

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

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

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

11 What is Bitcoin primarily designed to be?

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

12 Who introduced Bitcoin in the original white paper?

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

13 Which key should a Bitcoin owner keep secret?

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

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

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

15 What does a Bitcoin transaction transfer?

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

16 What does UTXO stand for in Bitcoin?

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

17 How are consecutive blocks connected in a blockchain?

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

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

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

19 What is the main role of Bitcoin miners?

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

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

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

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. Clients must submit requests to every replica
C. Correct nodes must agree on the same ordered value
D. All replicas must use identical hardware

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. Every node independently selects a value
B. The smaller group automatically becomes authoritative
C. The protocol temporarily stops finalizing values
D. Both groups finalize different values

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. 3 replicas
C. 2 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. Crash fault
B. Equivocation fault
C. Sybil fault
D. Byzantine 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. Wait for the prepare quorum
B. Commit the request immediately
C. Discard the request permanently
D. Elect a new primary immediately

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 follower deletes its newer entries
B. The candidate commits its log locally
C. The follower immediately becomes leader
D. The follower rejects the vote request

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. Longest-chain lottery selection
B. PBFT-style validator voting
C. Proof-of-Work hash mining
D. Single-node transaction approval

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. Round-robin scheduling
C. PBFT membership voting
D. Proof-of-Work mining

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 received from the nearest peer
B. The branch with the greatest cumulative work
C. The branch with the earliest transaction
D. The branch with the most transactions

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 a value stored in the private key
C. As the sum of spendable UTXOs
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 generated the containing block
B. Alice owns every existing bitcoin
C. Alice authorized the transaction data
D. Alice encrypted the transaction amount

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. Send the UTXO to a fresh secure address
B. Wait until the next difficulty adjustment
C. Change only the wallet's display password
D. Publish the private key to network peers

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.10 BTC
B. 0.05 BTC
C. 0.02 BTC
D. 0.07 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.699 BTC
B. 0.701 BTC
C. 0.999 BTC
D. 0.700 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. The block and descendant hash links become invalid
B. Later blocks automatically repair the modification
C. The Merkle root remains exactly the same
D. Only the transaction signature changes

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. 10 hashes
B. 512 hashes
C. 1024 hashes
D. 8 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 doubles and probability stays equal
B. Difficulty doubles and probability halves
C. Difficulty stays equal and probability halves
D. Difficulty halves and probability doubles

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

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

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. Agreement while preserving termination and validity
B. Termination while preserving agreement and validity
C. Authentication while preserving agreement and validity
D. Validity while preserving agreement and termination

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 exactly replicas, all potentially Byzantine
B. They intersect in at least replicas, including a leader
C. They intersect in at least replicas, including an honest replica
D. They intersect in exactly one replica, which must be honest

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. Omission failure, because one vote may be ignored by peers
B. Byzantine failure, because the process equivocates arbitrarily
C. Crash-stop failure, because the process stops following one branch
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 probabilistic finality based only on elapsed time
B. Nakamoto finality is probabilistic, while BFT commits can have deterministic safety
C. Both provide deterministic finality once a simple majority votes
D. Nakamoto finality is deterministic, while BFT finality weakens over 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 associated with the lowest-numbered accepted proposal
B. The value associated with the highest-numbered accepted proposal
C. The proposer's original value regardless of prior accepted proposals
D. The value reported by the largest number of responding acceptors

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 guarantees that every server stores every historical log entry
B. It prevents disjoint configuration majorities from committing conflicting logs
C. It allows two leaders to commit concurrently during reconfiguration
D. It removes the need for election terms during membership changes

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 PBFT-family protocol using five-validator commit quorums
B. A Raft protocol using four-validator replication quorums
C. A Nakamoto protocol using open proof-of-work mining
D. A Paxos protocol assuming only two crash failures

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. Proof-of-work Nakamoto consensus with confirmation-depth finality
B. Stake-weighted BFT with slashing and finalized checkpoints
C. Unweighted PBFT allowing unlimited pseudonymous public keys
D. Crash-tolerant Raft with an unrestricted validator population

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 only if an alternative chain has more confirmed blocks
B. Accept it because majority hash power determines transaction validity
C. Accept it after the invalid transaction receives six confirmations
D. Reject it because cumulative work is compared only among valid chains

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 its cumulative work is
B. Branch A, because block count overrides per-block difficulty
C. Branch A, because it contains one additional block
D. Branch B, because shorter branches always propagate faster

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. Every valid -coordinate corresponds to exactly one possible value
B. The private key can be derived from and used to recompute
C. The curve equation gives two candidate values, and the prefix selects one
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 automatically rewritten to spend a corresponding output of
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 evicted because its referenced parent output is no longer available

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. Both its txid and wtxid necessarily become identical
B. Its txid stays unchanged, while its wtxid changes
C. Its txid changes, while its wtxid stays unchanged
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 the header chain links back through previous-block hashes
B. That the block header contributes proof of work to its branch
C. That every transaction and script in the block obeys consensus rules
D. That the transaction hash is committed by the block's Merkle root

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

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 remains , and the difficulty remains unchanged
B. The target becomes , and the difficulty approximately doubles
C. The target becomes , and the difficulty approximately doubles
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. Lower the encoded target locally and continue hashing the same header
B. Modify the coinbase extraNonce, recompute the Merkle root, and search again
C. Change the previous-block hash while retaining the same parent block
D. Reuse nonce values with a different network timestamp but unchanged header