Programming languages1 Programming paradigms Families of programming languages.

Slides:



Advertisements
Similar presentations
An Introduction to Programming General Concepts. What is a program? A program is an algorithm expressed in a programming language. programming language.
Advertisements

A Brief Introduction to Aspect-Oriented Programming Zhenxiao Yang.
Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
Jigar Gaglani.  A Programming language is a notational system for describing computations in a machine and human readable form.
Programming Languages Language Design Issues Why study programming languages Language development Software architectures Design goals Attributes of a good.
Programming Language Paradigms: summary. Object-oriented programming Objects are the fundamental building blocks of a program. Interaction is structured.
Overview of Programming Paradigms
High-Level Programming Languages
CS 101 Course Summary December 5, Big Ideas Abstraction Problem solving Fundamentals of programming.
A Quick Overview of Languages. FORTRAN Designed in 1955 First release of the compiler in 1957 Algebraic in nature Scientific (numeric not string oriented)
Chapter 8 High-Level Programming Languages Nell Dale John Lewis.
Comp 205: Comparative Programming Languages Imperative Programming Languages Functional Programming Languages Semantics Other Paradigms Lecture notes,
Presented by Neng-Fa Zhou1 Evolution of programming languages –Machine language –Assembly language –Sub-routines and loop (Fortran) –Procedures and recursion.
Programming Paradigms Imperative programming Functional programming Logic programming Event-driven programming Object-oriented programming A programming.
CS 331, Principles of Programming Languages Introduction.
Computer Science and Software Engineering behind Blogging platforms and software Team ASU 101 for CS/CSE students.
314450: PROGRAMMING PARADIGMS Teaching scheme: Examination Scheme: Lectures: 3 Hours/Week Theory: 100 Marks OBJECTIVE: To understand the basic building.
Computers Are Your Future Tenth Edition Chapter 11: Programming Languages & Program Development Copyright © 2009 Pearson Education, Inc. Publishing as.
Overview. Copyright © 2006 The McGraw-Hill Companies, Inc. Chapter 1 Overview A good programming language is a conceptual universe for thinking about.
PZ01A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ01A -- Introduction Programming Language Design and.
Programming Languages
Chapter 8 High-Level Programming Languages (modified by Erin Chambers)
High-Level Programming Languages: C++
CS 363 Comparative Programming Languages
Chapter 1 - Introduction
By Neng-Fa Zhou1 Evolution of programming languages –Machine language –Assembly language –Sub-routines and loop (Fortran) –Procedures and recursion (Algol,
Software Architecture & Complexity By:- Pardesi Band Group
1 CSC 533: Organization of Programming Languages Spring 2010 See online syllabus at: Course goals:  understand issues in designing,
1 Programming Language History and Evolution In Text: Chapter 2.
1 Introduction Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Sections
Chapter 6 Programming Languages. © 2005 Pearson Addison-Wesley. All rights reserved 6-2 Chapter 6: Programming Languages 6.1 Historical Perspective 6.2.
Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
Chapter 12 Computer Programming. Chapter Contents Chapter 12: Computer Programming 2  Section A: Programming Basics  Section B: Procedural Programming.
CS 345: Programming Language Paradigms Chris Brooks HR 510 MWF 11:00-12:05.
Software Development Programming & Languages. Programming: A Five-Step Procedure Define the problem Design a solution Code the program Test the program.
Jigar Gaglani.  Programming paradigm is a fundamental style of computer programming  Paradigms differ in concepts and abstractions used to represent.
CS 331, Principles of Programming Languages Chapter 1.
Chapter 8 High-Level Programming Languages. 2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
Programming Languages
Programming Paradigms Different paradigms Procedural paradigm, e.g. Pascal Basic Functional paradigm, e.g. Lisp Declarative paradigm, e.g. Prolog Object-Oriented.
Quantum Programming Languages By Steve Franchak. What are QPL’s? A set of programming languages that use high- level constructs to express quantum algorithms.
1-1 1 Introduction  Programming linguistics: concepts and paradigms syntax, semantics, and pragmatics language processors.  Historical development of.
A Short History of PL's (MacLennan 1999) “Zeroth Generation” (1940's-50's): machine language / assembly: if/then, read/write, store, goto
Software Design and Development Languages and Environments Computing Science.
CSC141 Introduction to Computer Programming Programming Language.
Programming Language Paradigms ITSK2314 Lecture 3.
a medium allowing humans and computers to communicate an abstraction of the real world a notation for expressing algorithms the set of all syntactically.
Language Paradigms CS655.
CPS120 Introduction to Computer Science High Level Language: Paradigms.
Programming Language History and Evolution
CSC 533: Programming Languages Spring 2016
The language focusses on ease of use
CSC 533: Programming Languages Spring 2015
Programming paradigms
Concepts of Programming Languages
Why study programming languages?
Basic 1964 PC general purpose Imperative Small Easy to use.
An Introduction to Programming
Programming Language History and Evolution
Evolution of programming languages
Computer Programming.
صياغة البرامج ولغات البرمجة Programming & programming languages
Programming Paradigms and Languages
Overview of Programming Paradigms
강의 내용 및 방법 접근방법 리포트 시험 Lambda Calculus, Proof of Correctness
An Introduction to Programming
Some Programming Paradigms
Programming Paradigms and Languages
Presentation transcript:

Programming languages1 Programming paradigms Families of programming languages

Programming languages2 Objected programming Important language concepts –Classes and objects –Methods –Encapsulation Private and protected –Inheritance –Polymorphism Some languages –Java –C++ –C# –Smalltalk

Programming languages3 Declarative programming Important language concepts –You say what you want, not how to do it. –An interpreter executes your “wish” Some languages –SQL (Structured Query Language) A DBMS (Database Management System) executes your SQL query.

Programming languages4 Structured programming Important language concepts –Procedures and functions –Selections statements If…else, switch, etc. –Looping statements While, for, etc. Remarks –Opposed to unstructured programming Lots of goto statements –Object-oriented programming languages has many elements borrowed from structured programming Some languages –Pascal –C

Programming languages5 Functional programming Important language concepts –Lists Programs are represented as lists –Functions –Recursion Some languages –LISP –SML –Haskell

Programming languages6 Logic programming Important language concepts –Saying “what” instead of “how” The inference machine knows “how” Non-procedural –Programmer state “facts” –Programmer asks “questions” Answered by the inference machine, using the facts Some languages –Prolog

Programming languages7 Programming language development Programming languages are developed with inspiration from other programming languages. –Java was inspired by C++ and Smalltalk –C# was inspired by C++ and Java Some languages are single paradigm –Meant to be used within a single paradigm Some languages are multi paradigm –Meant to be used with 2 (or more) paradigms

Programming languages8 Using programming languages outside the paradigm Many programming languages can be used with more than a single paradigm Example –Java can be used for Object-oriented programming Structured programming –Using only static constructs Using a programming language outside its natural paradigm is awkward and error-prone –Find a programming language which suits the paradigm you like.

Programming languages9 References Wikipedia –Programming Paradigm adigm adigm Bruce J. MacLennan Principles of Programming Languages, Holt Rinehart and Winston