Ethereum Module Assessment Posted by 3.0 University Date June 3, 2024 Comments 0 comment Welcome to your Ethereum Module Assessment Please Note: You have 20 minutes to complete the quiz. Make sure your camera is on and your face is clearly visible throughout the assessment. Submit your responses before the time limit expires. Name Email Phone 1. In Hardhat, what is the hardhat-ethers plugin used for? To deploy smart contracts To compile Solidity contracts To integrate with the Ethers.js library To run a local Ethereum network None 2. In Solidity, what is the purpose of the require function? To check for conditions and throw an error if the condition is not met, reverting the transaction To specify external libraries required by the smart contract To initiate the smart contract deployment process To import necessary modules for the smart contract None 3. What is a 'multisig wallet' in Ethereum? A wallet that supports multiple cryptocurrencies A wallet that stores smart contracts A wallet that requires multiple signatures to authorize transactions A wallet with enhanced security features None 4. What is the '51% attack' in blockchain? An attack targeting 51% of the transactions An attack where a single node controls 51% of the network traffic An attack on the network's consensus algorithm An attack where miners control 51% of the network's mining power None 5. Which configuration file does Hardhat use for project settings? hardhat.config.json hardhat.config.js config.hardhat.js hardhat-settings.js None 6. In blockchain terminology, what is 'sharding'? A method to store data off-chain A method to mine multiple blocks simultaneously A way to encrypt blockchain data A technique to split the blockchain into smaller, more manageable pieces None 7. What does the 'memory' keyword in Solidity indicate? The location for storing event logs A variable that can be accessed by any contract Data location that is only available during function execution A function that stores data permanently on the blockchain None 8. How can you access the current block's timestamp in Solidity? msg.timestamp now current.timestam block.timestamp None 9. Which of the following is an Ethereum Layer 2 solution that uses Optimistic Rollups? Optimism Lightning Network ZK-Rollups Plasma None 10. What is the role of the Solc-compiler in Ethereum smart contract development? To compile the Solidity code into bytecode that can be run on the Ethereum Virtual Machine (EVM) To execute the smart contract To deploy the smart contract on the Ethereum network To provide an interface for interacting with the smart contract None 11. When a smart contract is deployed to the Ethereum blockchain, what gets created? A contract address A user account A new blockchain A unique transaction ID None 12. What is the Ethereum Contract ABI? A protocol for secure communication between Ethereum nodes A tool for compiling smart contracts A library for writing smart contracts in Solidity A data structure that facilitates interaction between the EVM and the outside world None 13. Which function in Solidity is used to handle incoming ether transfers? transfer payable fallback receive None 14. How does Proof of Stake (PoS) differ from Proof of Work (PoW)? PoS is used only for private blockchains PoS relies on computational power while PoW relies on ownership of tokens PoW relies on computational power while PoS relies on ownership of tokens PoS and PoW are identical None 15. Which of the following best describes a decentralized autonomous organization (DAO)? A central governing body for blockchains A type of consensus algorithm A cryptocurrency exchange platform A smart contract-based organization without centralized control None 16. Which statement is true about Solidity? Solidity is a low-level assembly language for writing blockchain applications. Solidity is a purely functional programming language. Solidity is an object-oriented, high-level language for implementing smart contracts. Solidity is used for developing smart contracts on the Bitcoin blockchain. None 17. Which platform is commonly used to deploy Ethereum-based DApps? Heroku Docker IPFS AWS Lambda None 18. What does the Hardhat Network provide for developers? A blockchain explorer A cloud-based Ethereum node A local Ethereum network for testing and development A tool for mining Ethereum None 19. What is the purpose of an ABI (Application Binary Interface) in Ethereum? To provide a user interface for interacting with the Ethereum network To handle the storage of smart contracts on the blockchain To define how functions in the smart contract can be called and data can be sent between contracts and external applications To define the bytecode of a smart contract None 20. Which command is used to compile a Solidity contract using the Solc-compiler? solc --bin .sol solc compile .sol solc --compile .sol solc .sol None 1 out of 4 Share: 3.0 University Previous post Cybersecurity Program Scholarship Test - Million Minds June 3, 2024 Next post Cybersecurity Scholarship Test July 1, 2024 You may also like How Jewellery Design Certification Can Elevate Your Career? May 16, 2025 How to Identify Real and Fake Gemstones? May 14, 2025 Gemology: Career Scope, Courses and Key Skills May 12, 2025