Preview

Programming paradigms

Powerful Essays
Open Document
Open Document
1709 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Programming paradigms
Object-Oriented Programming
1. INTRODUCTION
During developing computer science appeared a huge problem - how explain to computer what people need. Since that moment there were a lot of different and interesting suggestions, but the most suitable solution was creating a programming languages. One of the most colossal type of programming languages is programming paradigm. "A programming paradigm is an approach to programming a computer based on a mathematical theory or a coherent set of principles."(Van Roy 2010). There is a large number of various paradigms in programming languages but four of them is major. These paradigms are: Imperative, Object-Oriented, Functional and Logic paradigms.
2. IMPERATIVE PARADIGM
Imperative programming is a programming paradigm which sequentially execute commands to get a result. Sequence has an important role in Imperative paradigm because with different sequences the result will have a different values. Hence " Imperative programming is characterised by programming with states and commands which modify these states."( http://www3.ul.ie/~library/pdf/citeitright.pdf ,no date). For easier working with Imperative paradigm the sequence of commands can be named. For example if some sequence of commands was named then programmer can trigger it in any place of the program using just name of sequence. Named sequence called subroutines. Imperative paradigm with one or more subroutines called procedural programming.The two most usful imperative languages are Pascal and C. Advantages: Significant feature as well as a main advantage of imperative programming is opportunity to reuse a code which already exist and implement some activities. Disadvantages:



Bibliography: 'Functional programming '(2012)Wikipedia. Available at: http://en.wikipedia.org/wiki/Functional_programming#Pure_functions (Accessed: 16 Oct 2012). Http://docs.oracle.com/javase/tutorial/java/concepts/object.html (no date)(Accessed 16 Oct 2012). Http://www3.ul.ie/~library/pdf/citeitright.pdf (no date) (Accessed: 7 Oct 2012). 'Imperative programming '(2012)Wikipedia. Available at: http://en.wikipedia.org/wiki/Imperative_programming (Accessed: 16 Oct 2012). 'Logic programming '(2012)Wikipedia. Available at: http://en.wikipedia.org/wiki/Logic_programming (Accessed: 16 Oct 2012). 'Object-oriented programming '(2012)Wikipedia. Available at: http://en.wikipedia.org/wiki/Object-oriented_programming#Criticism (Accessed: 16 Oct 2012). Peter,V.R.(2010)Programming Paradigms for Dummies: What Every Programmer Should Know.Available at: http://www.info.ucl.ac.be/~pvr/VanRoyChapter.pdf (Accessed: 7 Oct 2012). Praguecollege(2012) Programming languages: Paradigms. Available at: http://courses.praguecollege.cz/mod/page/view.php?id=60629&inpopup=1 (Accessed 16 Oct 2012). Sylwia,O. (2008)CA215 Languages & Computability: Functional Programming. Available at: http://www.computing.dcu.ie/~sozdowska/teaching/ (Accessed 16 Oct 2012).

You May Also Find These Documents Helpful

  • Satisfactory Essays

    PT1420week5exdkinney

    • 404 Words
    • 2 Pages

    References: Gaddis, T. (2010). Starting out with programming logic & design. Boston, MA: Addison- Wesley/Pearson Education, Inc.…

    • 404 Words
    • 2 Pages
    Satisfactory Essays
  • 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
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    The words that make up a high level programming language are known as what? Keywords…

    • 738 Words
    • 3 Pages
    Good 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
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    C++ programming: editing, compiling, user I/O, variables (ints, doubles, char, strings, booleans), loops, decisions, functions, pointers, arrays, tables, databases, sorting.…

    • 1748 Words
    • 8 Pages
    Powerful 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

    1.) There have been several versions of SQL created in the last 26 years. In 1986, SQL-86 (SQL-87) was first published. In 1989, SQL-89 was a minor revision made to the original SQL. In 1992, SQL-92 (SQL2) was a major revision to its previous version. In 1999, SQL-99 (SQL3) added regular expression matching, recursive queries, triggers, non scalar types and some object oriented features. In 2003, SQL-2003 introduced XML related features, standardized sequences, and columns with auto generated values. In 2006, SQL-2006 defined ways in which SQL can be used in conjunction with XML and it defined ways of importing and storing XML data in an SQL database, manipulating it within the database and publishing both XML and conventional SQL-data in XML form. It also enables applications to integrate into their SQL code the use of XQuery. In 2008, SQL-2008 Legalized ORDER BY outside cursor definitions, added INSTEAD OF triggers, and added the TRUNCATE statement. As of March 2012, the newest SQL was released its new features include AlwaysOn SQL Server Failover Cluster Instances and Availability Groups which provides a set of options to improve database availability, Contained Databases which simplify the moving of databases between instances, new and modified Dynamic Management Views and Functions, programmability enhancements including new Spatial features, Metadata discovery, Sequence objects and the THROW statement, performance enhancements such as ColumnStore Indexes as well as improvements to OnLine and Partition level operations and security enhancements including Provisioning During Setup, new permissions, improved role management and default schema assignment for groups…

    • 701 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    It 210

    • 2960 Words
    • 12 Pages

    Prelude to Programming: Concepts and Design, Fifth Edition, by Stewart Venit and Elizabeth Drake. Published by Addison-Wesley. Copyright © 2011 by Pearson Education, Inc.…

    • 2960 Words
    • 12 Pages
    Powerful Essays
  • Powerful Essays

    It 210 Weeks

    • 2760 Words
    • 12 Pages

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

    • 2760 Words
    • 12 Pages
    Powerful Essays
  • Powerful Essays

    Thought there are numerous computer programming languages in the world today, we will focus on the three basic fundamental types of computer programming languages.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    week 1 assignment

    • 1379 Words
    • 6 Pages

    Drake, E., & Venit, S. (2011). Prelude to programming: Concepts and design (5th ed.). Boston, MA: AddisonWesley.…

    • 1379 Words
    • 6 Pages
    Satisfactory 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
  • Better Essays

    Venit, S., & Drake, E. (2009). Prelude to programming: Concepts & design (4th ed.). Boston, MA: Addison-Wesley.…

    • 890 Words
    • 4 Pages
    Better Essays
  • Good Essays

    Home Maintenance

    • 739 Words
    • 3 Pages

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

    • 739 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Rotational Motion

    • 820 Words
    • 4 Pages

    History, Classification, Basic Components, CPU, Memory, Peripheral Devices, Storage Media & Devices, Physical & Logical Storage, Data Organization, File Storage, Programs & Software, System Software, Application Software, Operating Systems, Programming Languages, Compilation & Interpolation, Problem Specification, Algorithms, Flow Chart, Pseudo Code, Basic Programming Techniques, Data Types & Declaration, Header File & Linkage, Variables & Constants, Arrays, Input/Output, Termination, Remark, Control Structures, Branching, Conditional Structures, Repetition and Loops, Basic Library Functions.…

    • 820 Words
    • 4 Pages
    Powerful Essays

Related Topics