A set of instructions that commands a computer what to do
Python
A high-level programming language used to demonstrate the basic concepts of programming
Programming languages
Computer languages used to write different types of computer programs
Programming language hierarchy
1. machine language
2. assembly language
3. high-level language
Machine language
A low-level computer language where everything is represented in 1s and 0s (binary system)
Machine language is the language that computers understand directly without any need for translation, which is why it is very fast and uses memory efficiently
Writing programs in machine language is very difficult
Assembly language
A low-level computer language that uses symbols known as mnemonics instead of 1s and 0s
Assembly language is still difficult, though easier than using a binary system
Computers do not directly understand any program outside the machine language, so it requires a special type of software
Assembler
Software used to translate assembly language instructions into machine language
High-level language programs also cannot be understood directly by the computer
Translator software
Can be either a Compiler or an Interpreter, depending on the programming language
Compiler
Translates high-level language written programs all at once into machine language
Programming languages that use compilers
C, C++, Java, and C#
Interpreter
Translates programs a statement at a time, instead of translating the whole program together as compilers do