Sunday, January 4, 2015

Introduction to Programming


Definition:

  • Creating a sequence of instructions to enable the computer to do something.
  • A sequence of instructions, stored in any medium that can be interpreted and executed by a computer.
  • Computer programming is a process that leads from an original formulation of a computing problem to executable program.

Types of Programming:

1) Low Level Language
  • ASSEMBLY
  • TASM
  • MASM
2) High Level Language
  • C[Linux, Objective C, MS C, Turbo C, CSS, Borland C ]
  • Cobol, Fortan, Ruby, Pascal, Python, GW Basic, C++, C#, Java etc.

 Technical divisions of the languages:


1) Procedural/Modular/Structure/Functional (1970-1992)
     Conceptually these divisions describe functions only.

     Procedural Language: C, GW Basic, Cobol, Fortan, Pascal, etc.

Ex: Example of bank that helps to understand what exactly Procedural/Modular/Structural/Functional language depend on:



In this example customer perform bank operations but procedural language doesn't care about what customer is or where to perform operations, it just depend on function (cash deposited, transactions, withdraw).

NOTE: Procedural is a standard word among Modular/Structural/Functional.

2) Object Based (1992-1998)
     object based language are those totally depend on object, class, inheritance.
  • Microsoft Visual Basic 6.0
  •   Lotus Notes 
3) Object Oriented (1998 - Continue)
     Object oriented language are those languages those completely follow the pillars of object   oriented programming (OOP).
  • C++, Python, C#, Java, VB.NET, J# etc.

No comments:

Post a Comment