Used for problems that can easily be solved by linear or step-by-step algorithm., Start to finish program, which means the computer begins the program and does not stop until the program is complete.
This paradigm runs quickly and is very efficient. It is easily understood. It is flexible and powerful, which allows programmers to apply it to many types of problems.
Does not fit all types of problems. Problems that are unstructured or those with very complex algorithms are a hassle for this paradigm. It also forces programmers to view problems as steps as opposed to objects or concepts.
Mainly used when trying to formulate a way to organize objects into classes.
Programmers can visualize the solutions to problems more easily. Objects can be adapted and reused in a variety of different programs. The encapsulation method allows the paradigm to hide its details from other objects.
Cons, The biggest disadvantage of object-oriented programs is runtime efficiency. It requires a lot of memory and processing resources than procedural programs.
The program describes the problem without describing how to get to the solution., A programmer plans a declarative paradigm through a decision table, which is a tabular method for visualizing and specifying rules based on multiple factors.
Highly effective programming environment for problems that involve words, concepts, and complex logic.
Not commonly used for production applications. Have built a reputation for providing minimal input and output capabilities. Poor performance on today's personal computer architecture, which is optimized for sequential processing.
Also part of the declarative paradigm.
The programmer is never required to deal with the overall program sequence because the visual development environment automatically combines user interface elements and event-handling into a file that becomes the final computer program.
Significantly reduces development time and can simplify the entire programming process.
Programming errors, such as syntax erros, runtime errors, and logic errors are time consuming and annoying.