Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

TTPLT Token Development

Total questions: 15

Worksheet time: 15mins

Name
Class
Date
1.

Which test framework does Hardhat use to write test cases?

a)

Mocha with Chai with their own additional features.

b)

Jest

c)

Pytest

d)

Supertest

2.

Which is not provided by the Hardhat development environment?

a)

Own personal blockchain (node)

b)

Ignition Module for deployment of smart contracts

c)

Testing framework for smart contracts

d)

dApp hosting service

3.

Which folder is not generated when you initialize your project as a Hardhat project?

a)

contracts

b)

test

c)

Ignition

d)

Frontend

4.

You have an NFT Marketplace smart contract deployed on the Polygon Blockchain. There is a feature that allows anyone to create NFTs and list them in the Marketplace. Do users need to pay a fee when they create their NFT?

a)

YES

b)

NO

5.

Which command can you use to access the Hardhat interactive terminal to interact with your smart contract?

a)

npx hardhat compile

b)

npx hardhat test

c)

npx hardhat ignition deploy

d)

npx hardhat console

6.

Which library can you use with a dApp to interact with your smart contract inside the Blockchain?

a)

ethersjs

b)

web3js

c)

nodejs

d)

chai

7.

Is it possible to interact with the blockchain without your wallet?

a)

YES

b)

NO

8.

In order to write on the Blockchain using a smart contract, you need a wallet.

a)

Yes, I agree.

b)

No, I don't agree.

9.

What attributes are required if you want to connect to a smart contract using the ethersjs library from your dApp?

a)

Deployed Contract Address

b)

Contract ABI

c)

Signer/Provider

d)

Account Address

e)

Contract Bytecode

10.

What is the difference between the Signer and Provider when you work with a smart contract?

a)

Signer is used when your smart contract wants to perform a write operation, while the Provider is used when you only try to perform a read operation.

b)

Provider is used when your smart contract wants to perform a write operation, while the Signer is used when you only try to perform a read operation.

c)

There is no difference between the Signer and Provider objects. They are the same thing.

11.

Inside a Solidity program, it is mandatory to mention the version of Solidity that you use and to declare the license. Otherwise, the compilation fails.

a)

True

b)

False

12.

Inside your contract, there is a function defined to set the value of some storage variable; this particular function will only be called from the dApp, which is the most appropriate function access visibility to use with it.

a)

external

b)

public

c)

private

d)

internal

13.

Solidity programming supports multiple inheritance, and it uses the "is" keyword to inherit contracts.

a)

False

b)

True

14.

Select the statement that is not true.

a)

ERC20 token is used to create fungible tokens while ERC721 token is used to create NFTs.

b)

ERC721 token is used to create non-fungible tokens and ERC1155 token allows you to create and manage both fungible and non-fungible tokens.

c)

All the tokens inside the ERC721 are the same. They have the same value.

d)

All the tokens inside the ERC721 token are unique.

15.

All transactions inside the Blockchain, including both wallet transactions and dApp transactions, are signed by the user using their private key for security reasons.

a)

False

b)

True