SlideShare uma empresa Scribd logo
1 de 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.

Mais conteúdo relacionado

Mais procurados

Programming languages
Programming languagesProgramming languages
Programming languagesAkash Varaiya
 
Fundamentals of programming final
Fundamentals of programming finalFundamentals of programming final
Fundamentals of programming finalRicky Recto
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languageskitturashmikittu
 
Programming languages
Programming languagesProgramming languages
Programming languagesvito_carleone
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languagesRicha Pant
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languagesNaqashAhmad14
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming LanguagesTarun Sharma
 
Language processors
Language processorsLanguage processors
Language processorseShikshak
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer ProgrammingAllen de Castro
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1lakshmi kumari neelapu
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programmingNeeru Mittal
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representationgaurav jain
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreterKamal Tamang
 
History of C Programming Language
History of C Programming LanguageHistory of C Programming Language
History of C Programming LanguageNiloy Biswas
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programmingManoj Tyagi
 

Mais procurados (20)

Programming languages
Programming languagesProgramming languages
Programming languages
 
Fundamentals of programming final
Fundamentals of programming finalFundamentals of programming final
Fundamentals of programming final
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languages
 
Computer Programming
Computer Programming Computer Programming
Computer Programming
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languages
 
Language processors
Language processorsLanguage processors
Language processors
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representation
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
 
History of C Programming Language
History of C Programming LanguageHistory of C Programming Language
History of C Programming Language
 
C Language
C LanguageC Language
C Language
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Machine language
Machine languageMachine language
Machine language
 

Semelhante a 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
 

Semelhante a 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
 

Último

ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Último (20)

ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

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.