Docsity

Understanding Programming Languages: Types, Differences, and Roles, Slides of Introduction to Computing

Partial preview of the text

Download Understanding Programming Languages: Types, Differences, and Roles and more Slides Introduction to Computing in PDF only on Docsity!

CS101 Introduction to Computing

Lecture 19

Programming Languages

During the last lecture …

  • We continued our discussion on algorithms that we had started during the 16 th^ lecture
  • In particular, we looked at the building blocks that are used in all algorithms
  • We also discussed the pseudo code and flowcharts for particular problems
  • In addition, we outlined the pros and cons of those two techniques (^) Docsity.com 2

Today’s Lecture

  • To understand the role of programming languages in computing
  • To understand the differences among low- & high-level, interpreted & compiled, and structured & object-oriented programming languages

Programming?

Types of

Programs?

Batch Programs

These are typically started from a shell (or automatically via a scheduler) and tend to follow a pattern of:

  • Initialize internal data
  • Read input data
  • Process that data
  • Print or store results

Key feature : No user interaction with the computer while the program is running

Examples?

Programming

Language?

A vocabulary and set of

grammatical rules for

instructing a computer to

perform specific tasks

Examples of

Programming

Language?

Machine Language Assembly Language (1956-63) LISP (1956) Fortran (1957) COBOL (1959) PL/1(1964) BASIC (1964) Pascal (1970) Smalltalk (1972) C (1972)

14

Ada(1983)

C++ (1983-85)

QBasic (1986)

Perl (1987)

VisualBasic (1991)

PowerBuilder

Java (1995)

JavaScript

C# (2001) Docsity.com

Types of

Programming

Languages?

High level Programming

Languages

Low Level Programming

Languages

Lying between

machine languages

high-level languages

are languages called

assembly languages

Assembly languages are similar to machine

languages, but are easier to program in as they

allow a programmer to substitute names for

numbers

Machine languages consist of numbers only