Homework on EVM

  1. The EVM read the smart contract’s Byte code and next tell to CPU how to proceed
  2. Byte code.
  3. You use Solidity to write the smart contract and then use a compiler to change the solidity programming language into Byte code language
  4. Because Bitcoin is programmed in Script therefore is not turing complete.
  5. A turing complete is a programming language that allow you to create programs whit every features you want and add loops to that program.
1 Like

EVM is a safespace for the smartcontracts to be shared across the Network and for the participants to make sure that they come to the same result after executing the smart contracts.

The Format that the EVM can read is smart contracts.

The programming language can be compiled to bytecode which is then understood by the network as compared to a human.

Because it is not turning complete

On a turning complete programming language you can program everything you can imagine. An example would be loops.

1 Like

Correction: The format is bytecode

1 Like

1.EVM running on the computers nodes, check and read instructions of the smart contracts and tell the nodes to preform the contract and protect the network from attacks.

2.EVM read the by code that written by solidity or other language like viper and more…

3.On solidity we write a bytecode (instructions code)

4.Bitcoin runs by script language which obviously not turing complete language that have limited functions and the size of the smart contracts will spam the network that will leads to a block size issue and network problems

5.we have loops feature that make possible run many times the instructions code :ok_hand:

1 Like
  1. EVM reads and executes smart contracts. Every node has the EVM on the Ethereum network
  2. Bytecode
  3. Solidity is the language that the smart contract is written in. But it is compiled into bytecode which the EVM will read and execute
  4. Solidity has a feature called Loops which can tell software to execute instructions multiple times
1 Like
  1. It works as a bridge between the smart contract and the hardware of the nodes form Ethereum network to avoid the instructions within the Smart Contract effect in the CPU’s.
  2. Byte Code
  3. Solidity is a programming protocol which through a complier will translate the instructions and send them in Bytecode to the smart contract.
  4. To protect the blockhain from spams that could ocurre due to loops in the smart contract and to avoid the problems with the blockchain size.
  5. Where you can create any kind of instructions or applications you need
1 Like
  1. Etherium virtual machine. It runs on the various nodes of the network, and executes smart contracts which have been compiled into EVM bytecode.
  2. EVM runs in an isolated environment. It tells the CPU to read the instructions on a smart contract and get a result.
  1. The EVM executes smart contracts and inhibits malware from affecting a node’s CPU/personal computer.
  2. The EVM can read Bytecode.
  3. Solidity is the language and bytecode converts that language into something readable by the EVM.
  4. Bitcoin’s language isn’t Turing complete.
  5. A Turing complete language can theoretically solve any math problem that exists.
1 Like

1. What does the EVM do?
EVM is running on the nodes in Ethereum network and is actually processing the smart contracts.
2. What is the format of the instructions that the EVM can read?
byte code
3. What is the relationship between the programming language Solidity and Bytecode?
Solidity is the clear programming language, which is compiled to byte code.
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin’s programming language “Script” is a non Turing complete language and therefore not as capable as Solidity.
5. What is a Turing Complete programming language?
It is a language that can handle all programming operations, e.g. loops.

1 Like
  1. The EVM is code running on the Ethereum network in where smart contracts can be used.

  2. The EVM used Bytecode as its readable instructions.

  3. Solidity program uses it’s own language to program smart contract which are then translated in Bytecode to be used on the EVM.

4.Bitcoin is unable to run the same type of complex programs like Ethereum, because is not Turing Complete.

  1. A Turing Complete programming language creates loops to read each a list of functions to perform over and over and can be programmed to run almost any task.
1 Like
  1. What does the EVM do?
    They read and execute the byte code that is the smart contract.

  2. What is the format of the instructions that the EVM can read?
    Byte code is the format of the instructions that EVM reads.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is the program language that the smart contracts are coded in, byte code is the compiled code of the smart contract that EVM reads.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin’s code is not a Turing complete

  5. What is a Turing Complete programming language?
    A Turing complete language can execute any mathematical computation in theory, in this class the example was it can perform loops.

1 Like
  1. What does the EVM do?
    It takes all the transactions a CPU would do, and does them through the blockchain, seeking the consensus of other nodes before actioning the contract.

  2. What is the format of the instructions that the EVM can read?
    Bytecode.

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is the program used to write smart contracts.
    These contracts are then put through a compiler that turns them into Bytecode, which is the language used to send the contracts out to other nodes within the EVM.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin used script as its language to limit transaction size. Script is not a complete language; it is not turing.

  5. What is a Turing Complete programming language?
    It is a program that is theoretically limitless.

1 Like

Homework on EVM - Questions (Updated on Dec 3 2019)

What does the EVM do?

An EVM is a piece of code that runs on each one of the CPUs of the nodes in the Ethereum network. It reads and executes smart contracts.

What is the format of the instructions that the EVM can read?

It will read them in Solidity and then they will be compiled on Bytecode.

What is the relationship between the programming language Solidity and Bytecode?

Bytecode compiles the instructions given in solidity for the CPU so the CPU can read / execute them.

Why can’t Bitcoin run the same type of complex programs like Ethereum can?

No. Because it is not Turing Complete.

What is a Turing Complete programming language?

Solidity.

1 Like
  1. What does the EVM do?
    The Ethereum Virtual Machine runs on every node as a go between the smart contracts and the individual CPUs for security. The EVM reads the intructions in the smart contract then passes it on to be executed by the CPUs of each computer node.

  2. What is the format of the instructions that the EVM can read?
    Bytecode

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is able to be read by human programmers that then compile the code into Bytecode, which is then processed by the EVM.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because it uses a Not Turing Complete programming language, Script.

  5. What is a Turing Complete programming language?
    It can theoretically perform any and all commands.

1 Like
  1. EVM is where the smart contract code contract runs on and makes sure there is consensus in the network.
  2. It reads them in byte code
  3. Solidity is used to write the smartcontracts then the EVM turns them into bytecode so the nodes can understand
  4. Because it runs another programming language called Script which is Turing limited.
  5. A Turing programmning language ensures that you can programme in theory anything you want.
1 Like
  1. EVM is a piece of code that comp on ETH network are running on.reads and executes instructions on the smart contract It is used for security ensuring that nothing malicious happens.
  2. EVM reads byte code
  3. Solidity is a programing language that works through complier down to byte code.
  4. Bitcoin runs on script which is non Turing complete language and can do. Very basic things.
  5. Turing complete language is where anything can be programmed and in theory executed
1 Like

1. What does the EVM do?
a. Ethereum Virtual Machine (EVM) is a sandboxed virtual stack immersed within each Ethereum
node, executing contract bytecode. The code is isolated from the network. Every node in the
Ethereum network runs an EVM instance which allows them to agree on executing the same
instructions.

2. What is the format of the instructions that the EVM can read?
a. Solidity is the format that reads the EVM, compiled into bytecode.

3. What is the relationship between the programming language Solidity and bytecode?
a. Bytecode is the end result of Solidity compilation.

4. Why can’t Bitcoin run the same type of complex programs like Ethereum?
a. Bitcoin is limited and lacks programming language, thus it cannot loop orders.

5. What is a Turing Complete programming language?
a. It’s a programming language that allows loops and lets you develop programs that you want.

1 Like
  1. What does the EVM do?
    The EVM reads programs written in byte code, and executes the instructions for the CPU. The EVM is shared across the ethereum network so that all nodes are in agreement about what should happen.
  2. What is the format of the instructions that the EVM can read?
    Byte code
  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity is compiled into bytecode.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin does not have loops.
  5. What is a Turing Complete programming language?
    A Turing Complete language can execute literally any code which a person can think of.
1 Like

Hi @cherryknot where are the rest of answers ? :slight_smile:

Happy learning,
Abel S

  1. functions as a CPU that executes smart contracts
  2. ByteCode
  3. Solitity is the programming language, the compiler translates into bytecode that’s executable by the EVM
  4. Bitcoin’s script language is not Turing-complete
  5. Turing complete means you can execute any type of actions without limitations, and solve any problems.
1 Like