SlideShare a Scribd company logo
*OBJECTIVES:
TO UNDERSTAND WHAT IS COMPUTER LANGUAGE
TO UNDERSTAND LOW LEVEL AND HIGH LEVEL
LANGUAGE
TO DIFFERENTIATE BETWEEN LOW LEVEL AND HIGH
LEVEL LANGUAGE
A computer language is an artificial language
designed to work for different applications
in different environments.
Programming languages can be used to create
programs that control the behavior of a
computer and serve any purpose.
The term programming language usually refers to
high-level languages such as BASIC, C, C++,
COBOL, FORTRAN, Pascal, Java, Oracle, ASP.NET,
VB.NET and C#.
Each language has a unique set of keywords (words
that it understands)
Human languages are known as natural languages.
Unfortunately, computers can not understand natural
languages, as a result we must communicate with
computers using computer languages.
These languages are:
• High Level Languages
• Low Level Languages
• Assembly Language
• Machine Language
High-level languages are much closer to human language.
A programming language such as C, FORTRAN or Pascal
that enables to write programs which is understandable to
programmer (Human) and can perform any sort of task,
such languages are considered high-level because they are
closer to human languages.
High level language must use interpreter, compiler or
translator to convert human understandable program to
computer readable code (machine code).
It is a set of words and symbol which a
programmer uses to write a program
There are many high level languages
Some Examples:
COBOL Business applications
FORTRAN Engineering & Scientific Applications
PASCAL General use and as a teaching tool
C & C++ General Purpose - currently
most popular.
PROLOG Artificial Intelligence
JAVA General all purpose programming
.NET General or web applications.
Advantages of High level language over low level lang:
• They are near to English language, that is they are easier to read,
write and maintain.
• High-level languages make complex programming simpler.
• High level languages is portable, i.e., they can work on different
operating system.
• Length of the program is also small compared with low level.
• Many real time problems can be easily solved with high level
language.
• They need to be translated for the computer to
understand, hence work slower than machine
code.
A computer low level language that deals with hardware
registers by name is known as assembly language.
Assembly language is the best example of low level
language, it is in between machine language and high-
level language.
A low-level language does not need a compiler or
interpreter to run the program, the processor run
low-level code directly.
Assembly languages have the same structure and set of commands as
machine languages, but they enable a programmer to use names
instead of numbers.
In the early days of programming all programs were written in
assembly language but now almost programs are written in a high-
level language.
Each assembly language is specific to a particular computer
architecture, in contrast to most high level programming languages,
which are generally portable across multiple systems.
*Programmers still use assembly language
when speed is essential or when they need to
perform an operation that isn't possible in a
high-level language.
• Writing games or simulation program
• Writing operating systems
• Programming robots
• Computers viruses, certain device drivers or
other items very close to the hardware or
low-level operating system.
It uses mnemonic codes (short forms) for instructions
and allows the programmer to introduce names for blocks
of memory that hold data.
Assembly language is designed to be easily translated into
machine language.
Examples:
MOV AL, 1h ; Load AL with immediate value 1
SUB R0,R0,#1 ;Decrement R0
MUL R0,R1,R2
STR R0,[R1,#20]
Machine code or machine language is a system of
instructions and data executed directly by a computer's
CPU. The lowest-level programming language that only be
understood by computers.
Computer language that is directly executable by a
computer without the need for translation by a compiler
or an assembler.
The native language of the computer,
The set of symbolic instructions in binary that is used to
represent operations and data in a machine called machine
code
Machine Language: “0110101100101000”
machine language is a collection of binary digits or bits
that the computer reads and interprets.
Machine language is the only language a computer
understands. It is almost impossible for humans to use
because they consist entirely of numbers.
There are four models of execution of program by
processor in high-level languages:
• INTERPRETER
• COMPILER
• ASSEMBLER
• TRANSLATOR
An interpreter is a program that executes programming
code directly.
Interpreter can convert a source code , usually on a
step-by-step, line-by-line and unit-by-unit basis into
machine code.
Interpreted languages are read and then executed directly,
with no compilation stage.
Compiler is a program that compile source code into executable
instructions that a computer can understand, it compiles code and
produce in EXE format before it run.
Assembler normally converts assembly language’s
source code into machine language.
Assembly language is a family of low-level languages
for programming computers. It implements a symbolic
representation of code.
An assembler is a program that takes basic computer
instructions and converts them into a pattern of
bits ( 0 & 1) that the computer runs to produce result.
Translator is a computer program that translates one
programming language instruction(s) into another
programming language instruction(s) …
A computer source code is to be translated into a
low-level programming language where native code
compilers change it in machine language for execution.
The source code is the code written either in assembly
or high level language.
• How many categories of computer languages are
there and name them?
• Explain briefly the differences between each
categories.
• State the different types of translators and there
functions.
• State 2 programming languages in high level.
• Is low level languages still used?
• State one application where low level language is
still used.
• June 2006 Question 6
(a)Give 2 benefits of using a high level language for writing programs
(b)State one type of program that would be written in a low level
language rather than a high level language and give a reason why.
• Nov 2007 Question 2
State two differences between high level languages and low level
languages
To be submitted on:
*THANKS YOU FOR YOUR ATTENTION

More Related Content

What's hot

Classification of Computer
Classification of ComputerClassification of Computer
Classification of Computer
Aasim Mushtaq
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Functions Of Operating System
Functions Of Operating SystemFunctions Of Operating System
Functions Of Operating System
Dr.Suresh Isave
 
Programming language
Programming languageProgramming language
Programming language
RajThakuri
 
Operating systems
Operating systems Operating systems
Operating systems
vinothinisureshbabu
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its functionNikhi Jain
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computersAkash Varaiya
 
Types of computer
Types of computerTypes of computer
Types of computer
Online
 
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types
vimal kumar arora
 
computer software
computer softwarecomputer software
computer software
Ahsan Khan
 
Generation of computer
Generation of computerGeneration of computer
Generation of computer
ankur bhalla
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating System
Hemant Raj
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
Neeru Mittal
 
Introduction To Computer
Introduction To ComputerIntroduction To Computer
Introduction To Computer
Abu Bakar Soomro
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
babaradhe
 
Software and its types
Software and its typesSoftware and its types
Software and its types
Ahmad Hussain
 
Language processor
Language processorLanguage processor
Language processorAbha Damani
 
generation of programming language
generation of programming languagegeneration of programming language
generation of programming language
lakshmi kumari neelapu
 

What's hot (20)

Classification of Computer
Classification of ComputerClassification of Computer
Classification of Computer
 
Hardware & Software
Hardware & SoftwareHardware & Software
Hardware & Software
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Functions Of Operating System
Functions Of Operating SystemFunctions Of Operating System
Functions Of Operating System
 
Programming language
Programming languageProgramming language
Programming language
 
Operating systems
Operating systems Operating systems
Operating systems
 
Operating system and its function
Operating system and its functionOperating system and its function
Operating system and its function
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computers
 
Types of computer
Types of computerTypes of computer
Types of computer
 
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types
 
computer software
computer softwarecomputer software
computer software
 
Generation of computer
Generation of computerGeneration of computer
Generation of computer
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating System
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Introduction To Computer
Introduction To ComputerIntroduction To Computer
Introduction To Computer
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
Software and its types
Software and its typesSoftware and its types
Software and its types
 
Language processor
Language processorLanguage processor
Language processor
 
generation of programming language
generation of programming languagegeneration of programming language
generation of programming language
 

Viewers also liked

Assembly Language Lecture 1
Assembly Language Lecture 1Assembly Language Lecture 1
Assembly Language Lecture 1
Motaz Saad
 
Programming languages
Programming languagesProgramming languages
Programming languages
Asmasum
 
Programming languages
Programming languagesProgramming languages
Programming languagesAkash Varaiya
 
Presentation of programming languages for beginners
Presentation of programming languages for beginnersPresentation of programming languages for beginners
Presentation of programming languages for beginners
Clement Levallois
 
Computer Languages.
Computer Languages.Computer Languages.
Computer Languages.
Aditya Sheoran
 

Viewers also liked (6)

Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
Assembly Language Lecture 1
Assembly Language Lecture 1Assembly Language Lecture 1
Assembly Language Lecture 1
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Presentation of programming languages for beginners
Presentation of programming languages for beginnersPresentation of programming languages for beginners
Presentation of programming languages for beginners
 
Computer Languages.
Computer Languages.Computer Languages.
Computer Languages.
 

Similar to Computer languages

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
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
Munawar Bukhari
 
Programming languages
Programming languagesProgramming languages
Programming languages
gaurav jain
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
Christ Association
 
Computer programming
Computer programmingComputer programming
Computer programmingSuneel Dogra
 
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
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
Arslan Hussain
 
Computer language
Computer languageComputer language
Computer language
WASEEM ARSLAN
 
Computer languages
Computer languagesComputer languages
Computer languages
BESOR ACADEMY
 
What is a programming language.docx
What is a programming language.docxWhat is a programming language.docx
What is a programming language.docx
ssuser9846a6
 
Introduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxIntroduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptx
MahamaHaruna
 
Programming Language
Programming LanguageProgramming Language
Programming Language
Madhushree Shettigar
 
2 Programming Language.pdf
2 Programming Language.pdf2 Programming Language.pdf
2 Programming Language.pdf
KINGZzofYouTube
 
Programming language
Programming languageProgramming language
Programming language
zeshmaiqbal
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
NaqashAhmad14
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
The University of Lahore
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
DarianElmyra
 

Similar to Computer languages (20)

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
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
Computer programming
Computer programmingComputer programming
Computer programming
 
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
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
Computer language
Computer languageComputer language
Computer language
 
Computer languages
Computer languagesComputer languages
Computer languages
 
What is a programming language.docx
What is a programming language.docxWhat is a programming language.docx
What is a programming language.docx
 
Introduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxIntroduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptx
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
2 Programming Language.pdf
2 Programming Language.pdf2 Programming Language.pdf
2 Programming Language.pdf
 
Programming language
Programming languageProgramming language
Programming language
 
C_NOTES.pdf
C_NOTES.pdfC_NOTES.pdf
C_NOTES.pdf
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
Lession 6
Lession 6Lession 6
Lession 6
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 

More from Buxoo Abdullah

1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL
Buxoo Abdullah
 
MONEY & BANKING
MONEY & BANKINGMONEY & BANKING
MONEY & BANKING
Buxoo Abdullah
 
Retail trade
Retail tradeRetail trade
Retail trade
Buxoo Abdullah
 
1.1.3 DATA STORAGE
1.1.3 DATA STORAGE1.1.3 DATA STORAGE
1.1.3 DATA STORAGE
Buxoo Abdullah
 
CODING WITH PYTHON PART 1
CODING WITH PYTHON PART 1CODING WITH PYTHON PART 1
CODING WITH PYTHON PART 1
Buxoo Abdullah
 
2.1.1 PROBLEM SOLVING & DESIGN
2.1.1 PROBLEM SOLVING & DESIGN2.1.1 PROBLEM SOLVING & DESIGN
2.1.1 PROBLEM SOLVING & DESIGN
Buxoo Abdullah
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
Buxoo Abdullah
 
COMPUTER SCIENCE PRE RELEASE 2210 FOR NOVEMBER 2018 P22
COMPUTER SCIENCE PRE RELEASE  2210 FOR NOVEMBER 2018 P22COMPUTER SCIENCE PRE RELEASE  2210 FOR NOVEMBER 2018 P22
COMPUTER SCIENCE PRE RELEASE 2210 FOR NOVEMBER 2018 P22
Buxoo Abdullah
 
Computer health & safety issues
Computer health & safety issuesComputer health & safety issues
Computer health & safety issues
Buxoo Abdullah
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
Buxoo Abdullah
 
Data and information
Data and informationData and information
Data and information
Buxoo Abdullah
 
Input devices
Input devicesInput devices
Input devices
Buxoo Abdullah
 
Formative & summative evaluation
Formative & summative evaluationFormative & summative evaluation
Formative & summative evaluation
Buxoo Abdullah
 
Ppt presentation of queues
Ppt presentation of queuesPpt presentation of queues
Ppt presentation of queues
Buxoo Abdullah
 

More from Buxoo Abdullah (14)

1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL
 
MONEY & BANKING
MONEY & BANKINGMONEY & BANKING
MONEY & BANKING
 
Retail trade
Retail tradeRetail trade
Retail trade
 
1.1.3 DATA STORAGE
1.1.3 DATA STORAGE1.1.3 DATA STORAGE
1.1.3 DATA STORAGE
 
CODING WITH PYTHON PART 1
CODING WITH PYTHON PART 1CODING WITH PYTHON PART 1
CODING WITH PYTHON PART 1
 
2.1.1 PROBLEM SOLVING & DESIGN
2.1.1 PROBLEM SOLVING & DESIGN2.1.1 PROBLEM SOLVING & DESIGN
2.1.1 PROBLEM SOLVING & DESIGN
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
 
COMPUTER SCIENCE PRE RELEASE 2210 FOR NOVEMBER 2018 P22
COMPUTER SCIENCE PRE RELEASE  2210 FOR NOVEMBER 2018 P22COMPUTER SCIENCE PRE RELEASE  2210 FOR NOVEMBER 2018 P22
COMPUTER SCIENCE PRE RELEASE 2210 FOR NOVEMBER 2018 P22
 
Computer health & safety issues
Computer health & safety issuesComputer health & safety issues
Computer health & safety issues
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
Data and information
Data and informationData and information
Data and information
 
Input devices
Input devicesInput devices
Input devices
 
Formative & summative evaluation
Formative & summative evaluationFormative & summative evaluation
Formative & summative evaluation
 
Ppt presentation of queues
Ppt presentation of queuesPpt presentation of queues
Ppt presentation of queues
 

Recently uploaded

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 

Recently uploaded (20)

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 

Computer languages

  • 1. *OBJECTIVES: TO UNDERSTAND WHAT IS COMPUTER LANGUAGE TO UNDERSTAND LOW LEVEL AND HIGH LEVEL LANGUAGE TO DIFFERENTIATE BETWEEN LOW LEVEL AND HIGH LEVEL LANGUAGE
  • 2. A computer language is an artificial language designed to work for different applications in different environments. Programming languages can be used to create programs that control the behavior of a computer and serve any purpose.
  • 3. The term programming language usually refers to high-level languages such as BASIC, C, C++, COBOL, FORTRAN, Pascal, Java, Oracle, ASP.NET, VB.NET and C#. Each language has a unique set of keywords (words that it understands)
  • 4. Human languages are known as natural languages. Unfortunately, computers can not understand natural languages, as a result we must communicate with computers using computer languages. These languages are: • High Level Languages • Low Level Languages • Assembly Language • Machine Language
  • 5.
  • 6. High-level languages are much closer to human language. A programming language such as C, FORTRAN or Pascal that enables to write programs which is understandable to programmer (Human) and can perform any sort of task, such languages are considered high-level because they are closer to human languages. High level language must use interpreter, compiler or translator to convert human understandable program to computer readable code (machine code). It is a set of words and symbol which a programmer uses to write a program
  • 7. There are many high level languages Some Examples: COBOL Business applications FORTRAN Engineering & Scientific Applications PASCAL General use and as a teaching tool C & C++ General Purpose - currently most popular. PROLOG Artificial Intelligence JAVA General all purpose programming .NET General or web applications.
  • 8. Advantages of High level language over low level lang: • They are near to English language, that is they are easier to read, write and maintain. • High-level languages make complex programming simpler. • High level languages is portable, i.e., they can work on different operating system. • Length of the program is also small compared with low level. • Many real time problems can be easily solved with high level language.
  • 9. • They need to be translated for the computer to understand, hence work slower than machine code.
  • 10. A computer low level language that deals with hardware registers by name is known as assembly language. Assembly language is the best example of low level language, it is in between machine language and high- level language. A low-level language does not need a compiler or interpreter to run the program, the processor run low-level code directly.
  • 11.
  • 12. Assembly languages have the same structure and set of commands as machine languages, but they enable a programmer to use names instead of numbers. In the early days of programming all programs were written in assembly language but now almost programs are written in a high- level language. Each assembly language is specific to a particular computer architecture, in contrast to most high level programming languages, which are generally portable across multiple systems.
  • 13. *Programmers still use assembly language when speed is essential or when they need to perform an operation that isn't possible in a high-level language.
  • 14. • Writing games or simulation program • Writing operating systems • Programming robots • Computers viruses, certain device drivers or other items very close to the hardware or low-level operating system.
  • 15. It uses mnemonic codes (short forms) for instructions and allows the programmer to introduce names for blocks of memory that hold data. Assembly language is designed to be easily translated into machine language. Examples: MOV AL, 1h ; Load AL with immediate value 1 SUB R0,R0,#1 ;Decrement R0 MUL R0,R1,R2 STR R0,[R1,#20]
  • 16. Machine code or machine language is a system of instructions and data executed directly by a computer's CPU. The lowest-level programming language that only be understood by computers. Computer language that is directly executable by a computer without the need for translation by a compiler or an assembler.
  • 17. The native language of the computer, The set of symbolic instructions in binary that is used to represent operations and data in a machine called machine code Machine Language: “0110101100101000” machine language is a collection of binary digits or bits that the computer reads and interprets. Machine language is the only language a computer understands. It is almost impossible for humans to use because they consist entirely of numbers.
  • 18. There are four models of execution of program by processor in high-level languages: • INTERPRETER • COMPILER • ASSEMBLER • TRANSLATOR
  • 19. An interpreter is a program that executes programming code directly. Interpreter can convert a source code , usually on a step-by-step, line-by-line and unit-by-unit basis into machine code. Interpreted languages are read and then executed directly, with no compilation stage.
  • 20. Compiler is a program that compile source code into executable instructions that a computer can understand, it compiles code and produce in EXE format before it run.
  • 21. Assembler normally converts assembly language’s source code into machine language. Assembly language is a family of low-level languages for programming computers. It implements a symbolic representation of code. An assembler is a program that takes basic computer instructions and converts them into a pattern of bits ( 0 & 1) that the computer runs to produce result.
  • 22. Translator is a computer program that translates one programming language instruction(s) into another programming language instruction(s) … A computer source code is to be translated into a low-level programming language where native code compilers change it in machine language for execution. The source code is the code written either in assembly or high level language.
  • 23. • How many categories of computer languages are there and name them? • Explain briefly the differences between each categories. • State the different types of translators and there functions. • State 2 programming languages in high level. • Is low level languages still used? • State one application where low level language is still used.
  • 24. • June 2006 Question 6 (a)Give 2 benefits of using a high level language for writing programs (b)State one type of program that would be written in a low level language rather than a high level language and give a reason why. • Nov 2007 Question 2 State two differences between high level languages and low level languages To be submitted on:
  • 25. *THANKS YOU FOR YOUR ATTENTION