Blockchain and its Applications | NPTEL | Week 5 Assignment Solutions

This set of MCQ(multiple choice questions) focuses on the Blockchain and its Applications NPTEL 2022 Week 5 Assignment Solutions.

Course layout

Answers COMING SOON! Kindly Wait!

NOTE: You can check your answer immediately by clicking show answer button. This set of “Blockchain and its Applications NPTEL 2022 Week 5 Assignment Solution” contains 10 questions.

Now, start attempting the quiz.

Blockchain and its Applications NPTEL Week 5 Assignment Solutions

Q1. What is the limitation of using the consensus algorithm Proof of Work (PoW) with respect to Proof of Elapsed Time (PoET)?

a) PoET can often be used in a permissionless blockchain more easily than PoW, because PoET’s lottery system for node selection is secure
b) PoET has generally lower transaction costs than PoW
c) PoET is much more secure than PoW, because PoET supports the trusted execution environment (TEE) by time-stamping the transactions
d) PoET is usually faster than PoW, because fewer nodes complete for validation than in PoW, since PoET randomly selects the nodes

Answer: b), d)

Q2. “A low-cost and fast consensus algorithm, where a node needs to deposit cryptocurrency to guarantee the transaction.” The above description defines which consensus algorithm?

a) Proof of Work (PoW)
b) Proof of Burn (PoB)
c) Proof of State (PoS)
d) Proof of Elapsed Time (PoET)

Answer: c)

Q3. What is the correct sequence involved in a block creation:
1. Transactions validated
2. Transactions Bundled & broadcasted
3. Transaction initiated
4. Block added to the local chain and propagated to the network
5. Proof of work consensus problem solved

a) 5, 3, 1, 2, 4
b) 1, 2, 3, 4, 5
c) 3, 1, 2, 5, 4
d) 3, 2, 1, 4, 5

Answer: c)

Q4. Proof of Burn consensus algorithms consider virtual resources or digital coins for participating in the mining activity? True of False?

a) True
b) False

Answer: a)

Q5. 1 ether equals

a) 10 ^ 16 wei
b) 10 ^ 18 wei
c) 10 ^ 6 wei
d) 10 ^ 8 wei

Answer: b)

Blockchain and its Applications NPTEL week 5 Assignment Solutions

Q6. How an attacker could manipulate the transaction history of a blockchain to be able to spend a token or a cryptocurrency twice.

a) The attacker modified the transaction on his node and propagated it in the network
b) The attacker modified the smart contract and recovered the investor’s cryptocurrency
c) The attacker gained control of more than 51% of the network’s computing power
d) The attacker hard-forked the network and created a new blockchain network

Answer: c)

Q7. What is the CLI command used to send ethers after the noes have been initialized?

a) eth.submitTransaction()
b) eth.sendBANTransaction()
c) eth.sendRawTransaction()
d) eth.sendTransaction()

Answer: d)

Blockchain and its Applications NPTEL week 5 Assignment Solutions

Q8. What library/API is used for smart contract deployment and invocation from Dapp?

a) web3
b) admin
c) eth
d) Contract

Answer: a)

Blockchain and its Applications NPTEL week 5 Assignment Solutions

Q9. In which scenario is a smart contract the best solution to the problem?

a) A restaurant manager wants to force customers to pay for their food by transferring cryptocurrency to his wallet
b) A chief engineer wants her smart watch to notify her when her partner enters their front door
c) A grid company wants to automatically buy power when the price reaches a predetermined rate
d) An insurance company wants to pay out a small vendor whenever the case manager feels it is best to do so

Answer: c)

Q10. Which of the following syntax is correct to write data in a smart contract using solidity

a) myContract.methods.stor(“99”).send()
b) myContract.methods.write(“99”).send()
c) myContract.methods.write(“99”).set()
d) myContract.methods.stor(“99”).set()

Answer: a)

Blockchain and its Applications NPTEL week 5 Assignment Solutions

<< Prev- Blockchain and its Applications Week 4 Assignment Solutions

>> Next- Blockchain and its Applications Week 6 Assignment Solutions


DISCLAIMER: Use these answers only for the reference purpose. Quizermania doesn't claim these answers to be 100% correct. So, make sure you submit your assignments on the basis of your knowledge.

For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.

Leave a Comment

Your email address will not be published. Required fields are marked *