KEMBAR78
Presentation on Programming Languages. | PPT
Programming Languages
What is a Programming Languages
• A programming language allows people to
create programs that tell machines
(computers) what to do.
A programming language is a tool for developing executable models
for a class of problem domains.
A programming language is a tool for developing executable models
for a class of problem domains.
Levels of Programming Languages
High-level program
class Triangle {
...
float surface()
return b*h/2;
}
class Triangle {
...
float surface()
return b*h/2;
}
Low-level program
LOAD r1,b
LOAD r2,h
MUL r1,r2
DIV r1,#2
RET
LOAD r1,b
LOAD r2,h
MUL r1,r2
DIV r1,#2
RET
Types of programme
• Imperative Programming (C)
• Object-Oriented Programming (C++)
• Logic/Declarative Programming (Prolog)
• Functional/Applicative Programming (Lisp)
Top programming languages
High-level Languages
C
C++
Java
HTML
XML
•C
– Developed by Bell Laboratories in the early 1970s.
– Provides control and efficiency of assembly
language while having third generation language
features.
– Often used for system programs.
– UNIX is written in C.
High-level Languages
Example of C programe
Input
Example of C programe
Input a programme +compile it +run it = Reasult/output
Reasult/
output
High-level Languages
•C++
– It is C language with additional features.
– Widely used for developing system and
application software.
– Graphical user interfaces can be developed easily
with visual programming tools.
High-level Languages
•JAVA
– An object-oriented language similar to C++ that
eliminates lots of C++’s problematic features
– Allows a web page developer to create programs
for applications.
– Objective of JAVA developers is that it be
machine, platform and operating system
independent.
Example of Java
Input
Example of Java
Output
High-level Languages
•XML
– Extensible Markup Language.
– A language for defining other languages.
Markup Languages
•HTML
– HyperText Markup Language.
– Used on the Internet and the World Wide Web
(WWW).
– Web page developer puts brief codes called tags
in the page to indicate how the page should be
formatted.
Example of HTML
Exaample of CSS
Example of CSS
LOW LEVEL LANGUAGES WORK MORE CLOSELY WITH
HARDWARE AND DO NOT REQUIRE A COMPILER TO BE
EXECUTED. HIGH LEVEL LANGUAGES ARE MORE
UNDERSTANDABLE FOR THE PROGRAMMER IN TERMS OF
THE WORDS IN THE CODE.
Difference between a high and
low-level programming language
Conclusion
• Every one need a language to tell an information which is
hidden, in such a way programming is a language which is
used used for knowing the hidden information of computer
related programming
Presentation on Programming Languages.

Presentation on Programming Languages.

  • 1.
  • 2.
    What is aProgramming Languages • A programming language allows people to create programs that tell machines (computers) what to do. A programming language is a tool for developing executable models for a class of problem domains. A programming language is a tool for developing executable models for a class of problem domains.
  • 3.
    Levels of ProgrammingLanguages High-level program class Triangle { ... float surface() return b*h/2; } class Triangle { ... float surface() return b*h/2; } Low-level program LOAD r1,b LOAD r2,h MUL r1,r2 DIV r1,#2 RET LOAD r1,b LOAD r2,h MUL r1,r2 DIV r1,#2 RET
  • 4.
    Types of programme •Imperative Programming (C) • Object-Oriented Programming (C++) • Logic/Declarative Programming (Prolog) • Functional/Applicative Programming (Lisp)
  • 5.
  • 6.
  • 7.
    •C – Developed byBell Laboratories in the early 1970s. – Provides control and efficiency of assembly language while having third generation language features. – Often used for system programs. – UNIX is written in C. High-level Languages
  • 8.
    Example of Cprograme Input
  • 9.
    Example of Cprograme Input a programme +compile it +run it = Reasult/output Reasult/ output
  • 10.
    High-level Languages •C++ – Itis C language with additional features. – Widely used for developing system and application software. – Graphical user interfaces can be developed easily with visual programming tools.
  • 11.
    High-level Languages •JAVA – Anobject-oriented language similar to C++ that eliminates lots of C++’s problematic features – Allows a web page developer to create programs for applications. – Objective of JAVA developers is that it be machine, platform and operating system independent.
  • 12.
  • 13.
  • 14.
    High-level Languages •XML – ExtensibleMarkup Language. – A language for defining other languages.
  • 15.
    Markup Languages •HTML – HyperTextMarkup Language. – Used on the Internet and the World Wide Web (WWW). – Web page developer puts brief codes called tags in the page to indicate how the page should be formatted.
  • 16.
  • 17.
  • 18.
  • 19.
    LOW LEVEL LANGUAGESWORK MORE CLOSELY WITH HARDWARE AND DO NOT REQUIRE A COMPILER TO BE EXECUTED. HIGH LEVEL LANGUAGES ARE MORE UNDERSTANDABLE FOR THE PROGRAMMER IN TERMS OF THE WORDS IN THE CODE. Difference between a high and low-level programming language
  • 20.
    Conclusion • Every oneneed a language to tell an information which is hidden, in such a way programming is a language which is used used for knowing the hidden information of computer related programming