CH3 Ethereum Programming  Basics

CH3 Ethereum Programming Basics

Professional Development

9 Qs

quiz-placeholder

Similar activities

SQ SMART QUIZ September 2024

SQ SMART QUIZ September 2024

Professional Development

10 Qs

Individual Capability DGCCR

Individual Capability DGCCR

Professional Development

8 Qs

quizizz september sbcm

quizizz september sbcm

Professional Development

10 Qs

DBG#5

DBG#5

Professional Development

7 Qs

Tuesday Night Training

Tuesday Night Training

Professional Development

10 Qs

Módulo 3 - Introductorio

Módulo 3 - Introductorio

Professional Development

11 Qs

Bitcoin - Módulo 3

Bitcoin - Módulo 3

Professional Development

14 Qs

Produk Bank Sumut Syariah

Produk Bank Sumut Syariah

Professional Development

10 Qs

CH3 Ethereum Programming  Basics

CH3 Ethereum Programming Basics

Assessment

Quiz

Business

Professional Development

Medium

Created by

HsiangCheng Ho

Used 2+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Smart Contracts can be written in

Java, C++, Solidity and JavaScript, because the Ethereum Blockchain is completely

language agnostic and cross compilers for every major language exist.

Solidity, Viper, LLL and Serpent, because those are high level languages that are compiled down to bytecode

Solidity and JavaScript, because those are the official first implementations for Distributed

applications and the Blockchain fully supports those languages

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Solidity gets compiled to

Bytecode that can’t be understood by humans

Bytecodes which are essentially opcodes running instruction by instruction

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Gas is used

Depending on the instruction/opcode run by the Ethereum Blockchain

Is a fixed amount for the length of your smart contract

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To store almost all data in the Ethereum Blockchain

ALinked List with pointers to previous blocks hashes is used

A Merkle Patricia Tree is used

A Radix Tree is used because the Merkle Patricia Tree is too inefficient

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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?

750,000,000,000,000 Wei

750,000,000,000 Wei

750,000,000 Wei

A flat fee of 1 Ether

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Checking the balance of an address inside a loop of a smart contract constantly

Doesn't cost any gas

Cost gas every time we check the balance

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Gas costs accrue on

Sending a transaction no matter the content

Sending a transaction only with a new smart contract deployment

Sending a transaction only interacting with an already deployed smart contract

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

EVM assembly

Is much better than Solidity and a viable alternative

Is what every highevel language gets compiled to

Is another language similar to LLL, more secure than Solidity.

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Smart Contracts

Are always living on the same address, because the blockchain is deterministic. So,

one account can always have one smart contract

Are having the same address as the EOA

Are sitting on their own address. The Address is created from the nonce and the EOA

address and could be known in advance before deploying the smart contract.

The address of the smart contract is a random address which gets generated by the

miner who mines the contract-creation transaction.