Homework on EVM

  1. Execute the smart contract.
  2. evm Bytecode
  3. The solidity code is converted into Bytecode.
  4. The bitcoin can’t run loops.
  5. It’s a language which doesn’t have any programming limitations.
1 Like

1.- EVM can read and execute smart contracts.
2.- EVM can read byte code.
3.- Solidity is a programming language that can be used through a compiler to deploy byte code that is later executed by the EVM.
4.- Because the language it uses, script, is not Turing complete, meaning it is limited on the task it can deploy.
5.- A Turing complete programming language is a language that can perform any task (at least theoretically), having a complete programmability.

1 Like
  1. What does the EVM do?

  2. Ethereum Virtual Machine where the smart contract code run

  3. What is the format of the instructions that the EVM can read?
    Byte cod

  4. What is the relationship between the programming language Solidity and Bytecode? Is the format that the EVM can read the smart contract

  5. Why can’t Bitcoin run the same type of complex programs like Ethereum can? Bitcoin is not a turing complete language

  6. What is a Turing Complete programming language? You can program anything you want

1 Like

1.EVM (ethereum virtual machine) is a node application that checks the bytecode and allows CPU to execute it

2.It reads a bytecode that is created by a compiler of a programming language (such as Solidity)

3.It basically writes the instructions for a Bytecode and creates it through complier

4.Bitcoin’s programming language Script is not Turing complete therefore it can only enforce simple commands

5.It can create sophisticated code, theoretically anything imaginable can be deployed.

1 Like
  1. What does the EVM do?
  • Reads, runs, and executes Ethereum smart contracts.
  1. What is the format of the instructions that the EVM can read?
  • bytecode
  1. What is the relationship between the programming language Solidity and Bytecode?
  • Solidity is compiled into Bytecode which the EVM can then read and execute.
  1. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
  • BTC uses script which is not turing complete. This makes it much more limited than Solitity used in Ethereum.
  1. What is a Turing Complete programming language?
  • With a Turing Complete language you can program it in basically any way…if it is not Turing Complete, it is much similar and can understand much less.
1 Like
  1. The EVM is an application which is the interface by which smart contracts interact with the hardware of the nodes.
  2. The instructions for the EVM are in Bytecode.
  3. Solidity is the programming language of the smart contracts and then a compiler application translates the code into Bytecode.
  4. Bitcoin programming language is not Turing complete which means it cannot compute every type of problem.
  5. A Turing complete programming language has the capability to understand and compute every type of problem it is given.
1 Like
  1. It runs smart contract code on each node of the ethereum network.
  2. byte code
  3. You need to compile solidity into byte code.
  4. It does not have a turing complete virtual machine. It can only run simpler scripts.
  5. if it can be used to simulate any Turing machine.
1 Like
  1. The EVM mediates between the CPU and the Smart Contract and tells the CPU what to do after it read the smart contract

  2. Bytecode

  3. Because Bitcoin doesn’t have EVM, it only works with Script and Script is not Turing complete

  4. It means complex problems can be solved, like when you build an app

1 Like
  1. What does the EVM do?
    Gives instructions to the CPUs to execute smart contracts consensually in the ethereum network.
  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 a high-level language which can be complied into bytecode to be readable by the EVM
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Bitcoin is not turing complete, meaning that it cannot solve all problems that it might have to solve. This makes bitcoin very limited
  5. What is a Turing Complete programming language?
    Turing complete language has all the capabilities for developing complex use cases.
1 Like

1 - EVM stands for Ethereum Virtual Machine, it is installed in every nodes of the network and it runs the smart contract.

2 - EVM can read Byte Code.

3 - Solidity is used by the programmers, once it is compiled (by a program called compiler) it is changed to Byte Code which is then readable by EVM.

4 - Because the Bitcoin blockchain’s code is very limited and because the creators didn’t want to have a congested network as may happen, for example, when using loop functions.

5 - A Turing Complete programming language is a language that allows the programmers to include any kind of instructions

1 Like
  1. What does the EVM do?
    it insures security on the network
  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 compiler which then changes the information to byte code
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    switch, can not complete turning,
  5. What is a Turing Complete programming language?
    true and complete language:
    Example: it can tell the software to do something several times.
1 Like
  1. What does the EVM do?
    The EVM as an application which runs in top of all nodes of the ethereum network
    links all of them, therefore the EVM might read and execute smartcontracts
    through every CPU into the network.
  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 the bytecode?
    The relationship between both is that the Smart contract is written in Solidity
    and then compiled into a byte code.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can?
    Because the Bitcoin’s programming language called “Script” is very primitive
    so it doesn’t allow to solve all the problems. It is not turing complete.
  5. What is a Turing Complete programming language?
    Turing complete language is a type of language that has “loops” which is a feature
    that allows programmers to tell software to do a process several times.
2 Likes
  1. It is a virtual environment wherein smart contracts gets executed.
  2. Bytecode
  3. Solidity is the programming language, its like sort of high level, and Bytecode is what it compiles into.
  4. Bitcoin doesn’t run a touring complete language like Solidity, it is like that by design.
  5. Any problem you can describe, you can solve with a TC
1 Like
  1. Ethereum Virtual Machine allows CPU to execute the terms of the contract
  2. EVM can read and execute the smart contract
  3. Bytecode allows EVM to read the smart contract
  4. Because BTC is written in Script whereas ETH in Solidity
  5. ?
  1. EVM is a program that is found in all nodes that run the Ethreum network, this program is in charge of reading and executing smart contracts and then giving orders to the CPU

  2. byte code.

  3. Solidity is use to write the programming for the smart contract, then that code is passed through a Compiler that will output this code in a language called byte code, which is the language used by EVM.

  4. Because BTC is not turing complete, it has many limitations and can only be programmed for very basic things.

  5. Means you can program anything in this language

2 Likes
  1. What does the EVM do? The EVM uses its own programming language to read/authenticate/execute smart contracts on top of the bitcoin blockchain.
  2. What is the format of the instructions that the EVM can read? The format is bytecode generated by Solidity.
  3. What is the relationship between the programming language Solidity and Bytecode? Solidity compiles the instructions in the smart contract into bytecode.
  4. Why can’t Bitcoin run the same type of complex programs like Ethereum can? Bitcoin is simple in that it runs only financial transactions, Ethereum can run financial and other transactions in smart contracts. The programming languages are different in that bitcoin uses Script, Ethereum uses Solidity which enables more complex transactions.
  5. What is a Turing Complete programming language? Turing Complete programming language means you can program “anything” you want to do, turing allows loops which allows for usage of less space in the blocks in the blockchain.
1 Like
  1. EVM reads and runs the smart contract. It is the middle layer between machine/CPU and the smart contract
  2. Byte Code
  3. Solidity is the main programming language in which a programmer writes their smart contracts. Then that code is compiled to Bytecode, which is then, in turn, executed by EVM.
  4. Because Bitcoin programming language is not smart. It is primitive by design and choice. It is not a Turing Complete programming language.
  5. A Turing Complete Programming language is a one where you can program anything. This includes Loops as well.
1 Like

Homework on EVM - Questions
Q1: What does EVM do?
A1: Ethereum Virtual Machine reads contracts and relays the necessary information to a node’s CPU.

Q2: What is the format of the instructions that the EVM can read?
A2: It can read compiled Bytecode, it doesn’t many what language you originally wrote it.

Q3: What is the relationship between the programming language Solidity and Bytecode?
A3: Solidity is a programming language that is readable by humans that can be used to write smart contracts and compiles that code into Bytecode that is read by the EVM.

Q4: Why can’t Bitcoin run the same type of complex programs as Ethereum?
A4: Bitcoin’s code doesn’t have the turing and looping programming language capabilities that Ethereum has.

1 Like
  1. EVM is running on top of each hardware. It makes sure that smart contracts can not go wild and start giving comments to the CPU directly.
  2. The format is in Bytecode.
  3. Solidity needs a compiler to be transformed into a Bytecode.
  4. Bitcoin has no EVM and is written in a not turing complete language.
  5. Turing complete language works with loops that can facilitate programming.
1 Like

What does the EVM do?
Makes it possible for smart contracts to execute code on Ethereum.

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

What is the relationship between the programming language Solidity and Bytecode?
Solidity is human readable language while Bytecode is not

1 Like