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 assign a password to each node
B. To store all data on one server
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. Messages always arrive at the same time
B. Every node always has identical hardware
C. Nodes may fail or send conflicting information
D. The network uses only one data format

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

Consensus analysis and design Easy
A. Honest nodes do not accept conflicting decisions
B. All messages have the same byte size
C. New nodes join without any verification
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 system eventually makes progress
C. The ledger remains permanently empty
D. The nodes always use one computer

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

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

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

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

7 What must participants do in Proof of Work?

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

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

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

9 Which factor is important when selecting a consensus algorithm?

Choosing an algorithm Easy
A. Shape of the network cables
B. Preferred color of the interface
C. Brand of the user keyboard
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. Anonymous mining
B. Unrestricted participation
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 private file format
C. A physical banking card
D. A decentralized digital currency

12 Who introduced Bitcoin in the original white paper?

Bitcoin—an overview Easy
A. Satoshi Nakamoto
B. Vitalik Buterin
C. Alan Turing
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. Creating a digital signature
B. Changing the mining reward
C. Increasing the block size
D. Selecting the network port

15 What does a Bitcoin transaction transfer?

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

16 What does UTXO stand for in Bitcoin?

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

17 How are consecutive blocks connected in a blockchain?

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

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

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

19 What is the main role of Bitcoin miners?

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

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

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

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. Correct nodes must agree on the same ordered value
B. Each node must process requests at maximum speed
C. All replicas must use identical hardware
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. 3 faults
C. 5 faults
D. 2 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. Both groups finalize different values
C. Every node independently selects a value
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. Sybil fault
B. Byzantine fault
C. Equivocation 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. Permissioned consensus
B. Centralized replication
C. Crash-only consensus
D. Permissionless 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. Discard the request permanently
B. Commit the request immediately
C. Wait for the prepare quorum
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 immediately becomes leader
B. The follower rejects the vote request
C. The follower deletes its newer entries
D. The candidate commits its log locally

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

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 greatest cumulative work
B. The branch received from the nearest peer
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 value stored in the private key
B. As the sum of spendable UTXOs
C. As a counter maintained by miners
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 encrypted the transaction amount
D. Alice authorized the transaction data

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

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

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. 8 hashes
B. 1024 hashes
C. 512 hashes
D. 10 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 halves
B. Difficulty halves and probability doubles
C. Difficulty doubles and probability stays equal
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 transfers every block transaction to the miner
C. It spends only outputs from the previous block
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. Agreement while preserving termination and validity
B. Validity while preserving agreement and termination
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 at least replicas, including an honest replica
C. They intersect in exactly replicas, all potentially Byzantine
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 each partition commit using its local two-vote majority
B. Reduce the quorum to two after a timeout expires
C. Halt new commits until a group can collect three votes
D. Let the current leader commit without collecting a quorum

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 equals and therefore contains the leader
B. Their intersection exceeds and therefore forms another quorum
C. Their union is below and therefore excludes faulty weight
D. Their intersection exceeds and therefore contains honest 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 probabilistic finality based only on elapsed time
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 deterministic finality once a simple majority votes

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 proposer's original value regardless of prior accepted proposals
B. The value associated with the lowest-numbered accepted proposal
C. The value associated with the highest-numbered accepted proposal
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 prevents disjoint configuration majorities from committing conflicting logs
B. It allows two leaders to commit concurrently during reconfiguration
C. It removes the need for election terms during membership changes
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 Raft protocol using four-validator replication quorums
B. A PBFT-family protocol using five-validator commit 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. Stake-weighted BFT with slashing and finalized checkpoints
B. Unweighted PBFT allowing unlimited pseudonymous public keys
C. Crash-tolerant Raft with an unrestricted validator population
D. Proof-of-work Nakamoto consensus with confirmation-depth finality

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. Reject it because cumulative work is compared only among valid chains
C. Accept it after the invalid transaction receives six confirmations
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 A, because block count overrides per-block difficulty
B. Branch A, because it contains one additional block
C. Branch B, because shorter branches always propagate faster
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. Every valid -coordinate corresponds to exactly one possible value
C. The prefix contains a hash that uniquely regenerates both coordinates
D. The curve equation gives two candidate values, and the prefix selects one

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 remains valid because its signature committed to the original parent
B. It is evicted because its referenced parent output is no longer available
C. It becomes confirmed once is included in a valid block
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 changes, while its wtxid stays unchanged
B. Both its txid and wtxid remain unchanged
C. Both its txid and wtxid necessarily become identical
D. Its txid stays unchanged, while its wtxid changes

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 transaction hash is committed by the block's Merkle root
C. That every transaction and script in the block obeys consensus rules
D. That the block header contributes proof of work to its branch

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

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 halves
D. The target becomes , and the difficulty approximately doubles

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