|
Introduction to Programming |
Definitions |
|
Computer Program (Program, Source code ) |
a sequence of instructions used to operate a computer to produce a specific results. |
|
Programming |
is the process of writing instructions in a language that the computer can respond to. |
|
Programming Language (P.L) |
set of instructions that can be used to construct a program . |
|
Algorithm (pseudo code) |
computational procedure .Step by step sequence of instructions that describes how to perform a calculation. |
|
Flowchart |
pictorial representation of the algorithm . |
|
Interpreter |
a program translate each individual statement and execute it immediately. |
|
Compiler |
a program translate all the statements in a source program . |
|
Machine Language |
O's and 1's . |
|
Coding |
converting an algorithm into a computer program . |
|
Object program |
The machine language version of the original source . |
|
Syntax |
a set of rules for formulating grammatically correct language statements. |
Requirements à algorithm à source codeà translation program à machine language program .

Programming Languages |
Machine languages
|
Strings of numbers giving machine specific instructionsExample:+1300042774+1400593419+1200274027 |
Assembly languages
|
English-like abbreviations representing elementary computer operations (translated via assemblers)Example:LOAD BASEPAYADD OVERPAYSTORE GROSSPAY |
High-level languages
|
Codes similar to everyday EnglishUse mathematical notations (translated via compilers)Example:grossPay = basePay + overTimePay |
If all P.L provide the same features ,why there are so many P.L?
Because of the difference in the type of input data ,calculations needed and output reports required .
History of Programming Languages |
|
FORTRAN (John Backus) |
FORmula TRANslation in 1957 for science and engineering applications. |
|
|
COBOL (Grace Hopper) |
|
Commons Business Oriented Language in 1960s for business. (Grace Murray Hopper is not only the Mother of COBOL, not only one of the most important women in the history of computers, she is one of the most important people in the history of computers). |
|
BASIC (Thomas Kurtz & John Kemeny) |
|
Beginners All-purpose Symbolic Instruction Code developed in 1960s at Dartmouth College. |
|
Pascal Prof. Nicklaus Wirth |
|
|
|
C (Dennis Ritchie) |
|
|
|
C++ Bjarne Stroustrup |
![]() |
|
C Standardization |
Basics of a Typical C Program Development Environment |
