computer science Flashcards
Blockchain Project Note
What is Blockchain?
A digital system that records transactions securely across multiple computers
Prevents tampering and ensures transparency.
What are the key parts of a blockchain?
- Blocks
- Chains
- Nodes
- Consensus mechanisms
Define a Block in the context of Blockchain.
A digital record of transactions
Define a Chain in the context of Blockchain.
A series of blocks linked together
Define a Node in the context of Blockchain.
A computer in the network
What is a Consensus Mechanism?
Rules that ensure all nodes agree on the data (e.g., Proof of Work)
How do Transactions Work in Blockchain?
- A transaction is made
- Nodes verify the transaction
- The transaction is added to a block
- The block is linked to the chain
- The updated chain is shared with all nodes
What is a Public Blockchain?
Open to everyone (e.g., Bitcoin)
What is a Private Blockchain?
Restricted to certain users
What is a Consortium Blockchain?
Managed by multiple organizations
What is a Cryptographic Hash Function?
Converts data into a unique code
What is the purpose of a Cryptographic Hash Function?
Helps secure data and prevent tampering
Give an example of a Cryptographic Hash Function.
SHA-256 (used in Bitcoin)
What are Smart Contracts?
Programs that run automatically when conditions are met
On which platform are Smart Contracts commonly used?
Ethereum
Name two applications of Blockchain.
- Cryptocurrencies (e.g., Bitcoin, Ethereum)
- Tracking supply chains
List some advantages of Blockchain.
- Secure
- Transparent
- Decentralized
What are some challenges of Blockchain technology?
- High energy use
- Slow transactions
- Complex regulations
What programming languages are used for Blockchain development?
- Solidity
- Python
Name two platforms used for Blockchain.
- Ethereum
- Hyperledger
What tools are commonly used in Blockchain development?
- MetaMask
- Ganache
- Remix IDE
What are the steps involved in creating and deploying a Smart Contract?
- Research blockchain basics
- Choose a platform (e.g., Ethereum)
- Write a smart contract
- Test it on a test network
- Deploy it on the main network
What role does a Node play in the Blockchain network?
Verifies transactions and maintains the blockchain