A processor understands only binary instructions, yet you write programs in words such as IF and PRINT.
3 lessons, about 1 h 20 min3 simulations10 problems3 practice questionsPython in every lesson
A processor runs machine code, which is binary. Low-level languages are machine code and assembly language, which uses mnemonics and needs an assembler. High-level languages are closer to English and work on many machines, but cannot work the hardware directly. You compare them and learn the advantages of each.
A compiler translates the whole program at once, reports every error, and makes an executable file. An interpreter translates and runs the program line by line and stops at the first error. You see how each one reports errors, and why an interpreter is mostly used while a program is developed and a compiler for the final program.
An integrated development environment (IDE) is one program with the tools for writing, translating, running and fixing code. You meet its common functions: the code editor, the run-time environment, the translators, error diagnostics, auto-completion, auto-correction and prettyprint.
Log in to join the discussion.
Loading…