SlideShare a Scribd company logo
1 of 12
High and Low Level Languages
High Level Languages
Programming languages are generally similar to the English
language. They use words like If, Else, Repeat, While etc.
These languages are known as high level languages.
Low Level Languages
The computer does not understand high level languages. It
understands binary codes which are referred to in
programming as machine codes e.g. 10010010 01101010.
These languages are known as low level languages.
Low Level Languages
Machine Code in the form of binary is extremely difficult
for humans to read. To make it (slightly) easier to read
and understand, Assembly Language was devised.
Each Assembly Language command can be converted to
machine code.
Translators
So, humans understand high level languages
and
Computers understand low level languages.
To get our high level languages into a form that the computer
understands, we need a translator.
A translator converts high level language commands into low
level language commands.
Interpreters and Compilers
In order to resolve this problem, there are two ways to
convert the high level language written by humans into a
low level language understood by computers.
These are interpreters and compilers.
Interpreters
As the program is running, the interpreter takes one line of
code at a time and translate it into a low level code.
IF age > 18 THEN
displayfield.text = “Left school”
END IF
Interpreters
As the program is running, the interpreter takes one line of
code at a time and translate it into a low level code.
10011001 00010110 11000100 00010011
displayfield.text = “Left school”
END IF
Interpreters
As the program is running, the interpreter takes one line of
code at a time and translate it into a low level code.
10011001 00010110 11000100 00010011
10010010 11110001 00000001 10011011
00110101 01111110
Compilers
A compiler works by converting the program source code
and converting it into object code before the program is
run.
IF age > 18 THEN
displayfield.text = “Left school”
END IF
Compilers
A compiler works by converting the program source code
and converting it into object code before the program is
run.
10011001 00010110 11000100 00010011
10010010 11110001 00000001 10011011
00110101 01111110
Compilers vs Interpreters
Interpreters are slower than compilers when the program is
running because they have to interpret each line
The interpreter needs to be in memory each time the program
is run, whereas compilers do not
Interpreters can make debugging a program easier because
they can track errors line by line
Compilers have to have programs recompiled each time the
code is changed, even if the change is minor

More Related Content

What's hot

Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer languageSwarnima Tiwari
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languagesraksharao
 
classification of computer language
classification of computer languageclassification of computer language
classification of computer languageBinamraRegmi
 
High Level Language (HLL)
High Level Language (HLL)High Level Language (HLL)
High Level Language (HLL)Maliha Jahan
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clSaumya Sahu
 
Computer languages
Computer languagesComputer languages
Computer languagesAqdasNoor
 
Programming language
Programming languageProgramming language
Programming languageRajThakuri
 
Machine language
Machine languageMachine language
Machine languageRipal Dhruv
 
Computer Languages....ppt
Computer Languages....pptComputer Languages....ppt
Computer Languages....ppthashgeneration
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languageskitturashmikittu
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / TranslatorsProject Student
 

What's hot (20)

Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer language
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
computer languages
computer languagescomputer languages
computer languages
 
classification of computer language
classification of computer languageclassification of computer language
classification of computer language
 
High Level Language (HLL)
High Level Language (HLL)High Level Language (HLL)
High Level Language (HLL)
 
Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
Chapter 4 computer language
Chapter 4 computer languageChapter 4 computer language
Chapter 4 computer language
 
S & D Machine code
S & D Machine codeS & D Machine code
S & D Machine code
 
Computer Language
Computer LanguageComputer Language
Computer Language
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
 
Rajesh ppt
Rajesh pptRajesh ppt
Rajesh ppt
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Computer language
Computer languageComputer language
Computer language
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Programming language
Programming languageProgramming language
Programming language
 
Machine language
Machine languageMachine language
Machine language
 
Computer Languages....ppt
Computer Languages....pptComputer Languages....ppt
Computer Languages....ppt
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 

Viewers also liked (20)

SD & D Types of programming language
SD & D Types of programming languageSD & D Types of programming language
SD & D Types of programming language
 
National 5 Data Types
National 5 Data TypesNational 5 Data Types
National 5 Data Types
 
Virtual machines, emulators and mobile devices
Virtual machines, emulators and mobile devicesVirtual machines, emulators and mobile devices
Virtual machines, emulators and mobile devices
 
SD & D Negative Numbers
SD & D Negative NumbersSD & D Negative Numbers
SD & D Negative Numbers
 
SD & D Maintenance
SD & D MaintenanceSD & D Maintenance
SD & D Maintenance
 
ISDD User Interface
ISDD User InterfaceISDD User Interface
ISDD User Interface
 
ISDD Testing
ISDD TestingISDD Testing
ISDD Testing
 
SD & D Representing Text
SD & D Representing TextSD & D Representing Text
SD & D Representing Text
 
SD & D analysis
SD & D analysisSD & D analysis
SD & D analysis
 
ISDD Database Structure N5
ISDD Database Structure N5ISDD Database Structure N5
ISDD Database Structure N5
 
ISDD Networking & Connectivity
ISDD Networking & ConnectivityISDD Networking & Connectivity
ISDD Networking & Connectivity
 
National 5 Computing Science - Memory
National 5 Computing Science - MemoryNational 5 Computing Science - Memory
National 5 Computing Science - Memory
 
SD & D Bitmapped Graphics
SD & D Bitmapped GraphicsSD & D Bitmapped Graphics
SD & D Bitmapped Graphics
 
ISDD Cloud and Internet Services
ISDD Cloud and Internet ServicesISDD Cloud and Internet Services
ISDD Cloud and Internet Services
 
National 5 Computing Science - Processor
National 5 Computing Science - ProcessorNational 5 Computing Science - Processor
National 5 Computing Science - Processor
 
Linked Lists
Linked ListsLinked Lists
Linked Lists
 
ISDD Back Up Strategies
ISDD Back Up StrategiesISDD Back Up Strategies
ISDD Back Up Strategies
 
ISDD Hacking and Viruses
ISDD Hacking and VirusesISDD Hacking and Viruses
ISDD Hacking and Viruses
 
SD &D Binary Units
SD &D Binary UnitsSD &D Binary Units
SD &D Binary Units
 
ISDD Transmission Media
ISDD Transmission MediaISDD Transmission Media
ISDD Transmission Media
 

Similar to SD & D High and low level languages

3.2. the software development process pt2
3.2. the software development process pt23.2. the software development process pt2
3.2. the software development process pt2Forrester High School
 
3.2. The Software Development Process - Implementation Pt2
3.2. The Software Development Process - Implementation Pt23.2. The Software Development Process - Implementation Pt2
3.2. The Software Development Process - Implementation Pt2Forrester High School
 
Compiler design slide share
Compiler design slide shareCompiler design slide share
Compiler design slide shareSudhaa Ravi
 
Computer assignment for grade 9
Computer assignment for grade  9Computer assignment for grade  9
Computer assignment for grade 9nahomyitbarek
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languagesRicha Pant
 
4programming-languages.ppt
4programming-languages.ppt4programming-languages.ppt
4programming-languages.pptNeetuJindal9
 
Programming Languages
Programming LanguagesProgramming Languages
Programming LanguagesMohamed Omar
 
compilervsinterpreter-161008074915.pdf
compilervsinterpreter-161008074915.pdfcompilervsinterpreter-161008074915.pdf
compilervsinterpreter-161008074915.pdfHarshaVardhan196987
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreterParas Patel
 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Md Hossen
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSCOMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSsonalikharade3
 
Computer languages
Computer languagesComputer languages
Computer languagesPrince Arsal
 
COMPUTER LANGUAGES programming languages.pptx
COMPUTER LANGUAGES programming languages.pptxCOMPUTER LANGUAGES programming languages.pptx
COMPUTER LANGUAGES programming languages.pptxharshsingh0889
 

Similar to SD & D High and low level languages (20)

3.2. the software development process pt2
3.2. the software development process pt23.2. the software development process pt2
3.2. the software development process pt2
 
3.2. The Software Development Process - Implementation Pt2
3.2. The Software Development Process - Implementation Pt23.2. The Software Development Process - Implementation Pt2
3.2. The Software Development Process - Implementation Pt2
 
Compiler design slide share
Compiler design slide shareCompiler design slide share
Compiler design slide share
 
Assembler
AssemblerAssembler
Assembler
 
C_NOTES.pdf
C_NOTES.pdfC_NOTES.pdf
C_NOTES.pdf
 
Computer assignment for grade 9
Computer assignment for grade  9Computer assignment for grade  9
Computer assignment for grade 9
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languages
 
4programming-languages.ppt
4programming-languages.ppt4programming-languages.ppt
4programming-languages.ppt
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 
compilervsinterpreter-161008074915.pdf
compilervsinterpreter-161008074915.pdfcompilervsinterpreter-161008074915.pdf
compilervsinterpreter-161008074915.pdf
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
 
Compiler vs interpreter
Compiler vs interpreter Compiler vs interpreter
Compiler vs interpreter
 
Computer language
Computer languageComputer language
Computer language
 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.
 
Presentation
PresentationPresentation
Presentation
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSCOMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONS
 
COMPILER DESIGN.docx
COMPILER DESIGN.docxCOMPILER DESIGN.docx
COMPILER DESIGN.docx
 
Computer languages
Computer languagesComputer languages
Computer languages
 
COMPUTER LANGUAGES programming languages.pptx
COMPUTER LANGUAGES programming languages.pptxCOMPUTER LANGUAGES programming languages.pptx
COMPUTER LANGUAGES programming languages.pptx
 

More from Forrester High School (20)

Program Design
Program DesignProgram Design
Program Design
 
Database Evaluation
Database EvaluationDatabase Evaluation
Database Evaluation
 
Testing SQL
Testing SQLTesting SQL
Testing SQL
 
SQL
SQLSQL
SQL
 
Database Query Design
Database Query DesignDatabase Query Design
Database Query Design
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
Compound Keys
Compound KeysCompound Keys
Compound Keys
 
Entity Occurrence Diagrams
Entity Occurrence DiagramsEntity Occurrence Diagrams
Entity Occurrence Diagrams
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagrams
 
Database Analysis
Database AnalysisDatabase Analysis
Database Analysis
 
Software Evaluation
Software EvaluationSoftware Evaluation
Software Evaluation
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Standard Algorithms
Standard AlgorithmsStandard Algorithms
Standard Algorithms
 
File Handling
File HandlingFile Handling
File Handling
 
Python Predefined Functions
Python Predefined FunctionsPython Predefined Functions
Python Predefined Functions
 
Python Substrings
Python SubstringsPython Substrings
Python Substrings
 
Variable Scope
Variable ScopeVariable Scope
Variable Scope
 
Sub-programs
Sub-programsSub-programs
Sub-programs
 
Records in Python
Records in PythonRecords in Python
Records in Python
 
Parallel arrays in python
Parallel arrays in pythonParallel arrays in python
Parallel arrays in python
 

Recently uploaded

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
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
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
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
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
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 

Recently uploaded (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
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
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
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
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
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 

SD & D High and low level languages

  • 1. High and Low Level Languages
  • 2. High Level Languages Programming languages are generally similar to the English language. They use words like If, Else, Repeat, While etc. These languages are known as high level languages.
  • 3. Low Level Languages The computer does not understand high level languages. It understands binary codes which are referred to in programming as machine codes e.g. 10010010 01101010. These languages are known as low level languages.
  • 4. Low Level Languages Machine Code in the form of binary is extremely difficult for humans to read. To make it (slightly) easier to read and understand, Assembly Language was devised. Each Assembly Language command can be converted to machine code.
  • 5. Translators So, humans understand high level languages and Computers understand low level languages. To get our high level languages into a form that the computer understands, we need a translator. A translator converts high level language commands into low level language commands.
  • 6. Interpreters and Compilers In order to resolve this problem, there are two ways to convert the high level language written by humans into a low level language understood by computers. These are interpreters and compilers.
  • 7. Interpreters As the program is running, the interpreter takes one line of code at a time and translate it into a low level code. IF age > 18 THEN displayfield.text = “Left school” END IF
  • 8. Interpreters As the program is running, the interpreter takes one line of code at a time and translate it into a low level code. 10011001 00010110 11000100 00010011 displayfield.text = “Left school” END IF
  • 9. Interpreters As the program is running, the interpreter takes one line of code at a time and translate it into a low level code. 10011001 00010110 11000100 00010011 10010010 11110001 00000001 10011011 00110101 01111110
  • 10. Compilers A compiler works by converting the program source code and converting it into object code before the program is run. IF age > 18 THEN displayfield.text = “Left school” END IF
  • 11. Compilers A compiler works by converting the program source code and converting it into object code before the program is run. 10011001 00010110 11000100 00010011 10010010 11110001 00000001 10011011 00110101 01111110
  • 12. Compilers vs Interpreters Interpreters are slower than compilers when the program is running because they have to interpret each line The interpreter needs to be in memory each time the program is run, whereas compilers do not Interpreters can make debugging a program easier because they can track errors line by line Compilers have to have programs recompiled each time the code is changed, even if the change is minor