SlideShare ist ein Scribd-Unternehmen logo
1 von 43
TOPIC:
COMPUTER LANGUAGES
TALHA GHORI*
INTRODUCTION OF COMPUTER LANGUAGES
DATE:21 JAN,2020
COMPUTER LANGUAGE
A Language is a main medium of communicating between the computer system
and most common are the programing language. A computer are the language by
which a user has command to computer to work an algorithm which a user has
written to get output.
As we known a computer only understand a binary number (0,1) to perform various
operations but the language are developed for different types of work on a
computer.
EXPLANATION
Human language is known as Natural language. Unfortunately computer cannot
understand natural languages, as a result we must communicate with computer
using computer language. A computer language include a various languages that
are used to communicate with a computer machine .
Some of the languages like programing language which is the set of codes and
instruction
Used for to communicating the machine.
We can divided the computer language into two basic types:
TYPES OF COMPUTER LANGUAGE
LOW-LEVEL LANGUAGE
HIGH-LEVEL LANGUAGE
LOW-LEVEL COMPUTER LANGUAGE
Low-level computer language are near to the Hardware and far from the human
language.
Computer only understand low level language.
Low-level computer language are the machine codes or closer to it.
EXPLANATION
Computer can understand these languages easily .writing a program in low level
languages
Required a deep knowledge of the internal structure of computer hardware . A low-
level
Language does not need any compiler or interpreter to run the program the
processor
Low –level language code directly.
There are two types of low –level language
TYPES
MACHINE LANGUAGE
A type of computer language in which instructions are written in binary form is
called machine language .
It is the only language that is directly understood by the computer . It is the
fundamental
Language of a computer.
EXPLANATION
Program written in machine language can be executed very fast by the computer
.programs
Written in machine language are machine-dependent . Every computer has its own
machine
Language . Machine language is difficult to understand . Writing and modifying
programs in
Machine language takes a lot of time . Machine language is also known as first
generation
Language.
ADVANTAGES OF MACHINE LANGUAGE
There is no need any translator or interpreter to translate
the code , as
the computer directly understand the machine language.
DISADVANTAGES OF MACHINE LANGUAGE
You have to remember the operation codes , memory address
every time you write
a program and also hard to find errors in a written program. It is a
machine dependent
and can be used by a single type of computer.
ASSEMBLY LANGUAGE
Assembly language is a low level language . It is one step higher than machine
language .In
Assembly language , symbols are used instead of binary code . These symbols are
Called mnemonics.
Example:
SUB instruction is used to subtract two numbers.
EXPLANATION
Assembly language is also called symbolic language . Program written in assembly
language are easier to write and modify than machine language . Assembly is
mostly used for
writing system software . The program using words , names and symbols in
assembly
Language are converted to machine language using Assembler.
Assembly language is also known as second generation Language.
ADVANTAGES OF ASSEMBLY LANGUAGE
Assembly language is easier to understand and save a lot of time and efforts of a
programmer.
It is easier to correct errors and modify program instructions.
Assembly language has the same efficiency of execution as the machine
language.
DISADVANTAGE OF ASSEMBLY LANGUAGE
It is written only for a single type of CPU and does not run on any
other CPU . But its speed but its speeds makes it’s the most used
low level language till today which is
used by many programmers.
HIGH LEVEL LANGUAGE
A type of language that is close to human language is called high level language .
High level language are easy to under stand .
Instructions of these languages are written in English – like keywords such as INPUT
,
PRINT and TUPLE e .t . c . A program written in high - level language is easier to
write
And modify.
EXPLANATION
The high level language are the most used and also most used and also more
considered programming language that helps a programmer to read , write and
maintain . They are
Less independent to a particular type of a computer and also require a translator
that
Can converted high level language into machine language . The translator may be
used
Compiler and interpreter .
COMPILER & INTERPRETER
COMPILER
Compiler will takes the entire
program as input.
Compiler is more faster.
It requires more memory space .
Error are display after entire program
Is check .
INTERPRETER
Interpreter will takes single
instruction as input.
Interpreter is slower.
It requires less memory space .
Error are display for every
instructions
interpreter(if any) .
COMPILER & INTERPRETER
It is good for professionals .
Programming language like C , C++
use compiler .
It is good for beginners .
Programming language like python ,
ruby
use interpreter.
HIGH LEVEL LANGUAGE CONTINUOUS
Compiler and interpreter that helps to convert into binary code for a computer to
understand . There is various high level programming language like C, FORTRAN or
Pascal that are less independent .High –level language are divided into following
Categories:
Procedural language
Object- oriented language
Non- procedural language
PROCEDURAL LANGUAGE
Procedural language are also known as Third generation language (3GL). In this
language , a program is a predefined set of instructions .
Program statement are similar to English and are easy to learn.
Less time is require to write the programs .
Programs are easier to understand and modify.
The program execute more slowly.
FORTRAN,BASIC, COBAL and PASCAL are most popular procedural language.
OBJECT-ORIENTED LANGUAGE
Object oriented programming (OOP) is a technique in which program are written
on the basics of objects . An object is a collection of data and functions. Object may
be represent
A person , thing or place in the world . In OOP, data and all possible functions on
data are
Grouped together . Object oriented programs are easier to learn and modify .
C++ and JAVA are most popular Object Oriented Language .
NON-PROCEDURAL LANGUAGE
Non-procedural languages are known as forth generation languages or 4GL . In
Non-procedural languages, the user only needs to tell the computer “what to do”
not
“how to do” . 4GL are normally used in the data base applications and report
generation.
SQL (Structured Query Language) and RPG (Report Program Generator) are Non-
procedural language.
DIFFERENCE B/W PROCEDURAL LANGUAGE AND NON-
PROCEDURAL LANGUAGE
PROCEDURAL LANGUAGE/3GL
Procedural language tells the
computer what to do and how to do.
It is difficult to learn.
It is difficult to debug.
It requires large number of
procedural instructions.
NON-PROCEDURAL
LANGUAGE/4GL
Non-procedural language tell the
computer what to do not how to do.
It is easy to learn.
It is easy to debug.
It is requires a few non-procedural
instructions.
PROCEDURAL AND NON-PROCEDURAL
LANGUAGE
It is normally used by professional
programmers.
It is typically file- oriented.
Procedural language provides many
programming capabilities.
It can be used by professional and
technical users.
It is typically database-oriented.
Non-procedural language provides
less
programming capabilities.
TYPES OF HIGH LEVEL LANGUAGE
1) Python
2) JavaScript
3) Java
4) Swift
5) Go Lang
6) C
7) C++
8) Scala
9) Kotlin
10) Ruby
C
A language written by brain Kernighan and Dennis Ritchie. This was to be then
language that UNIX was written into become the first “portable” language.
And then recent year C used as a general purpose because popularity in the
program.
ADVANTAGES OF C
powerful and efficient language
Portable language
Built-in function
Quality to extend itself
middle level language
system programing
DISADVANTAGES OF C
• Concept of loops
• Runtime cheating
• Concept of namespace
• Low level of abstraction
DEFINITION OF C ++
• C++ is general purpose object-oriented programming(OOP) language, developed
by “Bjarne Structure and is an extension of the C language. It is therefore possible
to code C++in a “C style” or object oriented style”. In certain scenarios, it can be
coded in either way and is thus and effective i.e. of a hybrid language.
• Initially the language was called “C with classes” as it had all the properties of the
C language with an additional concept of “classes”.
• However it was renamed C++ in 1983
ADVANTAGES OF C ++
• C++ has compiler support and debuggers.
• C++has a large selection of literature
• One class can have more than one base class which is referred to as
polymorphism's
DISADVANTAGES OF C ++
• Not available os9
• C++ is difficult to learn and can often become confusing.
• Extensive use on some feature such as operator over loading function over
loading and virtual function can make C++ unreadable.
• Executables are large (500kb) compared to OIC (150kb).
C VS C ++
C
 C is procedural language.
 No virtual functions are present in C.
 In C polymorphism is not possible.
 Operator overloading is not possible in
C.
C++
• C++ is not procedural i.e. object
oriented language.
• The concept of virtual function are used
in C++ .
• : Operator overloading is one of the
greatest feature of C++.
• Inheritance is possible in C++.
PYTHON
• Python is an interpreted, high-level, general purpose programming language. It
can use for developing desktop GUI applications, websites and web applications.
• It is created by Guido van Rossum and first released in 1991.
• The Python language is a good choice for beginners because it is easy to learn.
• Programs can be written quickly.
• Python is also a powerful language.
JAVA
Java is a programming language and platform.
Java is a high level, rebuts, secured and object-oriented programming language.
James Gosling, Mike Sheridan and Patrick Naughton initiated the Java
language project in 1991.
Firstly, it was called “Green Talk” by James Gosling.
After that, it was called “OAK” and was developed as a part of Green project.
In 1995, Oak was renamed as “Java”.
JAVA SCRIPT
JavaScript is the programming language of HTML and the web . It makes web page
dynamic . It is an interpreted programming language with object-oriented
capabilities.
JavaScript History:
1995 by Brendan Each ( Netscape )
Mocha
Live Script
JavaScript
JAVA VS JAVA SCRIPT
Java JavaScript
Java is used in a wide range
of places including Android
apps, Credit card
programming etc.
JavaScript is used to make web
pages so attractive.
Java is typically used for all
server side development.
JavaScript is reserved for
developing client side scripts.
Java code must be compiled. JavaScript code is all-text.
Java creates applications that
run in a browser.
JavaScript code is run on
browser only.
LANGUAGE GROWTH
HIGH LEVEL VS LOW LEVEL LANGUAGE
HIGH-LEVEL LANGUAGE
High level language is very easy to
learn.
These are near to human language.
Translator is require.
Programming in high level language
are slow in execution.
LOW-LEVEL LANGUAGE
Low level language are difficult to
learn.
These are far from human language.
No translator is required.
Programming in low level language
are fast in execution.
CONTINUOUS
Programs in high level language are
easy to modify.
Deep knowledge of hardware is not
required to write a programs.
These language are normally used to
write application programs.
Programs in low level language are
difficult to modify.
Deep knowledge of hardware is
required to write a programs.
These language are normally used to
write hardware programs .
computer languages

Weitere ähnliche Inhalte

Was ist angesagt?

Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Raja Hamid
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languagesjocleph
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / TranslatorsProject Student
 
Programming languages
Programming languagesProgramming languages
Programming languagesvito_carleone
 
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 Software And its types
Computer Software And its typesComputer Software And its types
Computer Software And its typesMirza Kaleem
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming LanguagesManish Kharotia
 
Programming Languages
Programming LanguagesProgramming Languages
Programming LanguagesMohamed Omar
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1REHAN IJAZ
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer ProgrammingAllen de Castro
 

Was ist angesagt? (20)

Computer
ComputerComputer
Computer
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languages
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
Computer Language
Computer LanguageComputer Language
Computer Language
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 
Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
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 ...
 
Humanware
HumanwareHumanware
Humanware
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
C basics
C   basicsC   basics
C basics
 
Computer Software And its types
Computer Software And its typesComputer Software And its types
Computer Software And its types
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
 

Ähnlich wie computer languages

Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generationMunawar Bukhari
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languagesNaqashAhmad14
 
rajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdfrajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdfSunnukhazisSunnu
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacionVillalba Griselda
 
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
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxAryaDutta4
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESNoorHameed6
 
Programming languages
Programming languagesProgramming languages
Programming languagesgaurav jain
 
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.pptxMahamaHaruna
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Program, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptxProgram, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptxHariharPaudel1
 
Computer languages
Computer languagesComputer languages
Computer languagesPrince Arsal
 

Ähnlich wie computer languages (20)

Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
 
Rajesh ppt
Rajesh pptRajesh ppt
Rajesh ppt
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
rajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdfrajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdf
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
 
Computer language
Computer languageComputer language
Computer language
 
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
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptx
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGES
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
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
 
Computer languages
Computer languagesComputer languages
Computer languages
 
NEP.pptx
NEP.pptxNEP.pptx
NEP.pptx
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Notacd071
Notacd071Notacd071
Notacd071
 
Program, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptxProgram, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptx
 
Computer languages
Computer languagesComputer languages
Computer languages
 

Kürzlich hochgeladen

Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 

Kürzlich hochgeladen (20)

Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 

computer languages

  • 1.
  • 2. TOPIC: COMPUTER LANGUAGES TALHA GHORI* INTRODUCTION OF COMPUTER LANGUAGES DATE:21 JAN,2020
  • 3. COMPUTER LANGUAGE A Language is a main medium of communicating between the computer system and most common are the programing language. A computer are the language by which a user has command to computer to work an algorithm which a user has written to get output. As we known a computer only understand a binary number (0,1) to perform various operations but the language are developed for different types of work on a computer.
  • 4. EXPLANATION Human language is known as Natural language. Unfortunately computer cannot understand natural languages, as a result we must communicate with computer using computer language. A computer language include a various languages that are used to communicate with a computer machine . Some of the languages like programing language which is the set of codes and instruction Used for to communicating the machine. We can divided the computer language into two basic types:
  • 5.
  • 6. TYPES OF COMPUTER LANGUAGE LOW-LEVEL LANGUAGE HIGH-LEVEL LANGUAGE
  • 7. LOW-LEVEL COMPUTER LANGUAGE Low-level computer language are near to the Hardware and far from the human language. Computer only understand low level language. Low-level computer language are the machine codes or closer to it.
  • 8. EXPLANATION Computer can understand these languages easily .writing a program in low level languages Required a deep knowledge of the internal structure of computer hardware . A low- level Language does not need any compiler or interpreter to run the program the processor Low –level language code directly. There are two types of low –level language
  • 10. MACHINE LANGUAGE A type of computer language in which instructions are written in binary form is called machine language . It is the only language that is directly understood by the computer . It is the fundamental Language of a computer.
  • 11. EXPLANATION Program written in machine language can be executed very fast by the computer .programs Written in machine language are machine-dependent . Every computer has its own machine Language . Machine language is difficult to understand . Writing and modifying programs in Machine language takes a lot of time . Machine language is also known as first generation Language.
  • 12. ADVANTAGES OF MACHINE LANGUAGE There is no need any translator or interpreter to translate the code , as the computer directly understand the machine language.
  • 13. DISADVANTAGES OF MACHINE LANGUAGE You have to remember the operation codes , memory address every time you write a program and also hard to find errors in a written program. It is a machine dependent and can be used by a single type of computer.
  • 14. ASSEMBLY LANGUAGE Assembly language is a low level language . It is one step higher than machine language .In Assembly language , symbols are used instead of binary code . These symbols are Called mnemonics. Example: SUB instruction is used to subtract two numbers.
  • 15. EXPLANATION Assembly language is also called symbolic language . Program written in assembly language are easier to write and modify than machine language . Assembly is mostly used for writing system software . The program using words , names and symbols in assembly Language are converted to machine language using Assembler. Assembly language is also known as second generation Language.
  • 16. ADVANTAGES OF ASSEMBLY LANGUAGE Assembly language is easier to understand and save a lot of time and efforts of a programmer. It is easier to correct errors and modify program instructions. Assembly language has the same efficiency of execution as the machine language.
  • 17. DISADVANTAGE OF ASSEMBLY LANGUAGE It is written only for a single type of CPU and does not run on any other CPU . But its speed but its speeds makes it’s the most used low level language till today which is used by many programmers.
  • 18. HIGH LEVEL LANGUAGE A type of language that is close to human language is called high level language . High level language are easy to under stand . Instructions of these languages are written in English – like keywords such as INPUT , PRINT and TUPLE e .t . c . A program written in high - level language is easier to write And modify.
  • 19. EXPLANATION The high level language are the most used and also most used and also more considered programming language that helps a programmer to read , write and maintain . They are Less independent to a particular type of a computer and also require a translator that Can converted high level language into machine language . The translator may be used Compiler and interpreter .
  • 20. COMPILER & INTERPRETER COMPILER Compiler will takes the entire program as input. Compiler is more faster. It requires more memory space . Error are display after entire program Is check . INTERPRETER Interpreter will takes single instruction as input. Interpreter is slower. It requires less memory space . Error are display for every instructions interpreter(if any) .
  • 21. COMPILER & INTERPRETER It is good for professionals . Programming language like C , C++ use compiler . It is good for beginners . Programming language like python , ruby use interpreter.
  • 22. HIGH LEVEL LANGUAGE CONTINUOUS Compiler and interpreter that helps to convert into binary code for a computer to understand . There is various high level programming language like C, FORTRAN or Pascal that are less independent .High –level language are divided into following Categories: Procedural language Object- oriented language Non- procedural language
  • 23. PROCEDURAL LANGUAGE Procedural language are also known as Third generation language (3GL). In this language , a program is a predefined set of instructions . Program statement are similar to English and are easy to learn. Less time is require to write the programs . Programs are easier to understand and modify. The program execute more slowly. FORTRAN,BASIC, COBAL and PASCAL are most popular procedural language.
  • 24. OBJECT-ORIENTED LANGUAGE Object oriented programming (OOP) is a technique in which program are written on the basics of objects . An object is a collection of data and functions. Object may be represent A person , thing or place in the world . In OOP, data and all possible functions on data are Grouped together . Object oriented programs are easier to learn and modify . C++ and JAVA are most popular Object Oriented Language .
  • 25. NON-PROCEDURAL LANGUAGE Non-procedural languages are known as forth generation languages or 4GL . In Non-procedural languages, the user only needs to tell the computer “what to do” not “how to do” . 4GL are normally used in the data base applications and report generation. SQL (Structured Query Language) and RPG (Report Program Generator) are Non- procedural language.
  • 26. DIFFERENCE B/W PROCEDURAL LANGUAGE AND NON- PROCEDURAL LANGUAGE PROCEDURAL LANGUAGE/3GL Procedural language tells the computer what to do and how to do. It is difficult to learn. It is difficult to debug. It requires large number of procedural instructions. NON-PROCEDURAL LANGUAGE/4GL Non-procedural language tell the computer what to do not how to do. It is easy to learn. It is easy to debug. It is requires a few non-procedural instructions.
  • 27. PROCEDURAL AND NON-PROCEDURAL LANGUAGE It is normally used by professional programmers. It is typically file- oriented. Procedural language provides many programming capabilities. It can be used by professional and technical users. It is typically database-oriented. Non-procedural language provides less programming capabilities.
  • 28. TYPES OF HIGH LEVEL LANGUAGE 1) Python 2) JavaScript 3) Java 4) Swift 5) Go Lang 6) C 7) C++ 8) Scala 9) Kotlin 10) Ruby
  • 29. C A language written by brain Kernighan and Dennis Ritchie. This was to be then language that UNIX was written into become the first “portable” language. And then recent year C used as a general purpose because popularity in the program.
  • 30. ADVANTAGES OF C powerful and efficient language Portable language Built-in function Quality to extend itself middle level language system programing
  • 31. DISADVANTAGES OF C • Concept of loops • Runtime cheating • Concept of namespace • Low level of abstraction
  • 32. DEFINITION OF C ++ • C++ is general purpose object-oriented programming(OOP) language, developed by “Bjarne Structure and is an extension of the C language. It is therefore possible to code C++in a “C style” or object oriented style”. In certain scenarios, it can be coded in either way and is thus and effective i.e. of a hybrid language. • Initially the language was called “C with classes” as it had all the properties of the C language with an additional concept of “classes”. • However it was renamed C++ in 1983
  • 33. ADVANTAGES OF C ++ • C++ has compiler support and debuggers. • C++has a large selection of literature • One class can have more than one base class which is referred to as polymorphism's
  • 34. DISADVANTAGES OF C ++ • Not available os9 • C++ is difficult to learn and can often become confusing. • Extensive use on some feature such as operator over loading function over loading and virtual function can make C++ unreadable. • Executables are large (500kb) compared to OIC (150kb).
  • 35. C VS C ++ C  C is procedural language.  No virtual functions are present in C.  In C polymorphism is not possible.  Operator overloading is not possible in C. C++ • C++ is not procedural i.e. object oriented language. • The concept of virtual function are used in C++ . • : Operator overloading is one of the greatest feature of C++. • Inheritance is possible in C++.
  • 36. PYTHON • Python is an interpreted, high-level, general purpose programming language. It can use for developing desktop GUI applications, websites and web applications. • It is created by Guido van Rossum and first released in 1991. • The Python language is a good choice for beginners because it is easy to learn. • Programs can be written quickly. • Python is also a powerful language.
  • 37. JAVA Java is a programming language and platform. Java is a high level, rebuts, secured and object-oriented programming language. James Gosling, Mike Sheridan and Patrick Naughton initiated the Java language project in 1991. Firstly, it was called “Green Talk” by James Gosling. After that, it was called “OAK” and was developed as a part of Green project. In 1995, Oak was renamed as “Java”.
  • 38. JAVA SCRIPT JavaScript is the programming language of HTML and the web . It makes web page dynamic . It is an interpreted programming language with object-oriented capabilities. JavaScript History: 1995 by Brendan Each ( Netscape ) Mocha Live Script JavaScript
  • 39. JAVA VS JAVA SCRIPT Java JavaScript Java is used in a wide range of places including Android apps, Credit card programming etc. JavaScript is used to make web pages so attractive. Java is typically used for all server side development. JavaScript is reserved for developing client side scripts. Java code must be compiled. JavaScript code is all-text. Java creates applications that run in a browser. JavaScript code is run on browser only.
  • 41. HIGH LEVEL VS LOW LEVEL LANGUAGE HIGH-LEVEL LANGUAGE High level language is very easy to learn. These are near to human language. Translator is require. Programming in high level language are slow in execution. LOW-LEVEL LANGUAGE Low level language are difficult to learn. These are far from human language. No translator is required. Programming in low level language are fast in execution.
  • 42. CONTINUOUS Programs in high level language are easy to modify. Deep knowledge of hardware is not required to write a programs. These language are normally used to write application programs. Programs in low level language are difficult to modify. Deep knowledge of hardware is required to write a programs. These language are normally used to write hardware programs .