0% found this document useful (0 votes)
8 views21 pages

DS01-Introduction To Programing

Uploaded by

Ishka Insaf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views21 pages

DS01-Introduction To Programing

Uploaded by

Ishka Insaf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 21

Object Oriented Design

EEI4362
What is programming ?
What is programming ?

 Programming is instructing a
computer to do something for you
with using a language that the
computer can understand.
The role of a programming language

 Conceptual: Organizing our ideas


about things and processes. (what to
do)

 Technical: Instructing a Computer to


perform Tasks (How to do)
Real world example for programming
concept (cooking Rice)
 Conceptual – Organizing the ideas on
how to do it
 Technical – Actually doing it
Things to deal with in Programming
 Data, representing ``objects'' we
want to manipulate
 Procedures, i.e. ``descriptions'' or
``rules'' that define how to
manipulate data.

 Real world example to understand


Data and Procedures
History of Programming Languages

 1957 – Fortran (Formula Translation)


 Created by John Backus
 Developed to perform high level
scientific, mathematical and
statistical computations.
History of Programming Languages

 1959 – COBOL
 1964 – Basic
 1969 – C
 1970 – Pascal
 1983 – c++
 1987 – Perl
 1995 – PHP, java, and JavaScript
Programming Paradigms (Models)

 Imperative paradigm
 Functional Paradigm
 Logic paradigm
 object-oriented paradigm
Imperative paradigm

 The language provides statements,


such as assignment statements ,
which explicitly change the state of
the memory of the computer.
 'first do this, next do that'
 The order to the commands is
important
Functional Paradigm
 In this paradigm we express
computations as the evaluation of
mathematical functions.
 simpler and more clean
programming paradigm than the
imperative one
 All computations are done by
applying (calling) functions
Logic Paradigm
 In this paradigm we express
computation in exclusively in terms
of mathematical logic
Object Oriented Paradigm
 In this paradigm we associate
behaviour with data-structures called
" objects " which belong
to classes which are usually
structured into a hierarchy.
Procedural Programming

 A procedural program is written as a list


of instructions
 Tells the computer, step-by-step, what to
do
 Example - Open a file, read a number,
multiply by 4, display something.
 C, C++, Fortran, Pascal, and Basic
Declarative programming

 Programming model that expresses


the logic of without describing
its control flow
 Example- Cascading Style Sheets
Scripting Languages
 A scripting language is a form of
programming language that is
usually interpreted rather
than compiled.
 Example - JavaScript
Commercial Languages
 Languages which are developped for
commercial (business) purposes
 Example – Microsoft Languages
Scientific Languages
 Languages which are not developed
for commercial purposes
 Open source languages like Java
High Level Vs Low Level
Programming Languages
Thank You
Q/A

You might also like