How Bitcoin Works
- 19Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is the primary purpose of digital signatures in a cryptocurrency system?
What is the primary purpose of digital signatures in a cryptocurrency system?
19 questions
- 1
What is the primary purpose of digital signatures in a cryptocurrency system?
- A
To encrypt transaction data so only the sender and receiver can read it
- B
To ensure that transactions are processed in the order they are received
- C
To hide the identities of the transaction participants
- D
To prove that the sender authorized a specific transaction and prevent forgery
Correct answer
DTo prove that the sender authorized a specific transaction and prevent forgery
Explanation
Digital signatures allow the sender to sign a message with their private key, and anyone can verify the signature using the public key. This proves the sender authorized that exact transaction, and it is infeasible for others to forge the signature.
- A
- 2
In a digital signature scheme, what does the private key (secret key) allow you to do?
- A
Generate the public key from the private key at any time
- B
Decrypt messages that were encrypted with your public key
- C
Produce a signature that depends on the message being signed
- D
Verify that a signature is valid for a given message
Correct answer
CProduce a signature that depends on the message being signed
Explanation
The private key is used to produce a signature that depends on the message. This ensures only the holder of the private key can sign, and the signature changes for different messages.
- A
- 3
How does a digital signature prevent replay attacks on a public ledger?
- A
By encrypting the entire ledger with the sender's private key
- B
By including a unique transaction ID in the signed message
- C
By limiting the number of times a signature can be used
- D
By requiring each transaction to be verified by a central authority
Correct answer
BBy including a unique transaction ID in the signed message
Explanation
To prevent replay, the signed message must include a unique ID for that transaction. Even if the same sender pays the same amount again, the ID changes, requiring a new signature.
- A
- 4
What property of a cryptographic hash function makes it useful for proof-of-work?
- A
It guarantees that no two inputs produce the same output
- B
It can be computed very quickly on any computer
- C
It produces a fixed-length output for any input
- D
It is infeasible to find an input that produces a given output
Correct answer
DIt is infeasible to find an input that produces a given output
Explanation
Cryptographic hash functions are one-way: given a desired output, there is no better strategy than guessing inputs to find one that hashes to that output. This makes proof-of-work require computational effort.
- A
- 5
What is meant by the 'avalanche effect' in a cryptographic hash function?
- A
The hash function fails if too many inputs are hashed simultaneously
- B
Changing one bit of the input completely changes the output hash
- C
The hash function becomes slower as more inputs are processed
- D
Small inputs produce disproportionately large output hashes
Correct answer
BChanging one bit of the input completely changes the output hash
Explanation
A small change in the input (like flipping one bit) causes the output hash to change completely and unpredictably. This is a desired property for security.
- A
- 6
Why is the number 2256 considered astronomically large in the context of hash functions?
- A
It is the maximum number of transactions that can be stored in a block
- B
It is the block reward in the Bitcoin protocol
- C
It is the approximate number of atoms in the observable universe
- D
It is the number of possible 256-bit outputs, making brute-force attacks infeasible
Correct answer
DIt is the number of possible 256-bit outputs, making brute-force attacks infeasible
Explanation
A 256-bit hash has 2256 possible values. Guessing an input to match a specific hash requires on average 2255 tries, which is computationally infeasible with current technology.
- A
- 7
What is a proof-of-work in the context of a blockchain?
- A
A cryptographic hash of the entire blockchain history
- B
A consensus rule that requires all miners to vote on the next block
- C
A digital signature that verifies the identity of the block creator
- D
A number such that the hash of the block starts with a required number of zeros
Correct answer
DA number such that the hash of the block starts with a required number of zeros
Explanation
The proof-of-work is a special number (nonce) that, when appended to the block data and hashed, produces a hash with a certain number of leading zeros. Finding it requires many guesses, but verifying is easy.
- A
- 8
How does proof-of-work provide evidence of computational effort?
- A
The miner must solve a complex mathematical equation that takes time
- B
The probability of finding a valid nonce is low, so the miner must try many candidates
- C
The block creator must perform a hash of all previous blocks
- D
The proof-of-work is verified by multiple nodes, requiring redundant computation
Correct answer
BThe probability of finding a valid nonce is low, so the miner must try many candidates
Explanation
Since the hash function is one-way, the only way to find a nonce that yields the required leading zeros is to try many different nonces. The number of attempts required on average is proportional to the difficulty.
- A
- 9
In Bitcoin, what does a block contain besides a list of transactions?
- A
The digital signatures of the block creator and all miners
- B
The current difficulty target and the block reward amount
- C
The public keys of all participants in the transactions
- D
The hash of the previous block and a proof-of-work (nonce)
Correct answer
DThe hash of the previous block and a proof-of-work (nonce)
Explanation
Each block includes a header with the hash of the previous block and a proof-of-work nonce. This chains blocks together and makes the blockchain tamper-evident.
- A
- 10
Why must a block include the hash of the previous block?
- A
To speed up the verification of digital signatures
- B
To reduce the size of the block by compressing transaction data
- C
To ensure that blocks are linked in a specific order and prevent tampering
- D
To allow miners to verify transactions without checking the full history
Correct answer
CTo ensure that blocks are linked in a specific order and prevent tampering
Explanation
Including the previous block's hash creates a chain. If an attacker tries to modify an earlier block, the hash changes, requiring all subsequent blocks to be re-mined, which becomes computationally infeasible.
- A
- 11
What is the primary economic incentive for miners to create new blocks?
- A
Earning interest on the currency they hold
- B
Collecting transaction fees from users who want faster confirmation
- C
Receiving the block reward, which creates new currency units
- D
Gaining voting power in the network's governance decisions
Correct answer
CReceiving the block reward, which creates new currency units
Explanation
Miners are rewarded with newly created currency (block reward) for each block they successfully mine. Transaction fees are an additional incentive, but the block reward is the primary source.
- A
- 12
How does the block reward affect the total supply of a cryptocurrency like Bitcoin?
- A
It reduces the supply by burning a portion of the reward
- B
It decreases the total supply over time as miners pay for electricity
- C
It has no effect because the reward is taken from transaction fees
- D
It increases the total supply with each new block, subject to a halving schedule
Correct answer
DIt increases the total supply with each new block, subject to a halving schedule
Explanation
The block reward introduces new coins into circulation. In Bitcoin, the reward halves every 210,000 blocks, eventually leading to a maximum supply of 21 million coins.
- A
- 13
What rule do participants follow to resolve conflicts between two different blockchains?
- A
Trust the blockchain that has the most transaction fees
- B
Trust the blockchain with the most proof-of-work (the longest chain)
- C
Trust the blockchain endorsed by a majority of miners' digital signatures
- D
Trust the blockchain that was created first chronologically
Correct answer
BTrust the blockchain with the most proof-of-work (the longest chain)
Explanation
The consensus rule is to always choose the chain with the most accumulated proof-of-work (usually the longest chain). This ensures that the network can agree on a single history without a central authority.
- A
- 14
Why is it safe to consider a transaction confirmed after several blocks are added on top of it?
- A
The block reward decreases, making attacks less profitable
- B
The transaction signatures become stronger over time
- C
An attacker would need to redo the proof-of-work for all subsequent blocks, requiring overwhelming computation
- D
The network automatically deletes unconfirmed transactions after a few blocks
Correct answer
CAn attacker would need to redo the proof-of-work for all subsequent blocks, requiring overwhelming computation
Explanation
To reverse a transaction, an attacker would need to create a longer chain of blocks that excludes that transaction. The more blocks that follow, the more computational power is needed to catch up, making it infeasible for an attacker with less than 50% of the network's hash power.
- A
- 15
In Bitcoin, how is the difficulty of mining adjusted over time?
- A
It is increased or decreased so that blocks are found approximately every 10 minutes
- B
It is proportional to the transaction volume on the network
- C
It is changed by a vote among miners every 2016 blocks
- D
It is set permanently at the genesis block and never changes
Correct answer
AIt is increased or decreased so that blocks are found approximately every 10 minutes
Explanation
Bitcoin adjusts the difficulty (the number of leading zeros required) every 2016 blocks (about 2 weeks) to maintain an average block time of 10 minutes, accounting for changes in total network hash power.
- A
- 16
What is the maximum total supply of Bitcoin?
- A
21 million Bitcoin
- B
50 million Bitcoin
- C
There is no maximum supply
- D
1 billion Bitcoin
Correct answer
A21 million Bitcoin
Explanation
Bitcoin's block reward halves every 210,000 blocks, and the geometric series sums to a finite limit of 21 million coins. No more will ever be created after that.
- A
- 17
What role do transaction fees play in the Bitcoin network?
- A
They are mandatory and set by the protocol for every transaction
- B
They are burned (destroyed) to reduce the money supply
- C
They are optional and incentivize miners to include a transaction in a block
- D
They are distributed to all users who hold Bitcoin
Correct answer
CThey are optional and incentivize miners to include a transaction in a block
Explanation
Transaction fees are optional payments made by the sender. Miners choose which transactions to include based on fees, so a higher fee can speed up confirmation, especially when block space is limited.
- A
- 18
Why does Bitcoin have a limit on the number of transactions per block (approximately 2400)?
- A
To give miners an incentive to charge higher transaction fees
- B
To ensure that blocks are found every 10 minutes regardless of transaction volume
- C
To prevent the blockchain from growing too large in size
- D
To increase the value of Bitcoin by making it scarce
Correct answer
CTo prevent the blockchain from growing too large in size
Explanation
The block size limit (originally 1 MB) imposes a cap on the number of transactions per block. This prevents the blockchain from growing too quickly and keeps resource requirements for nodes manageable.
- A
- 19
How does Bitcoin's transaction processing speed compare to Visa's?
- A
Bitcoin processes more transactions per second than Visa because it uses proof-of-work
- B
Bitcoin processes an average of 1700 transactions per second, similar to Visa
- C
Bitcoin processes transactions instantly, while Visa has a delay of several minutes
- D
Bitcoin processes about 2400 transactions per block (every ~10 minutes), much slower than Visa
Correct answer
DBitcoin processes about 2400 transactions per block (every ~10 minutes), much slower than Visa
Explanation
Bitcoin processes up to about 2400 transactions per 10-minute block, giving a throughput of around 4-7 transactions per second. Visa handles an average of 1700 per second, with peak capacity over 24,000 per second.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.