Please enable JavaScript.
Coggle requires JavaScript to display documents.
Principles of Programming - Coggle Diagram
Principles of Programming
Low level languages
1a = workplace.parent.part e.g wait(2) local.script(plr(function:connect) = true
Machine code is written in bit patterns (instructions and data) that can be executed directly by the CPU
High level languages must be converted into machine code before they can be executed by the CPU, whereas machine code does not
High level languages
A high level programming language allows code to be written in a natural human language which is very close to English
Reasons people choose High level Languages
they are easier to understand, learn and program, as their commands are similar to natural languages like English
The names of variables/identifiers can be long and meaningful, making programs easier to understand
They closely resemble pseudo-code algorithms
Uses of high and low level languages
uses
High level languages are used when execution speed is not critical - e.g. in common productivity applications, such as a word processor, or spreadsheet.
Most modern applications such as commercial database packages, operating systems, e-commerce software and social media apps are developed using a high level programming language.
Programmers may wish to program directly in machine code or assembly code when programming device drivers or embedded systems, or where fast execution speeds are critical.
Professional game developers may need to use console specific development software, which is likely to include low level features for optimum performance.
Machine code
Machine code is written in bit patterns (instructions and data) that can be executed directly by the CPU
High level languages must be converted into machine code before they can be executed by the CPU, whereas machine code does not
Global and local variables
High level languages are used when execution speed is not critical - e.g. in common productivity applications, such as a word processor, or spreadsheet.
Most modern applications such as commercial database packages, operating systems, e-commerce software and social media apps are developed using a high level programming language
Programmers may wish to program directly in machine code or assembly code when programming device drivers or embedded systems, or where fast execution speeds are critical
Professional game developers may need to use console specific development software, which is likely to include low level features for optimum performance