The languages used for this paradigm are BASIC, Pascal, COBOL, Fortran, and Ada.
The procedural paradigm emphasizes linear steps that provide the computer with instructions on how to solve a problem or carry out a task.
The type of problems best suited for the procedural approach are problems that can be solved by a step-by-step algorithm.
The advantages of procedural paradigms is that they produce programs that run quickly, and use the system resources efficiently. It is also very flexible and and powerful, which helps programmers apply it to different types of problems.
The disadvantages is that it does not fit with unstructured problems or very complex algorithms. Also, it has been known to view problems as a series of steps when a visualization would be a better approach.
The languages used are Smalltalk, C++, Java, and Scratch.
Object-oriented (OO) paradigms formulate programs as a serious of objects and methods that interact to perform a specific task.
The object-oriented paradigm can be applied to a wide range of programming problems. If the problem can be envisioned as a set of objects that pass messages then the problem is suitable for the OO paradigm.
The advantages are programmers can visualize the solutions to problems more easily, and can increase a programmer's efficiency because encapsulation allows objects to be adapted and reused in a variety of different programs.
The disadvantages of using object-oriented programs is that they tend to require more memory, and runtime efficiency.
The language used is in a declarative paradigm is Prolog.
Declarative paradigm focuses on the use of facts and rules to describe a problem.
Declarative programming languages are best suited for problems that pertain to words and concepts rather than numbers.
The advantage is that it offers a highly effective programming environment for problems that involve words, concepts, and complex logic.
The disadvantage is that it provides minimal input and output capabilities. Also, the declarative language usually has a poor performance on today's personal computer architecture.
The languages used are LISP, Scheme, and Haskell.
This paradigm emphasizes the evaluation of expressions called functions.
An advantage is that it is possible to employ a functional style of programming in languages that are not traditionally considered functional languages.
A disadvantage is that functional programming languages have been perceived as less efficient in their use of CPU and memory rather than imperative languages such as C and Pascal.
Functional paradigms are designed for programs that handle large matrices and multidimensional databases, which optimize the speed of the programs.
The languages used are Visual Basic and C#.
This paradigm focuses on selecting user interface elements and defining event-handling routines that are triggered by various mouse or keyboard activities. The programmer is never required to deal with the program sequence because it automatically combines the user interface elements into a file that becomes the final computer program.
The advantage of the event-driven paradigm is that it can significantly reduce development time and simplify the entire programming process.