SlideShare a Scribd company logo
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
 
Features of 'c' program
Features of 'c' programFeatures of 'c' program
Features of 'c' program
veer patel
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 
Programming languages
Programming languagesProgramming languages
Programming languages
Akash Varaiya
 
Programming languages
Programming languagesProgramming languages
Programming languages
Asmasum
 
Presentation on Visual Studio
Presentation on Visual StudioPresentation on Visual Studio
Presentation on Visual Studio
Muhammad Aqeel
 
C program compiler presentation
C program compiler presentationC program compiler presentation
C program compiler presentation
Rigvendra Kumar Vardhan
 
Programming language
Programming languageProgramming language
Programming language
Shuja Qais
 
Compilers
CompilersCompilers
Compilers
Bense Tony
 
Presentation on computer software
Presentation on computer softwarePresentation on computer software
Presentation on computer software
Daffodil International University
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
Paras Patel
 
Programming languages
Programming languagesProgramming languages
Programming languages
www.myassignmenthelp.net
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
fazli khaliq
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
Neeru Mittal
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
NSU-Biliran Campus
 
Software (4).ppt
Software (4).pptSoftware (4).ppt
Software (4).ppt
rishirvk1995
 
Learning Python with PyCharm EDU
Learning Python with PyCharm EDU Learning Python with PyCharm EDU
Learning Python with PyCharm EDU
Sergey Aganezov
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
Syed Zaid Irshad
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
Varun Garg
 
Computer
ComputerComputer

What's hot (20)

Programming languages
Programming languagesProgramming languages
Programming languages
 
Features of 'c' program
Features of 'c' programFeatures of 'c' program
Features of 'c' program
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Presentation on Visual Studio
Presentation on Visual StudioPresentation on Visual Studio
Presentation on Visual Studio
 
C program compiler presentation
C program compiler presentationC program compiler presentation
C program compiler presentation
 
Programming language
Programming languageProgramming language
Programming language
 
Compilers
CompilersCompilers
Compilers
 
Presentation on computer software
Presentation on computer softwarePresentation on computer software
Presentation on computer software
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Software (4).ppt
Software (4).pptSoftware (4).ppt
Software (4).ppt
 
Learning Python with PyCharm EDU
Learning Python with PyCharm EDU Learning Python with PyCharm EDU
Learning Python with PyCharm EDU
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Computer
ComputerComputer
Computer
 

Similar to 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 study
samiullahamjad06
 
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
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
Christ Association
 
Computer languages
Computer languagesComputer languages
Computer languages
Buxoo Abdullah
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
DarianElmyra
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
SegezzBrian
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
VanessaBuensalida
 
Computer languages
Computer languagesComputer languages
Computer languages
AqdasNoor
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
The University of Lahore
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGES
NoorHameed6
 
Language processors
Language processorsLanguage processors
Language processors
Dr. B T Sampath Kumar
 
Program Logic and Design
Program Logic and DesignProgram Logic and Design
Program Logic and Design
Froilan Cantillo
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
Munawar Bukhari
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
Anshumali Singh
 
Programming languages
Programming languagesProgramming languages
Programming languages
gaurav jain
 
Computer programming
Computer programmingComputer programming
Computer programming
Suneel 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 frameworks
ijpla
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
Arslan Hussain
 

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

Recently uploaded

Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
Amin Marwan
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
spdendr
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 

Recently uploaded (20)

Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.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.