SlideShare une entreprise Scribd logo
1  sur  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.

Contenu connexe

Tendances

Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
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?Syed Hassan Raza
 
Program & language generation
Program & language generationProgram & language generation
Program & language generationBuxoo Abdullah
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languagesRicha Pant
 
structured programming
structured programmingstructured programming
structured programmingAhmad54321
 
Software and its types
Software and its typesSoftware and its types
Software and its typesAhmad Hussain
 
Improving software economics
Improving software economicsImproving software economics
Improving software economicsdeep sharma
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languageskitturashmikittu
 
Language processor
Language processorLanguage processor
Language processorAbha Damani
 

Tendances (20)

Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
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?
 
Operating system
Operating system Operating system
Operating system
 
4. algorithm
4. algorithm4. algorithm
4. algorithm
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
System software
System softwareSystem software
System software
 
History of c
History of cHistory of c
History of c
 
Operating system basics
Operating system basicsOperating system basics
Operating system basics
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languages
 
structured programming
structured programmingstructured programming
structured programming
 
Software and its types
Software and its typesSoftware and its types
Software and its types
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Improving software economics
Improving software economicsImproving software economics
Improving software economics
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 
Language processor
Language processorLanguage processor
Language processor
 

Similaire à Programming Language

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 studysamiullahamjad06
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer langkapil078
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer langkapil078
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming VanessaBuensalida
 
Computer languages
Computer languagesComputer languages
Computer languagesAqdasNoor
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESNoorHameed6
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generationMunawar Bukhari
 
Programming languages
Programming languagesProgramming languages
Programming languagesgaurav jain
 
Computer programming
Computer programmingComputer programming
Computer programmingSuneel Dogra
 
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 frameworksijpla
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Arslan Hussain
 

Similaire à 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
 
Computer languages
Computer languagesComputer languages
Computer languages
 
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
 

Dernier

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
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.pptxDenish Jangid
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
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.pdfAdmir Softic
 

Dernier (20)

Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
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
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
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.