SlideShare a Scribd company logo
1 of 9
PROGRAMMING LANGUAGE
A programming language is a formal language that specifies a set of
instructions that can be used to produce various kinds of output. Programming
languages generally consist of instructions for a computer.
Programming languages can be used to create programs that implement
specific algorithms.
There are programmable machines that use a limited set of specific instructions,
rather than the general programming languages of modern computers.
 Early ones preceded the invention of the digital computer, the first probably
being the automatic flute player described in the 9th century by the brothers
Musa in Baghdad, during the Islamic Golden Age.
From the early 1800s, programs were used to direct the behavior of machines
such as Jacquard looms, music boxes and player pianos.
 However, their programs (such as a player piano's scrolls) could not produce
different behavior in response to some input or condition.
Types of Languages
• There are three main kinds of programming language:
• Low –level language
• 1. Machine language
• 2. Assembly language
• High-level language
Machine language
• We just went over what machine language is - it's the language of machines,
consisting of bits (1s and 0s) put together into chunks like bytes, a group of 8
bits, and lots of other larger sizes.
• It's highly unlikely you will ever have to write in machine language, but in the
old days, we used to plot 1s and 0s on graph paper and then type them in, to
make pictures appear on the computer screen. Very tedious!
• The activation of specific electrical inputs (e.g., CPU package pins for
microprocessors), and logical settings for CPU state values, control the
processor's computation.
• Individual machine languages are specific to a family of processors; machine-
language code for one family of processors cannot run directly on processors
in another family unless the processors in question have additional hardware
to support it (for example, DEC VAX processors included a PDP-11
compatibility mode).
• They are (essentially) always defined by the CPU developer, not by 3rd
parties.
Machine language
• Advantages
1. Machine language makes most efficient use of computer system resources like
storage, registers, etc.
2. the instruction of a machine language program are directly executable so
there is no need of translators.
3. Machine language instruction can be used to manipulate the individual bits
in a computer system with high execution speed due to direct manipulation
of memory and registers.
• Drawbacks
1. Machine languages are machine dependent and, therefore, programs are not
portable from one computer to other.
2. Programming in machine language usually results in poor programmer
productivity.
3. Machine languages require programmers to control the use of
each register in the computer’s Arithmetic Logic Unit and computer storage
locations must be addressed directly, not symbolically.
Assembly language
• Assembly language is a little easier than machine language, but not much!
It uses more convenient numbers, symbols, and abbreviations to describe
the huge strings of 1s and 0s, to make it both easier and more memorable
to type in instructions.
• The computer knows that certain strings of numbers are commands, so
assembly language lets you use English-like strings instead of numbers to
refer to those.
• Plus, with assembly language you have access to all kinds of resources to
organize your programming code.
• Then you tell a program called an assembler to assemble your instructions,
which just means they get turned into 1s and 0s for you.
Assembly language
• Advantages
1. Assembly language provide optimal use of computer resources like registers and
memory because of direct use of these resources within the programs.
2. Assembly language is easier to use than machine language because there is no need
to remember or calculate the binary equivalents for opcode and registers.
3. An assembler is useful for detecting programming errors.
4. Assembly language encourages modular programming which provides the facility of
reusable code, using macro.
• Drawbacks
1. Assembly language programs are not directly executable due to the need of
translation.
2. Also, these languages are machine dependent and, therefore, not portable from one
machine to another.
3. Programming in assembly language requires a high level of programming skills and
knowledge of computer architecture of the particular machine.
High-level language
• The third type of language are the high-level languages. These
languages use English-like statements and symbols, and are
independent of the type of computer you are using.
• You can even put in lots of English labels and comments to help
remember what the instructions are doing. This makes your programs
much easier to read and modify.
• There are far more high-level languages than any other type of
computer language, each one tailored for a certain kind of use.
• High Level Programming Languages are the programming languages
that provide a strong abstraction and have a simple and easy syntax.
• For example - Python, Java, C, C++, Ruby, Perl, Python, Basic, JavaScript
and many more.
High-level language
• Advantages of High Level Languages
1. These are the third generation languages.
2. These are procedure-oriented languages and are machine independent.
3. Programs are written in English like statements.
4. As high level languages are not directly executable, translators(compilers and
interpreters) are used to convert them in machine language equivalent.
• Limitation of Programming language
1. A long sequence statements is to be written for every program.
2. Additional memory space is required for storing compiler or interpreter.
3. Execution time is very high as the HLL programs are not directly executable.

More Related Content

What's hot

Programming languages
Programming languagesProgramming languages
Programming languages
vito_carleone
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
NSU-Biliran Campus
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
salmankhan570
 

What's hot (20)

Programming languages
Programming languagesProgramming languages
Programming languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Computer Language
Computer LanguageComputer Language
Computer Language
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Computer Languages.
Computer Languages.Computer Languages.
Computer Languages.
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
Computer programming languages
Computer programming languagesComputer programming languages
Computer programming languages
 
COMPUTER PROGRAMMING
COMPUTER PROGRAMMINGCOMPUTER PROGRAMMING
COMPUTER PROGRAMMING
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languages
 
Rajesh ppt
Rajesh pptRajesh ppt
Rajesh ppt
 
What Is Coding And Why Should You Learn It?
What Is Coding And Why Should You Learn It?What Is Coding And Why Should You Learn It?
What Is Coding And Why Should You Learn It?
 
generation of programming language
generation of programming languagegeneration of programming language
generation of programming language
 

Similar to Programming Language

Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Computer programming
Computer programmingComputer programming
Computer programming
Suneel Dogra
 

Similar to Programming Language (20)

Lec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there studyLec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there study
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGES
 
Language processors
Language processorsLanguage processors
Language processors
 
Program Logic and Design
Program Logic and DesignProgram Logic and Design
Program Logic and Design
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Abstraction level taxonomy of programming language frameworks
Abstraction level taxonomy of programming language frameworksAbstraction level taxonomy of programming language frameworks
Abstraction level taxonomy of programming language frameworks
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

Programming Language

  • 1.
  • 2. PROGRAMMING LANGUAGE A programming language is a formal language that specifies a set of instructions that can be used to produce various kinds of output. Programming languages generally consist of instructions for a computer. Programming languages can be used to create programs that implement specific algorithms. There are programmable machines that use a limited set of specific instructions, rather than the general programming languages of modern computers.  Early ones preceded the invention of the digital computer, the first probably being the automatic flute player described in the 9th century by the brothers Musa in Baghdad, during the Islamic Golden Age. From the early 1800s, programs were used to direct the behavior of machines such as Jacquard looms, music boxes and player pianos.  However, their programs (such as a player piano's scrolls) could not produce different behavior in response to some input or condition.
  • 3. Types of Languages • There are three main kinds of programming language: • Low –level language • 1. Machine language • 2. Assembly language • High-level language
  • 4. Machine language • We just went over what machine language is - it's the language of machines, consisting of bits (1s and 0s) put together into chunks like bytes, a group of 8 bits, and lots of other larger sizes. • It's highly unlikely you will ever have to write in machine language, but in the old days, we used to plot 1s and 0s on graph paper and then type them in, to make pictures appear on the computer screen. Very tedious! • The activation of specific electrical inputs (e.g., CPU package pins for microprocessors), and logical settings for CPU state values, control the processor's computation. • Individual machine languages are specific to a family of processors; machine- language code for one family of processors cannot run directly on processors in another family unless the processors in question have additional hardware to support it (for example, DEC VAX processors included a PDP-11 compatibility mode). • They are (essentially) always defined by the CPU developer, not by 3rd parties.
  • 5. Machine language • Advantages 1. Machine language makes most efficient use of computer system resources like storage, registers, etc. 2. the instruction of a machine language program are directly executable so there is no need of translators. 3. Machine language instruction can be used to manipulate the individual bits in a computer system with high execution speed due to direct manipulation of memory and registers. • Drawbacks 1. Machine languages are machine dependent and, therefore, programs are not portable from one computer to other. 2. Programming in machine language usually results in poor programmer productivity. 3. Machine languages require programmers to control the use of each register in the computer’s Arithmetic Logic Unit and computer storage locations must be addressed directly, not symbolically.
  • 6. Assembly language • Assembly language is a little easier than machine language, but not much! It uses more convenient numbers, symbols, and abbreviations to describe the huge strings of 1s and 0s, to make it both easier and more memorable to type in instructions. • The computer knows that certain strings of numbers are commands, so assembly language lets you use English-like strings instead of numbers to refer to those. • Plus, with assembly language you have access to all kinds of resources to organize your programming code. • Then you tell a program called an assembler to assemble your instructions, which just means they get turned into 1s and 0s for you.
  • 7. Assembly language • Advantages 1. Assembly language provide optimal use of computer resources like registers and memory because of direct use of these resources within the programs. 2. Assembly language is easier to use than machine language because there is no need to remember or calculate the binary equivalents for opcode and registers. 3. An assembler is useful for detecting programming errors. 4. Assembly language encourages modular programming which provides the facility of reusable code, using macro. • Drawbacks 1. Assembly language programs are not directly executable due to the need of translation. 2. Also, these languages are machine dependent and, therefore, not portable from one machine to another. 3. Programming in assembly language requires a high level of programming skills and knowledge of computer architecture of the particular machine.
  • 8. High-level language • The third type of language are the high-level languages. These languages use English-like statements and symbols, and are independent of the type of computer you are using. • You can even put in lots of English labels and comments to help remember what the instructions are doing. This makes your programs much easier to read and modify. • There are far more high-level languages than any other type of computer language, each one tailored for a certain kind of use. • High Level Programming Languages are the programming languages that provide a strong abstraction and have a simple and easy syntax. • For example - Python, Java, C, C++, Ruby, Perl, Python, Basic, JavaScript and many more.
  • 9. High-level language • Advantages of High Level Languages 1. These are the third generation languages. 2. These are procedure-oriented languages and are machine independent. 3. Programs are written in English like statements. 4. As high level languages are not directly executable, translators(compilers and interpreters) are used to convert them in machine language equivalent. • Limitation of Programming language 1. A long sequence statements is to be written for every program. 2. Additional memory space is required for storing compiler or interpreter. 3. Execution time is very high as the HLL programs are not directly executable.