2.5 Programming languages And IDEs Flashcards
High level language:
High Level Languages include Python, Basic and C++. The source code is easy for humans to write as the instructions are very similar to English and Maths we use.
Low level language:
Low Level Languages are more difficult for humans to read and write. They use commands which are close to the computer’s instruction set.
Machine code:
Machine code is the set of instructions that a CPU understands directly. A program written in machine code would consist of only 0s and 1s
Assembly language:
Assembly language sits between
machine code and high-level languages. Assembly language uses mnemonics Each mnemonic equals a machine code instruction.
Translator:
Translators convert programming languages into machine code. This needs to be done so that the computer can execute the instructions.
Compiler:
Compiler translates all of the source code at the same time and creates an executable file. When compiling is complete it will return a list of errors for the program.
Interpreter:
An Interpreter translates and runs the source code one instruction at a time. You need the interpreter every time you run the program.
Integrated Development Environment:
The IDE is a piece of software that provides features to help a programmer to develop their program. E.g. IDLE, Py Charm, Microsoft Visual Studio
Code editor:
This is the part of the IDE where
the code is written. Most code editors will have line numbering, auto-colouring, auto-indentation and auto-complete
Run time environment:
This allows the code to be run quickly within the IDE. This is usually done using a run button.
Breakpoints:
Can be placed in the code and when the point is reached in the program as it runs, it stops and allows you to see variable values at that instant.
Error diagnostics & Debugging:
This helps you to find and fix errors in a program. It will tell you the location of the error and suggest ways to fix it.