PROGRAMMING CONCEPT
BY: SUSHAL AWALE AND RAJIT PRADHAN
PROGRAM
A SET OF INSTRUCTIONS
WRITTEN IN COMPUTER
LANGUAGE
INSTRUCTIOS ARE STORED IN
FILES AND THEY TELL YOUR
COMPUTER TO PERFORM TASKS
Programming language
Consists of a set of character,
symbols, and rules that allow a user
to write programs to communicate
with computers
The language which is used to
write program is called
programming language
Classification of programming language
Computer have their own language
in combination of zero and one
which is called binary language
There are three types of
programming language. They are:
Machine language
Assembly language
High level language
Machine language
The first language of computer
was binary language, which is
known as machine language
Was used in first generation
computers
It has only two letters 1 and 0
Advantages of machine language
Machine language is only a
language directly understood by
computer
A program developed using a
machine language becomes
extremely fast science no
conversion is required
Disadvantages of machine language
Science machine language
depends upon the architecture of
a computer, programmers must
have knowledge of hardware
It is time-consuming and tedious
task to modify the program
written in a machine language
Assembly language
Used in second generation
computers
Uses mnemonic codes for each
machine instruction, which makes
it easy for the programmer to
remember or write the
instructions
Was developed in 1950s
Advantages of assembly language
It is easy to understand since it
uses symbols and mnemonic
codes
It is easy to find errors since it
uses mnemonic codes
It is faster than other laungages
Disadvantages of assembly language
It is also machine dependent
language
It take more time to execute
programs than other machine
code programs
Programmer must have
knowledge of hardware
High-level language
It was developed in third
generation computer in early
1960s
They are also known as 3GL(Third
Generation Language)
Examples of 3GL are:- BASIC,
COBOL,etc
interpreter
It translates high level language
into machine language
It translates 1 statement at a
time
compiler
It also translates high level
language into machine language
It translates whole program at a
time
Advantages of high-level language
They are easy to learn and use
They are machine independent
It is faster to write programs in
high-level language
Disadvantages of high-level language
it needs language processor
Sometime it cannot completely
control hardware
It take more time than assembly
language and machine language
Fourth generation computer
4GL is closer to human languages
It is used to design application
software
Examples:- SQL, Oracle,etc
Advantages of 4GL
Easy to write programs than other
languages
Software and be designed in less
time
Ready made buttons are available
Disadvantages of 4gl
Requires high resources
Program cannot execute in low
configuration machine
Thank you