Subject: Computer Programming
Subject Code: ME 4305
Topic: Introduction to Computer Programming
Ref. Book: Programming inwards ANSI C
By east Balagurusamy
Conducted By Saikat Dey
Lecturer: Dept. of ME, UCTC.
Programming Language
*A sequence of precise instructions to computer.
*A programming linguistic communication is a linguistic communication that is used yesteryear a mortal to limited a procedure yesteryear which a reckoner tin solve a problem
Types:
1) 1st Generation Language(1945): Machine Level Language.
2) 2d Generation Language(1950): Assembly Language.
3) tertiary Generation Language(1960): FORTRAN, ALGOL,COBOL, C in addition to etc. (High Level Language)
4) fourth Generation Language(1970): Oracle, SQL. (Very High degree Language)
5) fifth Generation Language(1980): PROLOG, LISP. (Natural Language)
Translation Process
Source Code (human readable)
👇
Translator (Assembler/Complier/Interpreter
👇
Machine Language
Difference Between Compiler in addition to Interpreter:
- Compiler takes entire programme equally input where Interpreter takes Single instruction.
- Compiler takes large total of fourth dimension to analyze the root code but interpreter takes less.
- Compiler generates immediate object code which requires to a greater extent than retentiveness in addition to interpreter generates no immediate object code.
- Compiler generates the mistake message exclusively afterwards scanning the whole programme in addition to Interpreter continues translating the programme until showtime mistake is met.
- Programming Language similar C, C++ purpose Compilers in addition to Language similar MATLAB, Python uses Interpreter.
C Popular reckoner linguistic communication of today!
The C programming linguistic communication was designed yesteryear Dennis Ritchie at Bell
Laboratories inwards 1972 to assist the UNIX operating system
Influenced by
- ALGOL threescore (Group of Scientist,1960),
- CPL (Cambridge, 1963),
- BCPL (Martin Richard, 1967),
- B (Ken Thompson, 1970)
- Standardized inwards 1989 yesteryear ANSI (American National Standards Institute) known equally ANSI C
- International touchstone (ISO) inwards 1990 which was adopted yesteryear ANSI in addition to is known equally C89
- As business office of the normal development procedure the touchstone was updated inwards 1995 (C95) in addition to 1999 (C99)
Compiler: Turbo C, Borland C, Microsoft C, Watcom C , Code Block
etc.