Solidity Flashcards

1
Q

compiled language

A

source codes need to be converted into executable codes

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

interpreted language

A

source codes are interpreted at run time (python, r, Matlab, javascript)

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

CL

A

typically much fast

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

Solidity is

A

compiled into bwtecode for ether virtual machine

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

pragma solidity 0.4.0

A

species which solidity copier version to use

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

public stored data

A

declare a publicly accessible state variable of type

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

uint

A

unsigned 256-bit integer

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

case sensitive

A

variable names are case sensitive

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

each statement should end in a

A

semicolon, exception being the fancy brackets that enclose the code

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

white spaces

A

space, tab, enter don’t matter in code

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

comments are in

A

C style, they won’t be processed

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

//

A

short, one line comment

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

/*
*/

A

long, multi-line comment about the program

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

variable name

A

first character must be an ASCII letter (upper or lowercase or underscore)

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

a number

A

can’t be used as the first character

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

subsequent characters

A

must be letters, numbers, or underscores