0
0
Blockchain / Solidityprogramming~20 mins

Ethereum vs Bitcoin differences in Blockchain / Solidity - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Blockchain Master: Ethereum vs Bitcoin
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Primary Purpose of Ethereum vs Bitcoin
What is the main difference in the primary purpose between Ethereum and Bitcoin?
ABitcoin is mainly a digital currency, while Ethereum is a platform for decentralized applications.
BEthereum is only used for digital currency, Bitcoin is for smart contracts.
CBoth Ethereum and Bitcoin are only used for storing value with no other functions.
DBitcoin is a platform for decentralized apps, Ethereum is just a digital currency.
Attempts:
2 left
💡 Hint
Think about what you can build on Ethereum beyond just sending money.
Predict Output
intermediate
2:00remaining
Ethereum Smart Contract Gas Cost Calculation
Given this simplified Ethereum smart contract function call, what is the total gas cost if the base cost is 21000 and the function adds 15000 gas?
Blockchain / Solidity
base_gas = 21000
function_gas = 15000
total_gas = base_gas + function_gas
print(total_gas)
A36000
B21000
C15000
D19000
Attempts:
2 left
💡 Hint
Add the base gas and function gas costs.
Predict Output
advanced
2:00remaining
Bitcoin Transaction Fee Calculation
What is the transaction fee if a Bitcoin transaction size is 250 bytes and the fee rate is 50 satoshis per byte?
Blockchain / Solidity
tx_size_bytes = 250
fee_rate_sat_per_byte = 50
fee = tx_size_bytes * fee_rate_sat_per_byte
print(fee)
A5000
B50
C12500
D250
Attempts:
2 left
💡 Hint
Multiply the size by the fee rate.
🧠 Conceptual
advanced
2:00remaining
Consensus Mechanism Difference
Which consensus mechanism does Ethereum currently use compared to Bitcoin?
ABoth use Proof of Work.
BEthereum uses Proof of Work, Bitcoin uses Proof of Stake.
CBoth use Proof of Stake.
DEthereum uses Proof of Stake, Bitcoin uses Proof of Work.
Attempts:
2 left
💡 Hint
Ethereum recently changed its consensus method.
🧠 Conceptual
expert
2:00remaining
Smart Contract Language Difference
Which programming language is primarily used for writing Ethereum smart contracts, and what is Bitcoin's scripting language characteristic?
AEthereum uses Python, Bitcoin uses Solidity.
BEthereum uses Solidity, Bitcoin uses a non-Turing complete scripting language.
CEthereum uses JavaScript, Bitcoin uses Python.
DEthereum uses C++, Bitcoin uses Java.
Attempts:
2 left
💡 Hint
Ethereum smart contracts are written in a special language designed for it.