This document is the presentation slides for a talk on programming languages given by Md. Nashidul Islam. The main topics discussed include the definitions of a program and programming language. Programming languages are classified as low-level, high-level, or mid-level. Low-level languages like machine language and assembly language are closest to hardware, while high-level languages are easier for humans but require compilers. C is discussed as an example of a mid-level language that provides both low-level access and high-level features.
3. Md. Nashidul Islam
Department Of Mathematics
Roll No:13034012;Third Year
Session:2012-13
Email:nashidndc1119009@gmail.com
Presented By,
Prof. Dr. Gour Chandra Paul
Dept. Of Mathematics
University Of Rajshahi
Email: pcgour2001@yahoo.com
Supervisor,
4. Main topics for discussion:
• What is Program
• What is programming language
• Why Language Matters
• Classification of Programming Language
• Main features of Different types of Program Language
• Why C is a Mid level Language
• Conclusion
10/04/2016 nashidndc1119009@gmail.com 4
5. What is Program:
A set of instructions written in a computer language is called
a PROGRAM
10/04/2016 nashidndc1119009@gmail.com 5
What is Programming Language:
A programming language is a notational system for
describing computation in a machine-readable and
human-readable form.
7. Kinds of Programming Language:
10/04/2016 nashidndc1119009@gmail.com 7
1.Low level Language
• Machine Language
• Assembly Language
2. High Level Language
3. Mid Level Language
8. 10/04/2016 nashidndc1119009@gmail.com 8
Machine Language:
The machine language is made of binary number system.
People all over the world exchange their views and informations and express their feelings and emotions
to one another in various languages.
But Computer machine does not understand those languages.There are different types of Computer but
their language are coomon,this language is called MACHINE LANGUAGE for computers.
The machine language is used in both first and second generation
computers.
Assembly Language:
Assembly language had been used for reducing the problems of machine language.
It was possible to make the binary instructions to of machine language merely short by using the
assembly language. These short signal is called Mnemonic Code.
This means that this system is combination of some bits by English letters expressing in special
code which is understood the computer.
These codes are called assembly language or assembly code.
9. 10/04/2016 nashidndc1119009@gmail.com 9
Low Level Language:
Both machine language and assembly language are called together LOW-LEVEL
LANGUAGE.
Advantages:
1. Program can be written in this language by using lowest number of logical memory space.
2. Knowledge of Low-Level Language is needed most to achive ideas about inner organisations of Computer.
3. Functions by this language is very fast.
Disadvantages:
1. Program written in this language is very hard and needed matter.
2. Written program for a type of machine cannot be used in another machine.
3. Errors of program is very hard to identify.
4. Computer cannot directly execute Low-Level Language.
Main features of low-level language
10. 10/04/2016 nashidndc1119009@gmail.com 10
High Level Language:
To practice in assembly level language is very hard. So this language has been modified to easier
language named “High-Level Language”. That means by which language of computer program can
be written by using sentences, letters and numbers which are easy to understand for all is called high
level language.
Advantages:
1. Suitable for any computer.
2. To reduce time consumption.
3. Easier to find out the errors in program.
4. Everybody can works using it who is less expert about hardware.
Disadvantages:
1. It is not fast as Low-Level Language.
2. Need of translator or interpretator (compilier) to execute this language.
There are more than 20 high-level language: BASIC
FORTRA
N
PASCAL
COBOL
C++
JAVA
ORACAL
ALGOL
Main features of high-level language
11. 10/04/2016 nashidndc1119009@gmail.com 11
Mid Level Language:
The programming language which available the advantage of low level languages and high level
languagesare called Mid Level Language.
Characteristics
• It works as the connection bridge between high level and low level languages.
• Middle Level Programming languages are closely related to Machine as well as Human Being.
• Static typing
• Extremely commonplace (mid-level languages are by far the most widely used)
• Virtual machines
• Garbage collection
• Easy to reason about program flow
There are many mid level language such as C,Wordstar,Dbase,Forth etc
12. 10/04/2016 nashidndc1119009@gmail.com 12
Why is Middle Level Language ?
1. C Programming Supports Inline Assembly Language Programs .
2. Using inline assembly language feature in C we can directly access system registers.
3. C Programming is used to access memory directly using pointer.
4. C Programming also Supports high Level Language Features.
5. It is more User friendly as compare to Previous languages so C programming is Middle Level
Language.