Search Header Logo

CH3 Ethereum Programming Basics

Authored by HsiangCheng Ho

Business

Professional Development

Used 2+ times

CH3 Ethereum Programming  Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?