Homework on EVM

  1. What does the EVM do?

Reads byte code and has a node’s cpu compute

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

byte code

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

Solidity can be compiled into Bytecode

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

Ethereum’s solidity is Turing complete while bitcoin’s script is not

  1. What is a Turing Complete programming language?

It includes all things object oriented programming languages can do including loops

1 Like
  1. What does the EVM do?

It is the network that reads the smart contracts and confirms they are true. It uses a network of CPUs to confirm all transactions.

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

Its reads the smart contracts in Byte Code

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

If is able to give commands or outputs and then converted into Bytecode in which is read by the EVM.

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

BTC is running on Script and can not use loop functions to write code.

  1. What is a Turing Complete programming language?

Programming that is able to repeat a task and adapt to the new set of inputs it is given.

1 Like

What does the EVM do?
It is a virtual machine running on all the nodes in the ethereum space. It processes all the data in the ethereum smart contracts before passing them on to the CPU
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?
The program used to write the smart contracts is Solidity. It is a Turing Complete language, more complete and adaptable than Bytecode. Able to incorporate loops. The data is then translated into Bytecode before being sent on to the EVM
4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because it is dsigned to be digital currency, not a programming language
4. What is a Turing Complete programming language?
It allows for more complete instructions, in particular, loops

1 Like

1. What does the EVM do?
EVM can read the smart contract and then give the CPU all instructions.

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 a compiler, that compile all instructions down to Byte Code

4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because it’s not Turing Complete

5. What is a Turing Complete programming language?
It creates Loops

2 Likes
  1. The EMP is a virtual machine that make a program(s)/smart contracts execute on all computers in the ethereum network.
  2. Bytecode
  3. Code is written in Solidity and then compiled into bytecode by the EVM. The EVM then tells all nodes’ in network CPUs what instructions to execute.
    4.BItcoin uses script language and it is not turing complete.
  4. A turing complete programming language is a language that can theoretically do anything you want and solve any type of problem you might have.
  1. What does the EVM do?
    The Ethereum Virtual Machine is a piece of software which each node runs.
    It is a turing complete emulation of a encapsulated system in which decentralized apps, coded in Solidity, can be run.

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

  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity code is compiled to bytecode which can be executed by the EVM.

  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because it is not turing complete. Simple instructions like loops are not possible using script.

  5. What is a Turing Complete programming language?
    Anything one can imagine can be done using the EVM. For example coding another EVM on top of the existing EVM.

1 Like
  1. EVM interacts with Smart Contract and then give the CPU all instructions.
  2. Bytecode
  3. Solidity can be compiled into the Bytecode.
  4. Because bitcoin have not the capability to run smart contracts. In bitcoin script is not Turing complete.
  5. Turing complete means a system where you can basically program and write whatever you want to.
2 Likes
  1. EVM reads the smart contract and then instruct the CPU on what to execute.

  2. EVM reads in instruction written in Bytecode

  3. Program written in solidity is translated into bytecode

  4. Because bitcoin program is written in Script which is not tuning complete. also concerning the block size problem a dynamic programing language with tuning complete features can not be use in bitcoin to avoid space congestion. And for security reasons tuning complete program can not be use in bitcoin to avoid running malicious loops instruction in the network.

  5. Tuning complete programing language is universally computational, meaning it is flexible and can be use to program anything.

1 Like

1
2 solidity
3 solidity is the language we program in and bytecode is solidity translated into hard code for the EVM to read
4 because bitcoin is not turing complete
5 Turing complete language allow you to make any kind of program you want

1 Like

Answers EVM

1. What does the EVM do?
Its a virtual machine (software running on the nodes computers) executing the code of the smart contracts.

2. What is the format of the instructions that the EVM can read?
The EVM reads bytecode.

3. What is the relationship between the programming language Solidity and Bytecode?
The software written in Solidity is compiled into EVM bytecode.

4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Bitcoin also has a programming language called “Script”. The problem is that this language is very limited and not turing complete.

4. What is a Turing Complete programming language?
With a turing complete programming language you can solve any computation problem.

1 Like
  1. Each node has a EVM running on top of their hardware. It reads and executes smart contracts.
  2. EVM reads the Bytecode.
  3. The smart contract is written using the Solidity language. The compiler with then covert it into Bytecode so the EVM can process it.
  4. The Bitcoin Script code is not Turing complete.
  5. A turing complete language can execute programs.
1 Like
  1. What does the EVM do?

The EVM is Ethereum Virtual Machine which executes code to the Ethereum blockchain .Distributed computer all nodes agree to run and isolates each contract code.

  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 programming Language used that is turned into Bytecode using the EVM (understand) which all nodes in the network use.

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

Because Bitcoins’ Script language is not Turing complete

  5. What is a Turing Complete programming language?

Turing Complete language has Loops; this is a feature on any programming language that allows software to do 1 thing several times.

1 Like
  1. The EVM executes code in a protected sandbox like environment, outside of the CPU.
  2. Byte code
  3. Solidity compiles the instructions in byte code.
  4. Because it’s only designed to run “script” code, which is very basic and not turing complete.
  5. It is a programming language that can execute any instructions.
1 Like
  1. EVM is a virtual machine to run smart contracts on the network.The machine ensures that no malicious activity is happening.
    2.Byte code.
    3.Solidity is compiled into byte code which is executed by the EVM.
    4.Because of the programming language Script is not turing complete.
    5.A language that is flexible in a way of writing any program you want.
1 Like
  1. The EVM, Ethereum Virtual Machine, interprets the smart contracts’ Solidity code and executes them as byte code on the Ethereum network.
    The EVM is run in the background of each of the CPUs that form the network so all nodes can reach consensus to run the smart contracts on the network.

  2. Byte code.

  3. Solidity is the programming language used to code the smart contracts in the Ethereum network, which are translated into byte code by the EVS so it can read and run them on the network.

  4. Because Bitcoin uses Script, which is a Non-Turing complete programming language uncapable of running complex smart contracts.

  5. A programming language capable of running any computable function.

1 Like
  • What does the EVM do?
    A. An EVM reads smart contracts and issues instructions to CPU.
  • What is the format of the instructions that the EVM can read?
    A. The EVM reads byte code.
  • What is the relationship between the programming language Solidity and Bytecode?
    A. Solidity is the programming used to translate instructional text into bytecode on a smart contract.
  • Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    A. Bitcoin’s version of this called Script (similar to Solidity), but it is limited and not Turing Complete; it wouldn’t be able to solve all the problems it should be able to solve.
  • What is a Turing Complete programming language?
    A. One which is scalable, such as Solidity.
1 Like

[quote=“filip, post:1, topic:8443, full:true”]
Homework on EVM - Questions (Updated on Dec 3 2019)

  1. What does the EVM do?
    It executes machine code and isolates individual contract code
  2. What is the format of the instructions that the EVM can read?
    To read orders in bytecode
  3. What is the relationship between the programming language Solidity and Bytecode?
    SC are made on solidity then compiled on bytecode. They are team.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    BTC does not run on smart contracts, is less refined. The blocks couldnt allow too much info, risks of forks??
  5. What is a Turing Complete programming language?
    Is a code that executes loop, is a code that permit us to do anything just like ethereum smartcontracts.
1 Like

1. What does the EVM do?
The Ethereum virtual Machine is the connection between a smart contract and the CPU. It reads the Smart contract and transforms it into byte code which the CPU can then use. Therefore, the EVM tells the CPU what to do.
Further, it is a piece of code which runs on all Nodes in order to stabilize the network and can run and read smart contracts.

2. What is the format of the instructions that the EVM can read?
It’s called the solidity programming language (Sometimes: Viper).

3. What is the relationship between the programming language Solidity and Bytecode?
The EVM reads smart Contracts which are written in solidity and transforms these into the EVM Byte Code.

4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
Because Bitcoin is written in a programming language called „Script“ which is not touring complete. This means, that the language cannot solve every computing problem.

5. What is a Turing Complete programming language?
It is a language, which allows programmers to write whatever application or whatever somebody can think of in code. An example for this are Loops.

1 Like
  • What does the EVM do?

    Etherium Virtual Machine reads and executes smart contracts.

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

    EVM can read instructions in byte code.

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

Programming language Solidity is compiled to a byte code through the compiler. After putting
instructions in Solidity to a byte code through the compiler. EVM can read and execute smart
contracts.

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

    Because Bitcoin’s programming language called Script is not turing complete. It means that can
    execute only simple instructions.

  • What is a Turing Complete programming language?

    In Turing Complete programming language like Solidity you can program anything you want.

1 Like
  1. EMV reads smart contracts
  2. Byte code
  3. Solidity is where the code written. After it is compiled by a compiler into byte code…
  4. Because BTC is not Turing Complete
  5. It allows you to create any program you want,and it also has loops.
2 Likes