Blockchain CBDE Practice Test - Questions Answers, Page 4
List of questions
Related questions
When a new block is mined:
A.
a list of transactions as well as uncles is incorporated in the block. All gas that is used during those transactions is added to the miners' balance. Also, the block reward is added to the miner. Then the same transactions are run again byevery participating node in the network to achieve consensus.
B.
a list of transactions is incorporated in that block. Gas used during the execution is attached to the executing contracts while the block reward is automatically spread across the mining pool to ensure a fair spread. Consensus is reachedby a special form of hash code.
A Blockchain Node:
A.
can never become a mining node.
B.
can always become a mining node.
C.
can become a mining node, depending if the implementation has the functionality implemented.
On a consortium network:
A.
everybody can become a miner, everybody can send transactions and everything is public.
B.
usually only a few selected nodes can be miners. Transactions can be further limited.
The JSON-RPC Protocol:
A.
is used to communicate between blockchain nodes.
B.
is used to ensure safe communication between miners.
C.
is a mean of dumping the blockchain data in a so-called consensus export.
D.
is used to communicate between the blockchain node and externally running applications.
GETH:
A.
is the reference implementation of the Ethereum protocol and every other node implementation internally uses the closed-source from Geth.
B.
is the library that is used for the blockchain node Go-Ethereum. It is also used by Parity is parts, because it's closed source.
C.
is one of the many blockchain nodes that implement the Ethereum Protocol. It's open source and everyone can contribute.
To store almost all data in the Ethereum Blockchain:
A.
a Linked List with pointers to previous blocks hashes is used.
B.
a Merkle Patricia Trie is used.
C.
a Radix Trie is used because the Merkle Patricia Trie is too inefficient.
You interact with a smart contract and see a gas usage of 50,000 gas with a gas cost of 15Gwei.
How much Ether would you have to pay to the miner?
A.
750,000,000,000,000 Wei
B.
750,000,000,000 Wei
C.
750,000,000 Wei
D.
A flat fee of 1 Ether
Checking the balance of an address inside a loop of a smart contract constantly:
A.
doesn't cost any gas.
B.
cost gas every time we check the balance.
Gas costs accrue on sending a transaction:
A.
no matter the content.
B.
only with a new smart contract deployment.
C.
only interacting with an already deployed smart contract.
EVM assembly:
A.
is much better than Solidity and a viable alternative.
B.
can be split across multiple files, but every contract must be in a file with the same name as the contract itself.
C.
is another language similar to LLL, more secure than Solidity.
Question