Download Document

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Programming
Languages
Chapter 5
What is “Programming”

Writing source code and turning it into a sequence of machine
language instructions that the computer can execute.
“Generations” of Programming Languages
“Generations” of Programming Languages

First Generation


Second Generation


“High-level” languages such as Pascal, C, COBOL, Fortran
Fourth Generation


Assembly language
Third Generation


Machine language
Scripting languages such as SQL, Applescript, VBScript
Fifth Generation?

Natural language? Automatic code generation? Object-oriented
languages?
Four types of programming languages

Functional

Lisp, ML, Scheme
 Good for evaluating expressions.

Declarative

Prolog
 Good for making logical inferences.

Imperative

C, Pascal, Fortran, COBOL
 Good at performing calculations, implementing algorithms.

Object-oriented

C++, Java, C#, Visual Basic
 Much like imperative languages, but have support for “communication” among
objects.
History of Programming Languages
Integrated Development Environments




Source-code editor
Source-code management
Compiler
Interactive debugger
Visual Basic IDE
Visual C++ IDE
“Variables”
While loop control structure
For-loop control structure
If conditional control structure
Case conditional control structure
Related documents