The History of Computer Programming Languages Introductory Programming

  • Slides: 9
Download presentation
The History of Computer Programming Languages Introductory Programming Visual Basic

The History of Computer Programming Languages Introductory Programming Visual Basic

Low Level Language Machine language • Binary (zeros and ones) • Machine specific •

Low Level Language Machine language • Binary (zeros and ones) • Machine specific • Typical command: 01101101

Assembly Language • • More “English-like” Still machine specific Uses hexadecimal Typical Command JMP

Assembly Language • • More “English-like” Still machine specific Uses hexadecimal Typical Command JMP &H 180 A

High Level Languages • At first, specific functions – COBOL – FORTRAN • General

High Level Languages • At first, specific functions – COBOL – FORTRAN • General Purpose Languages – BASIC • “Machine Independent” • Typical command Print “Hello”

Structured Programming • • • Break programs into smaller units Procedures Functions Local and

Structured Programming • • • Break programs into smaller units Procedures Functions Local and Global Variables Parameters Pascal, C

Structured Program (Example) void Print. Two. Integers (int N 1, int N 2) (

Structured Program (Example) void Print. Two. Integers (int N 1, int N 2) ( cout << “N 1 = ” << N 1 << “ N 2 = ” << N 2; )

Object-Oriented Programming (OOPS) • we live in a world of objects • computer programs

Object-Oriented Programming (OOPS) • we live in a world of objects • computer programs should reflect the type of problems in the world • objects should be "walled off" from rest of program (encapsulation ) • objects have classes they belong to (inheritance)

The History of BASIC • • • Kemeny & Kurtz The Hackers Bill Gates

The History of BASIC • • • Kemeny & Kurtz The Hackers Bill Gates Quick Basic Visual Basic

OOPS Terminology • what it is like (properties) • what it does (methods, procedures,

OOPS Terminology • what it is like (properties) • what it does (methods, procedures, functions) • communicating with objects- sending messages • what it responds to (events)