Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

Introduction to Programming Paradigms

Notes:

Introduction to Programming Paradigms:

General Purpose Programming Languages: programming languages, which are used to develop applications for variety of domains
Ex: C, C++, C#, Java etc.

Specific Purpose Programming Languages: programming languages, which are used to develop applications for a specific domain
Ex: HTML, SQL, Prolog, Lisp, COBOL, JavaScript, Action script etc.

Programming Paradigm: is way or style of writing programs

Unstructured Programming Languages:
1. Entire application is written in single unit
2. Difficult to code, modify, debug and test
3. Follows linear approach (strategy)
4. Emphasize on how to solve problems
5. No data types (Un-typed)
6. No data abstraction (global scope)
7. Very high coupling and very low cohesion
8. Less flexibility, extensibility and maintainability
9. Not suitable for complex applications
10. Ex. BASIC

Structured Programming Languages: (POP)
1. Entire application is divided into smaller units called as procedures
2. Quite easy to code, modify, debug and test
3. Follows top down approach (strategy)
4. Emphasize on procedure to solve problems
5. Data types (Typed) - OPPs features
6. Less data abstraction (local and global scope)
7. More coupling less cohesion
8. Quite flexibility, extensibility and maintainability
9. Suitable for moderately complex applications
10. Ex. C

Object Oriented Programming Languages: (OOP)
1. Entire application is divided into smaller units called as entities or objects
2. Easy to code, modify, debug and test
3. Follows bottom up approach (strategy)
4. Emphasize on how to manage data
5. Data types ( Typed ) + Abstract Data types + OPPs Features
6. More data abstraction (local, class, object, package, application scope etc)
7. Less coupling more cohesion
8. More flexibility, extensibility and maintainability
9. Suitable for any complex applications
10. Ex. C++, C#, Java, Action Script

Object Based Programming Languages:
1. Entire application is divided into smaller units called as prototypes
2. Objects are created by using prototypes
3. Most of the OOPs concepts not supported
4. Weakly typed or Strongly typed
5. Ex. JavaScript