SlideShare uma empresa Scribd logo
1 de 29
Baixar para ler offline
Computer Languages
BY: AQDAS NOOR
Computer languages
Computer languages are systems of communication with a Computer. Such
languages are used to create computer code or program code.
OBJECTIVES:
 TO UNDERSTAND WHAT IS COMPUTER
LANGUAGE.
 TO UNDERSTAND LOW LEVEL AND HIGH LEVEL
LANGUAGE .
 TO DIFFRENTIATE BETWEEN LOW LEVEL AND
HIGH LEVEL LANGUAGE.
COMPUTER LANGUAGES
• A computer language is a 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.
COMPUTER LANGUAGES
• The term programming languages usually
refers to high level languages
such as BASIC, C, C++, COBOL,FORTMAN,
PASCAL,
JAVA, ORACLE, ASP, NET, and C#.
• Each language has a unique set of keywords
(words that it understands)
COMPUTER LANGUAGES
oHuman languages are known as natural languages. Unfortunately,
computer cannot understand natural languages, as a result we must
communicate with computers using computer languages.
oThese languages are:
• High level languages
• Low level languages
• Assembly languages
• Machine languages
TYPES OF COMPUTER LANGUAGES
High-level programming language
• High-level programming language is a programming
language with strong abstraction from the details of
the computer. In contrast to low-level programming
languages, it may use natural language elements, be
easier to use, or may automate (or even hide entirely)
significant areas of computing systems (e.g. memory
management), making the process of developing a
program simpler and more understandable than when
using a lower-level language. The amount of abstraction
provided defines how "high-level" a programming
language is.
• In the 1960, high-level programming languages using
a compiler were commonly called autocodes. Examples
of autocodes are COBOL and Fortran
COBOL
• COBOL is a compiled English-like computer
programming language designed for business
use. It is imperative, procedural and, since
2002, object-oriented. COBOL is primarily
used in business, finance, and administrative
systems for companies and governments.
• Designed by: Howard Bromberg, Norman
Discount,Vernon Reeves, Jean E. Sammet,
William Selden, GertrudeTierney
• Developers: CODASYL,ANSI, ISO
• Stable release: ISO/IEC 1989:2014 / 2014
• Typing discipline: Weak, static
FORTRAN
• Fortran is a general-purpose, compiled
imperative programming language that
is especially suited to numeric
computation and scientific computing.
• Developer: John Backus and IBM
• Typing discipline: strong, static,
manifest
• Stable release: Fortran
2018 November 28, 2018; 19 months
ago
• Designed by: John Backus
• Designer: John Backus
High level language
 It is a set of words and symbol which a programmer uses to write a
program.
• High-level language are much closer to human language. A programming
language such as C, FORTRAN or Pascal and COBOL 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 language.
• High level languages must use interpreter, compiler or translator to convert human
understandable program to computer readable code (machine code).
Some Examples
 There are many high level languages.
• 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 language
• They are near to English language, that they are easier to read, write and
maintain.
• High-level language 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.
Disadvantages of High level languages
• They need to be translated for the computer to understand, hence work slower
than machine code.
• High level programs are comparatively slower than low level programs.
• Compared to low level programs, they are generally less memory efficient.
• Cannot communicate directly with the hardware.
Low Level Language
A low-level programming
language is a programming
language that provides little or
no abstraction from a
computer's instruction set
architecture—commands or
functions in the language map
closely to processor
instructions. Generally, this
refers to either machine code
or assembly language.
Low Level Language
• 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 process run low-level language code directly.
Are low level languages still in use?
• Programmers still use low level language when
speed is essential or when they need to perform
an operation that isn’t possible in a high-level
language.
Some examples where low level
languages still used
• Writing games or simulator program
• Writing operating system
• Programming robots
• Computers viruses, certain device drivers or other items very close to the
hardware or low-level operating system.
Assembly language
• Assembly language 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 a specific to a particular computer architecture, in
a contrast to most high level programming language which are generally
portable across multiple system.
Assembly language
• It uses mnemonic codes(short forms) for instruction 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 all with immediate value1 SUB
• R0,R0,#1;Decrement R0
• MUL R0,R1,R2
• STR R0,[R1,#20]
Machine language
• Machine code or machine language is a system of
instruction 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
computer without
• the need for translation by a computer or an assembler.
Machine language
• 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.
Program Code Convert
oThere are four models of execution of program by process in high-
level languages:
• INTERPRETER
• COMPILER
• ASSEMBLER
• TRANSLATOR
Interpreter
• 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
• 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
• 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 coverts
them into a pattern of bits (0 & 1) that the computer runs to produce result.
TRANSLATOR
• Translator is a computer program that translates one programming language
instructions into another programming language instructions.
• 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.
Computer languages

Mais conteúdo relacionado

Mais procurados

computer languages
computer languagescomputer languages
computer languagesRajendran
 
Software and its types
Software and its typesSoftware and its types
Software and its typesAhmad Hussain
 
Programming languages
Programming languagesProgramming languages
Programming languagesvito_carleone
 
Computer Software & It's types.
Computer Software &  It's types.Computer Software &  It's types.
Computer Software & It's types.Mohit Dhankher
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programmingNSU-Biliran Campus
 
Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...SHUBHAM PATIDAR FISHERIES ADDAA
 
Computer Language Translator
Computer Language TranslatorComputer Language Translator
Computer Language TranslatorRanjeet Kumar
 
Characteristics of Computer
Characteristics of Computer Characteristics of Computer
Characteristics of Computer comaestro Inc.
 
Programming languages
Programming languagesProgramming languages
Programming languagesAsmasum
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computersAkash Varaiya
 
Programming language
Programming languageProgramming language
Programming languageRajThakuri
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languageseducationfront
 

Mais procurados (20)

Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
 
computer languages
computer languagescomputer languages
computer languages
 
Software and its types
Software and its typesSoftware and its types
Software and its types
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Fundamental of Computers
Fundamental of ComputersFundamental of Computers
Fundamental of Computers
 
Computer Software & It's types.
Computer Software &  It's types.Computer Software &  It's types.
Computer Software & It's types.
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...Features of machine language, assembly language, high level language & their ...
Features of machine language, assembly language, high level language & their ...
 
Computer Language Translator
Computer Language TranslatorComputer Language Translator
Computer Language Translator
 
Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
Characteristics of Computer
Characteristics of Computer Characteristics of Computer
Characteristics of Computer
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
System software
System softwareSystem software
System software
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computers
 
Programming language
Programming languageProgramming language
Programming language
 
Computer Software & its Types
Computer Software & its Types Computer Software & its Types
Computer Software & its Types
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
 
Computer Language
Computer LanguageComputer Language
Computer Language
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 

Semelhante a 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
 
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
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generationMunawar Bukhari
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming VanessaBuensalida
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESNoorHameed6
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming LanguagesJuhi Bhoyar
 
Programming fundamentals presentation
Programming fundamentals presentationProgramming fundamentals presentation
Programming fundamentals presentationHafsaRao1
 
D turner power_pointpres
D turner power_pointpresD turner power_pointpres
D turner power_pointpresdavid114811
 
Evolution of programming languages-migara presentation.pptx
Evolution of programming languages-migara presentation.pptxEvolution of programming languages-migara presentation.pptx
Evolution of programming languages-migara presentation.pptxDinithiGunarathna
 

Semelhante a 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
 
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
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
 
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 language
Computer languageComputer language
Computer language
 
Computer languages
Computer languagesComputer languages
Computer languages
 
computer languages
computer languagescomputer languages
computer languages
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGES
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
Language processors
Language processorsLanguage processors
Language processors
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
Programming fundamentals presentation
Programming fundamentals presentationProgramming fundamentals presentation
Programming fundamentals presentation
 
10 lesson7
10 lesson710 lesson7
10 lesson7
 
D turner power_pointpres
D turner power_pointpresD turner power_pointpres
D turner power_pointpres
 
Evolution of programming languages-migara presentation.pptx
Evolution of programming languages-migara presentation.pptxEvolution of programming languages-migara presentation.pptx
Evolution of programming languages-migara presentation.pptx
 

Último

SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?Alexandre Beguel
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogueitservices996
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesVictoriaMetrics
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jNeo4j
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slidesvaideheekore1
 
Mastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxMastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxAS Design & AST.
 
Effort Estimation Techniques used in Software Projects
Effort Estimation Techniques used in Software ProjectsEffort Estimation Techniques used in Software Projects
Effort Estimation Techniques used in Software ProjectsDEEPRAJ PATHAK
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolsosttopstonverter
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdfSteve Caron
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...OnePlan Solutions
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldRoberto Pérez Alcolea
 
Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxRTS corp
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorTier1 app
 
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxUnderstanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxSasikiranMarri
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...OnePlan Solutions
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdfAndrey Devyatkin
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfkalichargn70th171
 
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...kalichargn70th171
 

Último (20)

SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogue
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 Updates
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slides
 
Mastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxMastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptx
 
Effort Estimation Techniques used in Software Projects
Effort Estimation Techniques used in Software ProjectsEffort Estimation Techniques used in Software Projects
Effort Estimation Techniques used in Software Projects
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration tools
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository world
 
Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptx
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryError
 
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxUnderstanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
 
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
 

Computer languages

  • 2. Computer languages Computer languages are systems of communication with a Computer. Such languages are used to create computer code or program code.
  • 3. OBJECTIVES:  TO UNDERSTAND WHAT IS COMPUTER LANGUAGE.  TO UNDERSTAND LOW LEVEL AND HIGH LEVEL LANGUAGE .  TO DIFFRENTIATE BETWEEN LOW LEVEL AND HIGH LEVEL LANGUAGE.
  • 4. COMPUTER LANGUAGES • A computer language is a 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.
  • 5. COMPUTER LANGUAGES • The term programming languages usually refers to high level languages such as BASIC, C, C++, COBOL,FORTMAN, PASCAL, JAVA, ORACLE, ASP, NET, and C#. • Each language has a unique set of keywords (words that it understands)
  • 6. COMPUTER LANGUAGES oHuman languages are known as natural languages. Unfortunately, computer cannot understand natural languages, as a result we must communicate with computers using computer languages. oThese languages are: • High level languages • Low level languages • Assembly languages • Machine languages
  • 7. TYPES OF COMPUTER LANGUAGES
  • 8. High-level programming language • High-level programming language is a programming language with strong abstraction from the details of the computer. In contrast to low-level programming languages, it may use natural language elements, be easier to use, or may automate (or even hide entirely) significant areas of computing systems (e.g. memory management), making the process of developing a program simpler and more understandable than when using a lower-level language. The amount of abstraction provided defines how "high-level" a programming language is. • In the 1960, high-level programming languages using a compiler were commonly called autocodes. Examples of autocodes are COBOL and Fortran
  • 9. COBOL • COBOL is a compiled English-like computer programming language designed for business use. It is imperative, procedural and, since 2002, object-oriented. COBOL is primarily used in business, finance, and administrative systems for companies and governments. • Designed by: Howard Bromberg, Norman Discount,Vernon Reeves, Jean E. Sammet, William Selden, GertrudeTierney • Developers: CODASYL,ANSI, ISO • Stable release: ISO/IEC 1989:2014 / 2014 • Typing discipline: Weak, static
  • 10. FORTRAN • Fortran is a general-purpose, compiled imperative programming language that is especially suited to numeric computation and scientific computing. • Developer: John Backus and IBM • Typing discipline: strong, static, manifest • Stable release: Fortran 2018 November 28, 2018; 19 months ago • Designed by: John Backus • Designer: John Backus
  • 11. High level language  It is a set of words and symbol which a programmer uses to write a program. • High-level language are much closer to human language. A programming language such as C, FORTRAN or Pascal and COBOL 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 language. • High level languages must use interpreter, compiler or translator to convert human understandable program to computer readable code (machine code).
  • 12. Some Examples  There are many high level languages. • 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
  • 13. Advantages of High level language over Low level language • They are near to English language, that they are easier to read, write and maintain. • High-level language 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.
  • 14. Disadvantages of High level languages • They need to be translated for the computer to understand, hence work slower than machine code. • High level programs are comparatively slower than low level programs. • Compared to low level programs, they are generally less memory efficient. • Cannot communicate directly with the hardware.
  • 15. Low Level Language A low-level programming language is a programming language that provides little or no abstraction from a computer's instruction set architecture—commands or functions in the language map closely to processor instructions. Generally, this refers to either machine code or assembly language.
  • 16. Low Level Language • 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 process run low-level language code directly.
  • 17. Are low level languages still in use? • Programmers still use low level language when speed is essential or when they need to perform an operation that isn’t possible in a high-level language.
  • 18. Some examples where low level languages still used • Writing games or simulator program • Writing operating system • Programming robots • Computers viruses, certain device drivers or other items very close to the hardware or low-level operating system.
  • 19. Assembly language • Assembly language 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 a specific to a particular computer architecture, in a contrast to most high level programming language which are generally portable across multiple system.
  • 20. Assembly language • It uses mnemonic codes(short forms) for instruction 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 all with immediate value1 SUB • R0,R0,#1;Decrement R0 • MUL R0,R1,R2 • STR R0,[R1,#20]
  • 21. Machine language • Machine code or machine language is a system of instruction 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 computer without • the need for translation by a computer or an assembler.
  • 22.
  • 23. Machine language • 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.
  • 24. Program Code Convert oThere are four models of execution of program by process in high- level languages: • INTERPRETER • COMPILER • ASSEMBLER • TRANSLATOR
  • 25. Interpreter • 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.
  • 26. COMPILER • 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.
  • 27. ASSEMBLER • 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 coverts them into a pattern of bits (0 & 1) that the computer runs to produce result.
  • 28. TRANSLATOR • Translator is a computer program that translates one programming language instructions into another programming language instructions. • 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.