Unit 6 – P1
Overview of types of programming
There are many programming languages and these can be split into different categories as there is no designated language when programming, each programming language is classified by its programming paradigm, which are procedural, structured, object oriented and event driven. Some languages support more than one paradigm, for example java has parts of object oriented and procedural programming paradigms. Paradigms will continue to develop as new software and hardware pushes IT developments.
Procedural Programming Languages
Procedural programming makes a program carry out a list of procedures in order to reach the desired outcome. Procedural programming is one of the most simple programming formats, however when constructing a program you must take into account that the program must be coded in a way which allows the program to carry out tasks in a specific order, this means you cannot enter a line of code unless it follows on from code you have previously entered.
Procedures are small parts of the code or functions which cause outcomes or the creation of forms and other items. A procedure is an item which carries out a list of calculations. Procedural programming is easier to understand because it is structured in small blocks rather the just a large block of script, this also means code can be reused because of the way it is cut into small parts with recognised functions.
Structured programming languages
Structured programming is a type of procedural programming, it provides more functions than regular procedural programming which help create larger programs and manage the errors encountered while coding, programmers will often break code into parts so it can be easily understood and worked on, the programmer will the compile all of the components to create the overall program.