0% found this document useful (0 votes)
5 views

Quiz3CSE446_Solution

The document is a quiz for the CSE 446 course at BRAC University focusing on Blockchain and Cryptocurrencies. It includes true/false questions, fill-in-the-blank questions, and brief answer questions related to Ethereum and Fabric. The quiz assesses students' understanding of key concepts such as gas, consensus algorithms, and the relationship between world state and blockchain.

Uploaded by

bearfuzzy129
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Quiz3CSE446_Solution

The document is a quiz for the CSE 446 course at BRAC University focusing on Blockchain and Cryptocurrencies. It includes true/false questions, fill-in-the-blank questions, and brief answer questions related to Ethereum and Fabric. The quiz assesses students' understanding of key concepts such as gas, consensus algorithms, and the relationship between world state and blockchain.

Uploaded by

bearfuzzy129
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

BRAC University, Dhaka

Department of Computer Science and Engineering

CSE 446: Blockchain and Cryptocurrencies, Fall 2024, Quiz - 3

Marks: 20 Time: 20 Min

Name: ID: Section:

1. Determine if the following sentences are true or false. For any false sentence, write its 4*1.5 = 6
correct form.
i. Internal transactions are recorded in the blockchain. (F)
External transactions are recorded in the blockchain.

ii. Ethereum has 30 slots in each epoch.(F)


Ethereum has 32 slots in each epoch.

iii. A validator needs to deposit 32 ETH to be a validator in Ethereum. (T)

iv. Fabric world state is immutable. (F)


Fabric ledger is immutable.

2. Fill in the blanks 4*1.5 = 6


i. Fees in Ethereum are calculated using _gasLimit__________ x ___gasPrice______

ii. Fabric supports privacy and confidentiality using _channel and restricted
access__________________________

iii. A DAG in Ethereum is generated after __30000____________________ blocks.

iv. Two major requirements for any privacy blockchain systems are_any two:
participants need to be identified, permissioned network, high transaction, low
latency, privacy_____________
___________________________________________________________________

3. Briefly answer the following questions. 4*2 = 8


i. What are two main purposes of Gas in Ethereum?
To fuel the execution of any smart-contract and a protection mechanism against
any DoS attack in Ethereum.
ii. Why a memory-bound consensus algorithm is considered better with respect to a
compute-bound consensus algorithm?
The performance of a memory-bound consensus algorithm is bound with the
memory of a computer. This ensures one cannot use any ASIC chip for mining,
thus ensuring a democretic process in mining.
iii. How the world state in Fabric is derived from the blockchain?
Every data in a world state is updated through transactions recorded in the
blockchain with different blocks. That data might have been updated numerous
times. However, we only see the current state of the data from the world state. If
we want to see the historical change of values for a particular data, we can do so
by traversing through the blockchain. That is why we can say that a world state is
derived from the blockchain.
iv. Draw an MPT for the account CA2213 containing 0.1 ETH. Consider the first two
characters are the shared nibble in the root extension node.

Extension Node
prefix shared nibble next node
0 CA

Branch Node
0 1 2 3 4 5 6 7 8 9 A B C D E F

Leaf Node
prefix key-end value
3 213 0.1 ETH

You might also like