Programming
ART OF PROGRAMMERS
Programming…?
 The act of writing computer programs is called computer programming
 Java
 C
 C++
 Python
 PHP
 Perl
 Ruby
Origin…?
 The beginning of the programming era spans a period of over two
centuries.
 The recent advances that led to the development of sophisticated
programming languages and systems were preceded by the work that
opened the door to what we use today.
Origin…?
 The first attempts to devise anything programming-related date back to
the 19th century. In 1843, Charles Babbage developed the concept of
programming and actually devised the first machine of this kind, only on
paper. His brainchild, dubbed the Analytical Engine, would comprise a
processor, a control unit, and input and output devices. However, this
project was not implemented.
Origin…?
 It was not until his friend Ada Byron, who later became known under the
surname of Lovelace, created the first-ever computer program for the
machine designed by Babbage. The program was algorithm-based and, if
implemented, would be able to calculate Bernoulli numbers. She is
considered the first programmer, and she coined such terms as cell and
cycle.
Ada-Lovelace
Why need of programming language?
 The programing language enables us to write efficient programs and
develop online solutions such as- mobile applications, web applications,
and games, etc. Programming is used to automate, maintain, assemble,
measure and interpret the processing of the data and information.
Why Do We Have So Many
Languages?
 Because different languages are designed to be used for different
purposes – some are useful for web development, others useful for writing
desktop software, others useful for solving scientific and numeric
problems, and so on.
Computer can understand …
 A computer can only understand two distinct types of data: on and off. In
fact, a computer is really just a collection of on/off switches (transistors).
Anything that a computer can do is nothing more than a unique
combination of some transistors turned on and some transistors turned
off.
Why programming languages …?
 Binary code is the representation of these combinations as 1s and 0s,
where each digit represents one transistor. Binary code is grouped into
bytes, groups of 8 digits representing 8 transistors. For example, 11101001.
Modern computers contain millions or even billions of transistors, which
means an unimaginably large number of combinations.
 But one problem arises here. To be able to write a computer program by
typing out billions of 1s and 0s would require superhuman brainpower,
and even then it would probably take you a lifetime or two to write.
Languages …
High level
Low level
HIGH LEVEL
LOW LEVEL
I can understand
I can understand
HIGH LEVEL
LOW LEVEL
I can understand
Who will help me to
understand it
 Compiler
 Interpreter
 Assembler
Need help.
I can help you
Translation needed
HIGHLOW
Low
level
HIGH
level
FAST
slow
Who help in translation …?
Compiler
Interpreter
Assembler
The process
Languages used for different
technologies
Thank you …

Programming

  • 1.
  • 2.
    Programming…?  The actof writing computer programs is called computer programming  Java  C  C++  Python  PHP  Perl  Ruby
  • 3.
    Origin…?  The beginningof the programming era spans a period of over two centuries.  The recent advances that led to the development of sophisticated programming languages and systems were preceded by the work that opened the door to what we use today.
  • 4.
    Origin…?  The firstattempts to devise anything programming-related date back to the 19th century. In 1843, Charles Babbage developed the concept of programming and actually devised the first machine of this kind, only on paper. His brainchild, dubbed the Analytical Engine, would comprise a processor, a control unit, and input and output devices. However, this project was not implemented.
  • 5.
    Origin…?  It wasnot until his friend Ada Byron, who later became known under the surname of Lovelace, created the first-ever computer program for the machine designed by Babbage. The program was algorithm-based and, if implemented, would be able to calculate Bernoulli numbers. She is considered the first programmer, and she coined such terms as cell and cycle. Ada-Lovelace
  • 6.
    Why need ofprogramming language?  The programing language enables us to write efficient programs and develop online solutions such as- mobile applications, web applications, and games, etc. Programming is used to automate, maintain, assemble, measure and interpret the processing of the data and information.
  • 7.
    Why Do WeHave So Many Languages?  Because different languages are designed to be used for different purposes – some are useful for web development, others useful for writing desktop software, others useful for solving scientific and numeric problems, and so on.
  • 8.
    Computer can understand…  A computer can only understand two distinct types of data: on and off. In fact, a computer is really just a collection of on/off switches (transistors). Anything that a computer can do is nothing more than a unique combination of some transistors turned on and some transistors turned off.
  • 9.
    Why programming languages…?  Binary code is the representation of these combinations as 1s and 0s, where each digit represents one transistor. Binary code is grouped into bytes, groups of 8 digits representing 8 transistors. For example, 11101001. Modern computers contain millions or even billions of transistors, which means an unimaginably large number of combinations.  But one problem arises here. To be able to write a computer program by typing out billions of 1s and 0s would require superhuman brainpower, and even then it would probably take you a lifetime or two to write.
  • 10.
  • 11.
    HIGH LEVEL LOW LEVEL Ican understand I can understand
  • 12.
    HIGH LEVEL LOW LEVEL Ican understand Who will help me to understand it  Compiler  Interpreter  Assembler Need help. I can help you
  • 13.
  • 14.
  • 15.
    Who help intranslation …? Compiler Interpreter Assembler
  • 16.
  • 18.
    Languages used fordifferent technologies
  • 19.