You are on page 1of 13

Introduction To Computer Programming

-By Prof. Vishal Sathawane


NIT Raipur
Topics:
✔ Introduction to Computer Programming
✔ Types of computer Language
✔ Algorithm
Introduction to Computer Programming

A computer is general purpose


machine which can perform many
computational task.

✔ Billion and trillions of calculation in fraction


of seconds
✔ Scalable
✔ Reliable
Introduction to Computer Programming

Computer Program Programmer

The language in which these instructions /


programs are written are called programming
language .
Types of Programming Language
1. Machine Level Language
Types of Programming Language
2. Assembly Level Language

MOV R1, 15
MOV R2,5
ADD R1,R1,R2
Types of Programming Language
2. Assembly Level Language

MOV R1, 15
MOV R2,5
ADD R1,R1,R2
Types of Programming Language
3. High Level Language

✔ Human Understandable
✔ Close to English language
✔ Easy to learn
✔ Ex. C, C++, JAVA, Python etc….
Types of Programming Language
Types of Programming Language
3. High Level Language

Compiler
Compilation

Interpreter
High Level Programming Interpretation
Language
Types of Programming Language
3. High Level Language C, C++, Fortran,
Pascal

Compiler
Compilation

Interpreter
High Level Programming Interpretation
Language

Python, PHP, Ruby,


JavaScript
Types of Programming Language
3. High Level Language

Compiler
Compilation
High Level Programming
Language
C, C++, Fortran,
Pascal

✔ Compile complete program in one go


✔ Object code is generated
✔ Conditional statement execute faster
✔ More memory is required
✔ Program need not be compile every time
Types of Programming Language
3. High Level Language

Interpreter
Interpretation
High Level Programming
Language
Python, PHP, Ruby,
JavaScript

✔ Interpreter takes single instruction as input


✔ No object code is generated
✔ Conditional statement execute slower
✔ less memory is required
✔ Every time HLL converted to low level language

You might also like