0
0
Blockchain / Solidityprogramming~5 mins

Smart contract concept in Blockchain / Solidity - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a smart contract?
A smart contract is a self-executing program stored on a blockchain that automatically enforces rules and agreements without needing a middleman.
Click to reveal answer
beginner
How does a smart contract work?
It runs code on the blockchain when certain conditions are met, like a digital vending machine that releases a product only after payment.
Click to reveal answer
beginner
Name one key benefit of smart contracts.
They reduce the need for trust because the code runs automatically and transparently, so no one can cheat or change the rules secretly.
Click to reveal answer
beginner
What is a common use case for smart contracts?
Examples include automatic payments, digital identity verification, and managing ownership of digital assets like NFTs.
Click to reveal answer
intermediate
Why are smart contracts considered 'immutable'?
Once deployed on the blockchain, their code cannot be changed, ensuring the rules stay the same and everyone follows them.
Click to reveal answer
What triggers a smart contract to execute?
AWhen the blockchain is restarted
BWhen predefined conditions are met
CAt a fixed time every day
DWhen a user manually runs it
Which of these is NOT a feature of smart contracts?
AAutomatic execution
BTransparency on blockchain
CImmutability after deployment
DRequires a trusted third party
Smart contracts are stored on which technology?
ABlockchain
BCloud server
CLocal computer
DMobile app
What happens if a smart contract's conditions are not met?
AIt sends an error to the user
BIt executes anyway
CIt does not execute
DIt deletes itself
Which is a real-world analogy for a smart contract?
AA vending machine
BA paper contract
CA bank teller
DA phone call
Explain what a smart contract is and how it works in simple terms.
Think of it like a digital vending machine that works by itself.
You got /4 concepts.
    List three benefits or use cases of smart contracts.
    Consider how smart contracts help people avoid needing a trusted third party.
    You got /4 concepts.