Homework on EVM

  1. EVM takes the smart contract and executes its code on all the nodes that are part of etherium blockchain

  2. Bytecode is the format for EVM

  3. Solidity is the prpgraming language that developers use, then it is compiled into bytecode so that EVM could read the code and execute it.

  4. because bitcoin does not have programable language and is used as most basic Coin. It does not have turing complete programming language like ethirium does.

  5. Turing complete programming language means that it can solve any problem that can be programmed.

1 Like
  1. The EVM is a virtual machine that runs smart contracts. It also prevents negative code to interfere with the etherium network. (Etherium Virtual Machine)

  2. The EVM can read byte-code. An example being Solidity.

  3. Solidity is compiled into a byte-code. This then runs with EVU to then execute it unto CPUs.

  4. Bitcoin cannot run the same type of complex programs like Etherium can as Bitcoins language is not Turing complete. Meaning it can be intertwined and there can be things implemented beyond a sending and receiving on the chain.

  5. A Turing Complete language is a programming language that allows the use of complex smart contracts. And you can do anything (instruction and coding wise) using the programming language.

1 Like
  1. The EVM compiles solidity code into byte code, and ensures no malicious code will be allowed to run on users’ computers
  2. The EVM can read Bytecode
  3. Solidity is compiled into Bytecode, which is read by the EVM
  4. Bitcoin’s script language is not Turing Complete
  5. Turing Complete languages include all functions that will allow you to code whatever you want
1 Like
  1. it execute any code on network and programs
    2 .it can read and excute smart contract
    3 .solidity is a programming language it’s a kind of javascript so its easy to get started with, and that will take our solidity codes and compile to bytecode
  2. because scripting language on bitcoin is not truly complete it can not solve all problems and its very limited but solidity on ethereum is truly complete
  3. It is or it mean you can program anything you want
  1. What does the EVM do?
    The EVM can run and execute smart contracts. It gives inscructions to the cpu. It acts as a security framework so that malicious smart contracts don’t communicate directly with the cpus.
  2. What is the format of the instructions that the EVM can read?
    EVM can read EVM Bytecode
  3. What is the relationship between the programming language Solidity and Bytecode?
    Solidity language is is converted into EVM language thought a compiler
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin is written with Script, which is not a Turing complete language.
  5. What is a Turing Complete programming language?
    Turing complete languages are fully programmable languages which allows the use of loops for example
1 Like
  1. An EVM reads and executes smart contracts on the blockchain.
  2. EVM can read byte code.
  3. Solidity compiles the instructions into byte code for the EVM to read and execute.
  4. Ethereum is Turing Complete and Bitcoin is not.
  5. A Turing Complete Language is able to solve any problems on an application.
1 Like
  1. What does the EVM do?
  • Every node in the Ethereum network runs an EVM instance which allows them to agree on executing the same instructions. The EVM is Turing complete, which refers to a system capable of performing any logical step of a computational function.
    The EVM code is completely isolated from the network, filesystem or any processes of the host computer. Every node in the Ethereum network runs an EVM instance which allows them to agree on executing the same instructions.
  1. What is the format of the instructions that the EVM can read?
  • Ethereum Virtual Machines have been successfully implemented in various programming languages including C++, Java, JavaScript, Python, Ruby, and many others.
  1. What is the relationship between the programming language Solidity and Bytecode?
  • Solidity is compiled to bytecode that is executable on the EVM. With Solidity , developers are able to write applications that implement self-enforcing business logic embodied in smart contracts, leaving a non-repudiable and authoritative record of transactions.
  1. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
  • Bitcoin is not a turing complete language which means it is very limited to make programation.
  1. What is a Turing Complete programming language?
  • A turing complete programming language is a programming language that’s super flexible. Anyone can write whatever program they want on it. There is no limitation.
1 Like

The EVM reads smart contracts and instructs the CPU of a node.

EVM Bytecode

A smart contract is written in Solidity and then compiled into EVM Bytecode.

Bitcoin’s programming language is not Turing Complete.

From Wikipedia: A Turing Complete language can approximately simulate the computational aspects of any other real-world general-purpose computer or computer language. Basically it is complex enough to solve any programming problem.

1 Like

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

Yes sir, but that is what the EVM can do, not the format of its instructions, maybe you want to redesign your answer :slight_smile:

If you have any more questions, please let us know so we can help you! :slight_smile:

Carlos Z.

Indeed sir, but that is not the correct answer to the question, could you please redesign it?

If you have any more questions, please let us know so we can help you! :slight_smile:

Carlos Z.

  1. EVM executes Smart Contracts by using the CPU of the nodes
  2. EVM can read byte code
  3. Solidity is a programming language which makes it easier to programme. It is then compliled to Byte code.
    4+5. Bitcoin uses Script, which is not turing complete. This means it can not solve all problems which it has to solve. Etherium on the other side uses Solidity which is turing complete. So in theory it can do anything without limitation (which also includes loops), but be aware of the problem with the scalability!
3 Likes
  1. EVM is the receiver of instructions of smart contracts and decides if the instructions are safe for CPU to run them onto the computer.

  2. EVM can only read the instructions in Bytecode

  3. Solidity compiles the programming into bytecode

  4. The language that Bitcoin is using is called Script which is pretty limited in creating smart contracts, also there are nothing similar to EVM in Bitcoin network so if for example someone comes and writes an smart contract using a loop order that would bring so much hassle to the network for no reason.

  5. A programme that can do a list of instructions repeatedly.

1 Like
  1. The EVM is an application that is running on top of all ethereum nodes. It commands the computer hardware of the nodes. It also reads the compiled smart contracts in the ByteCode language. When it reads the Bytecodes it creates a solution.

  2. The format that EVM can read is Bytecode

  3. The relationship Between Solidity and Bytecode is such, that Solidity is a programming language being used by programmers which then gets compiled into Bytecode.

  4. Because their coding language, Script, is not turing complete,whereas Ethereum’s Solidity is a turing complete.

  5. Turing complete language is programming language that can solve any problems that a mind can think of.

1 Like
  1. What does the EVM do?

EVM sits as an app or piece of code on a host computer that reads byte code to manage smart contracts providing a safe and secure ability for the CPU to undertake the actions and return these to the EVM to create a consensus that all actions within the smart contract have been undertaken.

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

format is Solidity converted into Bytecode.

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

Solidity is the language used for Smart contracts and is then compiled in to bytecode.

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

Because Bitcoin is not a turing complete system meaning it has some functionality to undertake minor tasks but can’t undertake all tasks that can be actioned on ethereum.

  1. What is a Turing Complete programming language?

Virtually all programming languages used today are Turing Complete, it is how they are compiled and utilised in this scenario.

The correct answet to the question is that the EVM can only read Bytecode

1 Like
  1. insures nothing malicious happens, Allows contracts to ride on top of nodes and tells the cpu what to due
  2. written in solidity and converts to bytecode
  3. Ethereum contracts are written solidity and converts that to bytecode to the cpu
  4. BTC is not touring complete and can’t solve all problems
  5. touring complete has loops and you can program it to do anything
1 Like
  1. The EVM will read the contents of the smart contract and send it to the cpu.
  2. ByteCode
  3. Solidity and Bytecode have a similar humanistic language that solidity will composite to bytecode so EVM will understand it.
  4. Because it runs on script language that is non turing complete.
  5. It means it has multiple layers and loops that contracts and applications can be built upon.
1 Like
  1. EVM is a piece of code located on the node and used to executes compiled Solidity
  2. EVM byte code
  3. Byte code is the compiled version of Solidity
  4. Using Script Bitcoin can run programs, but script it is not turing complete and programming is limited.
  5. A TC language can execute loops
1 Like

1&2.EVM is a program that runs on Ethereum full nodes. It runs on top of the hardware yet isolated from its host computer by create a capsule-like environment to read and execute Smart contract, in bytecode.

3.We use Solidity to write Smart contract and compile it into bytecode to run on EVM. Bytecode is machine language that can be converted from several programming languages it’s not dependable on Solidity to produce executable codes.

4.Bitcoin’s script language is Turing incomplete. It is limited and can not develop complex applications.

5 Turing complete programming language can solve any kind of computation problems run any kind of algorithms builds any kind of application, in theory.

2 Likes
  1. The EVM executes all smart contracts
    2.It reads byte code through solidity
    3.Solidity is basically the translator from people to byte code from my understanding and then the nodes execute the SCs
    4.Because BTC is not Turing Complete and can’t solve all problems it may need to
  2. Turing Complete programs can execute and read any and all potential data necessary
1 Like