0
0
Blockchain / Solidityprogramming~5 mins

Blocks, chains, and hashing in Blockchain / Solidity - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a block in a blockchain?
A block is a container that holds a list of transactions and some metadata like a timestamp and a reference to the previous block.
Click to reveal answer
beginner
Why do blocks form a chain in blockchain?
Blocks form a chain by linking each block to the previous one using a reference called a hash, creating a secure and ordered sequence.
Click to reveal answer
beginner
What is hashing in the context of blockchain?
Hashing is a process that turns data into a fixed-size string of characters, which acts like a digital fingerprint for the block's content.
Click to reveal answer
intermediate
How does hashing help secure the blockchain?
Hashing makes it easy to detect changes because even a tiny change in the block data changes the hash completely, breaking the chain if tampered.
Click to reveal answer
intermediate
What is the role of the previous block's hash in a new block?
It links the new block to the previous one, ensuring the chain's order and integrity by making blocks dependent on each other.
Click to reveal answer
What does a block in a blockchain typically contain?
AA list of transactions and a reference to the previous block
BOnly a list of transactions
COnly a timestamp
DUser passwords
What is the purpose of hashing in blockchain?
ATo encrypt user data
BTo create a unique fingerprint of block data
CTo speed up transactions
DTo store passwords
What happens if data in a block changes after hashing?
AThe block deletes itself
BNothing changes
CThe previous block changes
DThe hash changes, breaking the chain
How does a blockchain ensure the order of blocks?
ABy linking each block to the previous block's hash
BBy using timestamps only
CBy sorting blocks alphabetically
DBy user approval
Why is the chain structure important in blockchain?
AIt hides data from users
BIt makes transactions faster
CIt secures data by making blocks dependent on each other
DIt stores user passwords
Explain how blocks are linked together in a blockchain and why this is important.
Think about how a chain is formed by connecting links.
You got /3 concepts.
    Describe what hashing does in a blockchain and how it helps keep data secure.
    Imagine a fingerprint that changes if you change even a small detail.
    You got /3 concepts.