Introduction to Programming

Definition

  • Computer programming is a process that leads from an original formulation of a computing problem to executable programs.

  • 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.

Types of Programming:

  1. Low Languages (Level doesn’t need a translator)

    • ASSEMBLY
    • TASM
    • MASM

  2. High Languages (Level needs a translator)

    • C [Linux, Objective C, MS C, Turbo C, CCS, Borland C].
    • Cobol, Fortan, Ruby, Pascal, Python, GW Basic, C++, C#, Java, etc.

Technical divisions of the languages:

  1. Procedural/Modular/Structural/Functional

    Conceptually these divisions describe functions only.

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

    Ex: Example of bank that helps to understand what exactlyrocedural/Modular/Structural/Functional languages depend on:

    function

    In this example the customer performs bank operations but procedural languages don’t care about what the customer is or where to perform the operations, it just depends on function (cash deposited, transactions, withdraw).

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

  2. Object Based

    Object based languages are those totally dependent on object, Class, Inheritance.

    • Microsoft Visual Basic 6.0

  3. Object Oriented

    Object oriented languages are those languages that completely follow the pillars of object oriented programming (OOP).

    • C++, Python, C#, Java, VB.NET, J#, etc.
Ebook Download
View all
Learn
View all