Lect 1.1 Introduction to PL - Lecture 1.1 Introduction What...

Info icon This preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 1.1 Introduction What is a Programming Language? Models of Programming Languages Why Study Programming Languages? A Brief History Of Programming Languages
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Intro to PL 2 Topics What is a Programming Language? Models of Programming Languages Why Study Programming Languages? A Brief History Of Programming Languages
Image of page 2
Intro to PL 3 What is a Programming Language? • A language is a systematic set of rules for communicating ideas • Programming languages differ from natural languages: – communication is between person and computer – communication content is a program – medium used is symbolic (strings of characters) • A programming language is a notational system for describing computation in machine-readable and human-readable form
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Intro to PL 4 Models Of Programming Languages • Imperative – Primary feature is a sequence of statements that represent commands – Use of assignment statements to change values of variables – Closest to ( von Neumann ) machine architecture • Functional – Based on the notion of functions and their application to known values (aka applicative languages ) – Involves no notion of variable or assignment to variables – Closest to mathematics
Image of page 4
Intro to PL 5 Models Of Programming Languages (cont’d) • Logical – Based on symbolic logic – Clause-based system with inference mechanism – Originally popular in AI community • Object-Oriented – Based on the notion of an object, which can be described as a collection of memory locations together with all the operations that can change the values of these memory locations – Computation is represented as the interaction among, or communication between objects
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Intro to PL 6 Why Study Programming Languages? • Better understanding of principal features of programming languages • Improve problem solving ability • Make better use of a programming language • Choose an appropriate language more intelligently • Easier to learn new programming languages • Become a better language designer
Image of page 6
Intro to PL 7 History of Programming Languages Three major periods: Decade beginning in 1955: – Development of first higher level languages 1965 to 1971: – Consolidated around ALGOL 60 model with development of a number of new languages 1972 and later: – Consolidate results of earlier research – Introduced new models and approaches for programming languages
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern