Please enable JavaScript.
Coggle requires JavaScript to display documents.
Programming Languages By Lukasz Imiolo - Coggle Diagram
Programming Languages
By Lukasz Imiolo
Low-Level Languages
There is small or no distance between the programmer and machine code.
The program runs directly on the processor.
Computers only understand this
More efficient and it uses less memory than the high-level programing languages.
Registers, memory addresses and call stacks
High-level programming languages
Only humans will understand this.
Design to make it easier to read and use.
Uses elements of natural language and also maths to help us understand it better.
It relies on the compiler to translate the code to lower-level language for the hardware.
Variables, arrays and objects. (in code)
Examples of high-level programming is Basic and ABC (easier for beginners). While others use visuals to help code for example: Scartch and MIT App inventor.
Machine code (bindery numbers)
Only the computer can read this.
The main code high-level or low-level transfers to binnery for the computer to understand.
Assembly language
Low-level programing made for a specific processor by compiling the source code and the high-level programing.
Paradigms
Imperative
Uses commands which tell the program what it needs to do and also remember.
Alernative is declarative programming which tells the program what to do is not necessarily exact how to accomplish it.
Procedural
It is code that is simply a set of steps to be carried out in order.
Examples: First do this, If that works, do this. Then this. Then that... etc.
Event-driven
The code is executed on a specific time or event.
Examples: When the user clicks this button, run this code. When the time reaches 13:00, run this code. When the system has been on for 10h it will run this code.
Object-oriented
OOP is the hardest to understand.
Code is split in separate objects which is interact with each other.
OOP is usually reserved for large hard languages to learn.
Multi-paradigm
Most high level programing languages use this.
it can be used as OOP, event-driven or procedural
Examples: C++, C#, VB.net, Java and python