1. What is a program?

1.1. Programming languages

  • Low-level languages are the closest to the machine:
    • Assembler:
      • Load the number of variables A into the CPU.

      • Load the number of variables B into the CPU.

      • Add the two numbers in the CPU.

      • Store the result in variable C.

  • Original high-level language command: C = A + B.

  • Compilers convert high-level language to specific computer machine language.

  • Interpreters parse and execute the program instruction by instruction in the computer’s machine language.

You have attempted of activities on this page