Preview

Programming Paradigms or Styles

Powerful Essays
Open Document
Open Document
2576 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Programming Paradigms or Styles
The evolution of programming has seen a number of programming language generations and programming paradigms or styles. Write notes describing and distinguishing the different programming paradigms that have been used to date and also highlight the merits and demerits of each programming paradigm. (30)
A programming language is a system of signs used to communicate a task/algorithm to a computer, causing the task to be performed. The task to be performed is called a computation, more broadly, a computer language typically embodies a particular programming paradigm. A Programming Paradigm is a model for a class of Programming Languages that share a set of common characteristics. Programming language paradigms are various systems of ideas that have been used to guide the design of programming languages. It is a way of conceptualising what it means to perform computation and how task are to be carried out on a computer, should be structured and organised.
It is a style of programming that a programmer tends to use for the various reasons of coming up with a particular program that suits the problem to be addressed by the program, hence these paradigms are different in that they have certain characteristics which are not found in the other paradigms.
Below is a table which illustrate these paradigms and programming languages example.
Table1.
Imperative/Algorithm Declarative Object- Oriented Functional Programming Logic Programming
Algol Haskell Prolog Smalltalk
Cobol ML Simula
Ado Miranda C++
C APL Java
Imperative: The language provides statements, such as assignment statements, which explicitly change the state of the memory of the computer
Functional: In this paradigm we express computations as the evaluation of mathematical functions
Logic: In this paradigm we express computation in exclusively in terms of mathematical logic
Object-Oriented: In this paradigm we associate behaviour with data-structures called " objects " which belong to classes

You May Also Find These Documents Helpful

  • Better Essays

    Venit, S., & Drake, E. (2011). Prelude to Programming Concepts and Design (5th ed.). Boston, MA: Addison-Wesley.…

    • 1800 Words
    • 6 Pages
    Better Essays
  • Satisfactory Essays

    What is procedural or algorithmic programming? What is object-oriented programming? What is the role of code reuse in object-oriented programming? Under what circumstances is object-oriented programming best suited? Under what circumstances is procedural or algorithmic programming best suited?…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Compter Science

    • 819 Words
    • 4 Pages

    Programming statements in a low-level language will be close to natural language and will use standard mathematical notation.…

    • 819 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Reusability of Code

    • 511 Words
    • 3 Pages

    The earliest programming languages were procedural, meaning a program was made of one or more procedures. A procedure is simply a module or function that performs a specific task such as gathering input from the user, performing calculations, reading or writing files, displaying output, and so on. The programs that you have written so far have been procedural in nature. The steps a program must perform to reach the desired outcome. Procedure is an independent entity and a sequence of instructions that are grouped together. In procedural programming, a task is broken down into assortment of variables and subroutines. In OPP, a task is broken down into objects which summarize the data and execution. In a procedural approach, the entirely called variable is termed as a trait of the object. The idea is to encapsulate data and a…

    • 511 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    D.3.3 [Programming Languages]: Language Contructs and Features – abstract data types, polymorphism, control structures. This is just an example, please use the correct category and subject descriptors for your submission. The ACM Computing Classification Scheme: http://www.acm.org/class/1998/…

    • 5662 Words
    • 23 Pages
    Powerful Essays
  • Satisfactory Essays

    Programming is an innovative undertaking through which programmers use computers to carry out tasks and solve problems. Programming paradigms are the various approaches to programming. Two of the most fundamental programming paradigms include object-oriented programming as well as procedural programming. Object-oriented programming employs the interaction of objects in the problem solving process. Objects are components within a program that are developed to perform a particular function and to connect with other elements within the program. Procedural programming on the other hand makes use of a list of directives that instruct a computer how to solve a particular problem on a step by step basis.…

    • 372 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Structured programming is one of the several different ways in which a programming language can be constructed. "It was originally introduced as a means of getting away from the 'spaghetti' code that was used in the early days and to provide some means by which programmers could more easily follow code written by other programmers." (Hendren, 1998) Structured programming is a procedure-oriented method of designing and coding a program.…

    • 962 Words
    • 4 Pages
    Better Essays
  • Good Essays

    Copro 2 Reviewer 2014

    • 557 Words
    • 3 Pages

    Classes is a term that describes a group or collection of objects with common properties.…

    • 557 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Object Oriented Programming, models the way people think about and deal with the world. In the tradition styles of programming, a sequence of instructions were used to perform a computer task called out in a program. Object-oriented programming uses objects. These objects have behaviors, hold information, and can interact with objects in one or more classes (Farrell, 2011).…

    • 624 Words
    • 3 Pages
    Better Essays
  • Good Essays

    learning styles

    • 590 Words
    • 3 Pages

    Learning styles are the different ways people learn and how they approach information. Everyone learn in their own specific way, although we all share some similarities in the way we learn, be it patterns, technique, preferences etc.…

    • 590 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Computer hardware runs off different programs that are installed on a computer. For these programs to run, they need to be coded correctly with minimal bugs. Designing and coding are the essentials of programming. The various methods to code a program have grown over the years. There are two basic types of programming that have been around for a long time; procedural programming, and object oriented programming. Procedural programming uses consists of modules that run a series of procedures to obtain data whereas objective oriented programming combines code and data together and may be reused. Although procedural programming was introduced before object oriented programming, both have become the standards on how newer languages are developed.…

    • 648 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    POB sba

    • 503 Words
    • 3 Pages

    • Programming languages are a set of codes for the step-by-step instructions that direct the computer to perform the tasks.…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Computer Programming 2 Programming Paradigm Procedural Programming   style of programming in which the programming task is broken down into a series of operations (called procedures) applied to data (or data structures) C and Pascal Object-Oriented Programming    extension of procedural programming breaks down a programming task into a series of interactions among different entities or objects Java, C++, and Smalltalk Introduction to OOP * Property of STI Page 1 of 15 Computer Programming 2 Object-Oriented Programming type of programming in which programmers define not only the data structures, but also the types of operations (methods) that can be applied to the data structure enables programmers to create modules that do not need to be changed when a new type of object is added most widely used paradigm instead of focusing on what the system has to do, focus on:  what objects the system contains  how they interact towards solving the programming problem Introduction to OOP * Property of STI Page 2 of 15 1 _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ 2 _________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ Computer Programming 2 Object-Oriented Programming Illustration of OOP Introduction to OOP * Property of STI Page 3 of 15 Computer Programming 2 Object-Oriented Programming Advantages of OOP over conventional approaches: …

    • 1005 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    Science

    • 7351 Words
    • 42 Pages

    while retaining a programming model based on generic programming principles. The template features generality and…

    • 7351 Words
    • 42 Pages
    Powerful Essays
  • Powerful Essays

    Meiosis

    • 1790 Words
    • 8 Pages

    Today's lecture will be a quick history of programming languages. Since 1957 when the first Fortran was introduced for the IBM 704, literaly hundreds of new programming languages have come and gone--well, some of them have gone, and others--like Fortran, have managed to stay around. The sheer number of languages makes it impossible to cover them all in any depth--indeed, even the most important languages we will only have time to discuss in shallow detail today. As a result, we talk about only the most important languages--those that had historical significance either for their new ideas or their influences on the languages that followed them.…

    • 1790 Words
    • 8 Pages
    Powerful Essays

Related Topics