Certified Blockchain Developer Ethereum Flashcards

1
Q

What is a sandbox?

A

A test environment that isolates untested code changes and experimentation from the production environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name 4 characteristics of the EVM

A

1) Sandboxed VM
2) Runs on every node
3) Turing complete
4) Transaction based state machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The blockchain is ………………. which means: The same input will always produce the same output.

A

Deterministic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does hashing do with regards to hash size?

A

Map data of an arbitrary size to data of a fixed size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which hash function does Ethereum use?

A

Keccak-256 (which is like SHA256, but the two are NOT interchangeable)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

List in order from lowest to highest the Ether denominations (up to one Ether)

A
Wei
Kwai (Ada, Femtoether)
Mwei (Babbage, picoether)
Gwei (Shannon, nanoether, nano)
Szabo (microether, micro)
Finney (milliether, milli)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Kwei is also known as ………………. and ………………..

A

Ada

Femtoether

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Mwei is also known as ……………… and ………………..

A

Babbage

Picoether

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Gwei is also known as ………………. and ……………….

A

Shannon
Nanoether
Nano

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What do you call 1000 ETH?

A

Kether
Grand
Einstein

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What do you call 1 million ETH

A

Mether

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What do you call a billion ETH?

A

Gether

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What do you call a trillion ETH?

A

Tether

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

An ethereum address is bound to a ………………….

A

Private key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe an Ethereum address

A

64 character
32 bit hex value.

It is bound to the private key.

  • The public key is derived from the private key
  • The address is derived from the public key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the defining characteristics of POW?

A

mathematical riddle.
resource intensive
The input parameters for a hashed value has to be found
brute force, continuously hashing until the solution is found
Anyone can be a miner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are the characteristics of POS?

A

There is no mining
Uses few resources
Stakeholders lock-in some money and are picked in a semi-random way to forge a new block
Anyone can be a forger

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is “stake” in the crypto world?

A

The cryptocurrency a user owns and pledges in order to partake in validation  (POS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

How do Proof-of-Stake algorithms achieve consensus?

A

By requiring users to stake an amount of their tokens so as to have a chance of being selected to validate blocks of transactions, and get rewarded for doing so.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is the incentive for good behaviour in a POS?

A

Payout in the form of transaction fees (as opposed to freshly created currency in PoW systems)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Name two types of account in the Ethereum network.

A

1) Externally owned accounts (EOS’s)

2) Smart contracts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

An EOA is controlled by a ………………..

A

Private key (owned by an individual)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

A Smart Contract has an …………….. of its own

A

Address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

To send a transaction, which fields have to be set?

A
Nonce
Gasprice
Startprice 
To
Value
Data
v,r,s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is a replay attack?
A form of network attack in which a valid data transmission is maliciously or fraudulently repeated or delayed.
26
What is a nonce?
Nonce is a randomly-generated, cryptographic token that is used to prevent replay attacks. In Ethereum, every transaction has a nonce. It is the number of transactions sent from a given address. In cryptography is a one-time code selected in a random or pseudo-random manner that is used to securely transmit the main password, preventing a replay attack Each time you send a transaction, the nonce increases by 1.
27
What is the notation for wei?
10^18
28
What is the notation for kwei?
10^15
29
What is the notation for mwei?
10^12
30
What is the notation for gwei?
10^9
31
What is the notation for szabo?
10^6
32
What is the notation for finney?
10^3
33
What is the notation for kether?
10^-3
34
What is the notation for mether?
10^-6
35
What is the notation for gether?
10^-9
36
What is the notation for tether?
10^-12
37
What are private keys for?
To sign transactions. | To derive the public key from (and also the address)
38
Geth is an Ethereum ................
client
39
What are opcodes?
The low level human readable instructions of the program. All opcodes have their hexadecimal counterparts, eg “MSTORE” is “0x52”, SSTORE” is “0x55"
40
What is Dagger Hashimoto and what superseded it?
It is an implementation and specification for the mining algorithm. Ethash superseded it.
41
Name the two popular Ethereum protocols
1) Go-Ethereum (aka Geth) - written in GO | 2) Parity - written in Rust
42
How do Ethereum nodes communicate with each other?
Using the Ethereum protocol
43
How can you connect to an Ethereum node from the outside world?
Usually possible though: - HTTP (JSON-RPC) - IPC Sometimes: - Websockets
44
Every Ethereum node must implement a ............... interface.
JSON-RPC
45
What does dApp stand for?
Distributed application
46
What can dApps do? (2)
From simple p2p value transfer | To complicated token structures and more
47
Why to Smart Contracts make value transfer extremely easy? (2)
Because the economics and the logic are on the same layer. Additionally, you can save hardware and configuration by deploying the logic directly on the blockchain.
48
What is the nonce-field in a transaction?
To protect against replay attacks
49
The EVM is sandboxed, what is the implication of this?
It can’t access hardware layers or anything outside a blockchain node.
50
Name some advantages of dApps (4)
- Cutout the middle man - Run on a trusted platform - Apply logic to the blockchain where already economic assets are running - Allow peer to peer trade.
51
What does a Hashing Algorithm is deterministic mean?
Given the same input it always produces the same output
52
What Are Private Keys for?
To Sign Transactions and to derive a public key from which an address is determined
53
The............ Key signs transactions, the .......... key can verify the signature
Private | Public
54
.......... is computationally intensive which requires lots of energy. On the other hand, miners earn straightforward a reward for mining a block and incorporating transactions.
PoW
55
What are Externally Owned Accounts?
Are bound to a private key which is necessary to sign transactions outgoing from that account
56
Transactions containing the same data to create the ............ smart contract are having a different signature because of the ........... which changes upon every transaction
same | nonce
57
Sending one Ether is internally translated to ........
Wei, so it will send the equivalent of 10^18 Wei
58
Mining uses the ............... hashing while internally the EVM uses ............... which is similar to SHA256, but has different padding so it produces different hashes
Dagger-Hashimoto | Keccack256
59
Externally Owned Accounts keep their ..............., but on the blockchain a .......... is increased every time they send a transaction to avoid replay attacks
address | nonce
60
What is Ethereum?
A protocol defining how the communication should work. It is neither a proprietary software, nor patent. Instead it is open and there are several different implementations of the Ethereum protocol.
61
Name two implementations of the Ethereum protocol.
Go-ethereum a.k.a GETH (written in GO) | Parity (written in Rust)
62
In Ethereum everyone can start their own............ based on the Ethereum protocol. This means that the............ can be replicated in a way so that it works exactly the same way but doesn’t .........................
blockchain Main-Net Cost any real money
63
What are test networks usually used for?
To test distributed Applications (dApps) | To test new network functionalities, such as Proof of Stake.
64
What is the Ethereum network ID 0 called, and what is it used for?
Olympic, Ethereum public pre-release testnet
65
What is the Ethereum network ID 1 called, and what is it used for?
Frontier, Homestead, Metropolis, the Ethereum public main network
66
What is the Ethereum network ID 1 (chain ID 61) called, and what is it used for?
Classic, the (un)forked public Ethereum Classic main network.
67
What is the Ethereum network ID 1 (chain ID 2) called, and what is it used for?
Expanse, an alternative Ethereum implementation.
68
What is the Ethereum network ID 2 called, and what is it used for?
Morden, the public Ethereum testnet, now Ethereum Classic testnet