Create your own awesome maps

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account?
Log In

Programming Paradigm by Mind Map: Programming Paradigm
0.0 stars - reviews range from 0 to 5

Programming Paradigm

Procedural

Emphasizes linear steps that provide the computer with instructions on how to solve a problem or carry out a task.

Languages: BASIC, Pascal, COBOL, Fortran, Ada

A program written in a procedural language typically consists of self-contained instructions in a sequence.

Advantages: Programs detail how to solve a problem.

Very efficient for number-crunching tasks.

Disadvantages: If the program cannot define the steps for solving a problem.

Object-oriented

Formulates programs as a series of objects and methods that interact to perform a specific task.

Languages: Smalltalk, C++, Java, Scratch

Based on the idea that the solution for a problem can be visualized in terms of objects that interact with each other.

Advantages: Programs define objects, classes, and methods.

Efficient for problems that involve real-world objects

Disadvantages: Doesn't focus on the generation of procedure-based code.

Declarative

Focuses on the use of facts and rules to describe a problem.

Languages: Prolog

Attempts to describe a problem without specifying exactly how to arrive at a solution.

Advantages:Programs describe the problem.

Efficient for processing words and language.

Disadvantages: Use a collection of facts and rules to describe a problem.

Functional

Emphasizes the evaluation of expressions, called functions, rather than the execution of commands.

Languages: LISP, Scheme, Haskell

An approach to programming that emphasizes the use of expressions called "functions"

Advantages: If the result of a pure expression is not used, it can be removed without affecting other expressions.

Disadvantages:If a pure function is called with parameters that cause no side-effects, the result is constant with respect to that parameter list.

Event-driven

Focuses on selecting user interface elements and defining event-handling routines that are triggered by various mouse or keyboard activities.

Languages: Visual Basic, C#

The programmer is never required to deal with the overall program sequence.

Advantages: Significantly reduce development time.

Simplify the entire programming process.

Disadvantages: Omitting a keyword, such as THEN.

Forgetting to close parentheses.