Unit5 - Subjective Questions

CSC203 • Practice Questions with Detailed Answers

1

Define Ethereum and explain its core architecture components.

2

What are Smart Contracts? How do they function within the Ethereum ecosystem?

3

Explain the concept of 'Gas' in Ethereum. Why is it necessary?

4

Discuss the Turing Completeness of Ethereum's smart contract language. What implication does this have on the Halting Problem?

5

Compare and distinguish between Externally Owned Accounts (EOA) and Contract Accounts in Ethereum.

6

Describe the verification challenges associated with smart contracts.

7

Analyze the potential and challenges of using smart contracts to enforce legal contracts.

8

Differentiate between Bitcoin Scripting and Ethereum Smart Contracts.

9

Explain the concept of UTXO vs. Account-Based models in the context of Bitcoin and Ethereum.

10

What is Solidity? Describe the basic structure of a Solidity smart contract.

11

Write a simple Solidity smart contract that stores and retrieves a number. Explain the code.

12

Explain the role of 'Modifiers' in Solidity with an example.

13

What are Data Types in Solidity? Explain Mappings and Structs.

14

How does JavaScript interact with Ethereum smart contracts? Explain the role of libraries like Web3.js.

15

What is the Application Binary Interface (ABI) in the context of Ethereum and Solidity?

16

Explain the significance of Events and Logs in Solidity.

17

Describe the security vulnerability known as 'Reentrancy' in smart contracts.

18

Discuss the different visibility specifiers for functions in Solidity.

19

Explain the 'Ricardian Contract' concept and how it relates to Ethereum.

20

Derive the cost execution model for a Smart Contract transaction involving memory expansion.