SlideShare a Scribd company logo
Computer Language and
Programming
Unit - 3
What does a Computer Program do?
 A computer program is:
– a set of instructions that tell a computer how to
perform a particular task.
 A programming language is a set of rules
that provides a way of telling a computer
what operations to perform.
 Some programming languages are written
for particular computing problems.
For example,
 FORTRAN for scientific applications
 COBOL for business applications
What is a Programming Language?
 English is a natural language. It has
words, symbols and grammatical rules.
 A programming language also has
words, symbols and rules of grammar.
 The grammatical rules are called syntax.
 Each programming language has a
different set of syntax rules.
Programming Language
Types of Programming Languages
High-Level Language
class Triangle {
...
float surface()
return b*h/2;
}
Middle -Level Language
LOAD r1,b
LOAD r2,h
MUL r1,r2
DIV r1,#2
RET
Low-Level Language / Executable
Machine code
0001001001000101001001
001110110010101101001.
..
 Machine languages (first-generation
languages) are the most basic type of
computer languages, consisting of strings
of numbers the computer's hardware can
use.
 Different types of hardware use different
machine code.
 For example, IBM computers use different
machine language than Apple computers.
Machine Languages
 In machine languages, instructions are
written as sequence of 1s and 0s, called
bits, that a computer can understand
directly.
 It tells the computer,
 Where to find one or two numbers or simple
pieces of data in the main memory
 To perform simple operations like add two
numbers
 Where in the main memory to put the result
 Where to find the next instruction to perform
Machine Languages
 The only language that the computer
understands is called binary or machine
language.
 Programs interact with the computer using
machine language.
 It’s difficult for humans to read or write so an
intermediate language is used to get it translated
into binary for us.
Machine Languages
 Assembly languages (second-generation
languages) are only somewhat easier to
work with than machine languages.
 To create programs in assembly language,
developers use cryptic English-like phrases
to represent strings of numbers.
 The code is then translated into object code,
using a translator called an assembler.
Assembly Languages
Assembler
Assembly
code
Object code
 Closer to English but included simple
mathematical notation.
 Programs written in source code which
must be translated into machine language
programs called object code.
 The programmer generates the source
code.
 The interpreter or compiler generates the
object code (machine code)
Higher-Level Languages
Translating High Level Languages
to Machine Code`
Two ways to generate object code:
• An interpreter translates the high-level
instructions into machine code, line by
line, as the program is running
• A compiler translates the entire program
into machine code before running the
program
• Third-generation languages
• Fourth-generation languages
• Fifth-generation languages
 Higher-level programming languages are
divided into three "generations," each
more powerful than the last:
Higher-Level Languages
FORTAN C
COBOL C++
BASIC Java
Pascal ActiveX
• Third-generation languages (3GLs) are the first to
use true English-like phrasing, making them easier
to use than previous languages.
• 3GLs are portable, meaning the object code created
for one type of system can be translated for use on a
different type of system.
• The following languages are 3GLs:
Higher-Level Languages –
Third-Generation Languages
Visual Basic (VB)
VisualAge
Authoring environments
• Fourth-generation languages (4GLs) are even easier
to use than 3GLs.
• 4GLs may use a text-based environment (like a 3GL)
or may allow the programmer to work in a visual
environment, using graphical tools.
• The following languages are 4GLs:
Higher-Level Languages -
Fourth-Generation Languages
• Fifth-generation languages (5GLs) are an issue of
debate in the programming community – some
programmers cannot agree that they even exist.
• These high-level languages would use artificial
intelligence to create software, making 5GLs extremely
difficult to develop.
• PROLOG – A language used to program Artificial
Intelligence
Higher-Level Languages -
Fifth-Generation Languages
 FORTRAN
 FORmula TRANslation.
 Developed by John Backus
 Developed at IBM in the mid-1950s.
 Designed for scientific and mathematical
applications by scientists and engineers.
Procedural Languages
 COBOL
 COmmon Business Oriented Language.
 Developed in 1959.
 Created by Grace Hopper
 Designed to be common to many different
computers.
 Typically used for business applications.
Procedural Languages
 LISP
 LISt Processing.
 Developed in 1958.
 Created by John McCarthy
 First Functional Language
Functional Language
 BASIC
 Beginner’s All-purpose Symbolic Instruction
Code.
 Developed at Dartmouth College in mid 1960s.
 Developed as a simple language for students
to write programs with which they could
interact through terminals.
Programming Languages
 C
 Developed by Bell Laboratories in the early
1970s.
 Provides control and efficiency of assembly
language while having third generation
language features.
 Often used for system programs.
 UNIX is written in C.
Programming Languages
 SIMULA
 First object-oriented language
 Developed by Ole Johan Dahl in the 1960s.
 SMALLTALK
 First purely object-oriented language.
 Developed by Xerox in mid-1970s.
 Still in use on some computers.
Object-Oriented Programming
Languages
 C++
 It is C language with additional features.
 Widely used for developing system and
application software.
 Graphical user interfaces can be developed
easily with visual programming tools.
Object-Oriented Programming
Languages
 JAVA
 An object-oriented language similar to C++
that eliminates lots of C++’s problematic
features
 Allows a web page developer to create
programs for applications, called applets that
can be used through a browser.
 Objective of JAVA developers is that it be
machine, platform and operating system
independent.
Object-Oriented Programming
Languages
Chapter 3 (Questions)
 What is program?
 What is programming Language?
 What are the different programming
language generations?
 What are the differences between
HLL and LLL?
 Explain computer language types
with example.

More Related Content

Similar to Software Engineering : Computer basics - Introduction to computer (20)

Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
Muhammad Ramzan
 
INTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdf
INTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdfINTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdf
INTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdf
Kakai Catalan
 
Programming languages
Programming languagesProgramming languages
Programming languages
vito_carleone
 
Machine language to artificial intelligence
Machine language to artificial intelligenceMachine language to artificial intelligence
Machine language to artificial intelligence
Suneel Dogra
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
Manish Kharotia
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
Hussain Buksh
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computer
Keval Goyani
 
Computer languages that are used in different generations
Computer languages that are used in different generationsComputer languages that are used in different generations
Computer languages that are used in different generations
ashwinik676334
 
INTRO. TO PROG.pptx
INTRO. TO PROG.pptxINTRO. TO PROG.pptx
INTRO. TO PROG.pptx
Samuel Quame
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
Villalba Griselda
 
Computer Languages & its genearations.pptx
Computer Languages & its genearations.pptxComputer Languages & its genearations.pptx
Computer Languages & its genearations.pptx
Ritu Sachdeva
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languages
Tarun Sharma
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
kitturashmikittu
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGES
NoorHameed6
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
Buxoo Abdullah
 
lect1-introductiontoprogramminglanguages-130130013038-phpapp02.ppt
lect1-introductiontoprogramminglanguages-130130013038-phpapp02.pptlect1-introductiontoprogramminglanguages-130130013038-phpapp02.ppt
lect1-introductiontoprogramminglanguages-130130013038-phpapp02.ppt
abigailjudith8
 
all computer Programming Languages.pptx
all computer  Programming Languages.pptxall computer  Programming Languages.pptx
all computer Programming Languages.pptx
inamib
 
Presentation-1.pptx
Presentation-1.pptxPresentation-1.pptx
Presentation-1.pptx
animewatcher7
 
INTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdf
INTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdfINTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdf
INTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdf
Kakai Catalan
 
Programming languages
Programming languagesProgramming languages
Programming languages
vito_carleone
 
Machine language to artificial intelligence
Machine language to artificial intelligenceMachine language to artificial intelligence
Machine language to artificial intelligence
Suneel Dogra
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
Manish Kharotia
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
Hussain Buksh
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computer
Keval Goyani
 
Computer languages that are used in different generations
Computer languages that are used in different generationsComputer languages that are used in different generations
Computer languages that are used in different generations
ashwinik676334
 
INTRO. TO PROG.pptx
INTRO. TO PROG.pptxINTRO. TO PROG.pptx
INTRO. TO PROG.pptx
Samuel Quame
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
Villalba Griselda
 
Computer Languages & its genearations.pptx
Computer Languages & its genearations.pptxComputer Languages & its genearations.pptx
Computer Languages & its genearations.pptx
Ritu Sachdeva
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languages
Tarun Sharma
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
kitturashmikittu
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGES
NoorHameed6
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
Buxoo Abdullah
 
lect1-introductiontoprogramminglanguages-130130013038-phpapp02.ppt
lect1-introductiontoprogramminglanguages-130130013038-phpapp02.pptlect1-introductiontoprogramminglanguages-130130013038-phpapp02.ppt
lect1-introductiontoprogramminglanguages-130130013038-phpapp02.ppt
abigailjudith8
 
all computer Programming Languages.pptx
all computer  Programming Languages.pptxall computer  Programming Languages.pptx
all computer Programming Languages.pptx
inamib
 

Recently uploaded (20)

Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil DisobediencePaper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
SPENT QUIZ NQL JR FEST 5.0 BY SOURAV.pptx
SPENT QUIZ NQL JR FEST 5.0 BY SOURAV.pptxSPENT QUIZ NQL JR FEST 5.0 BY SOURAV.pptx
SPENT QUIZ NQL JR FEST 5.0 BY SOURAV.pptx
Sourav Kr Podder
 
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptxRai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Dr. Ravi Shankar Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Pragya - UEM Kolkata Quiz Club
 
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptxAnalysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Shrutidhara2
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
Nice Dream.pdf /
Nice Dream.pdf                              /Nice Dream.pdf                              /
Nice Dream.pdf /
ErinUsher3
 
Final Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptxFinal Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptx
bobby205207
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
Quiz Club of PSG College of Arts & Science
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 EmployeesOverview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptxROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
Vikas Bansal Himachal Pradesh: A Visionary Transforming Himachal’s Educationa...
Vikas Bansal Himachal Pradesh: A Visionary Transforming Himachal’s Educationa...Vikas Bansal Himachal Pradesh: A Visionary Transforming Himachal’s Educationa...
Vikas Bansal Himachal Pradesh: A Visionary Transforming Himachal’s Educationa...
Himalayan Group of Professional Institutions (HGPI)
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptxWhat is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptxPEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
Arshad Shaikh
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive LearningSustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 SlidesHow to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil DisobediencePaper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
SPENT QUIZ NQL JR FEST 5.0 BY SOURAV.pptx
SPENT QUIZ NQL JR FEST 5.0 BY SOURAV.pptxSPENT QUIZ NQL JR FEST 5.0 BY SOURAV.pptx
SPENT QUIZ NQL JR FEST 5.0 BY SOURAV.pptx
Sourav Kr Podder
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
What are the benefits that dance brings?
What are the benefits that dance brings?What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Pragya - UEM Kolkata Quiz Club
 
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptxAnalysis of Quantitative Data Parametric and non-parametric tests.pptx
Analysis of Quantitative Data Parametric and non-parametric tests.pptx
Shrutidhara2
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
Nice Dream.pdf /
Nice Dream.pdf                              /Nice Dream.pdf                              /
Nice Dream.pdf /
ErinUsher3
 
Final Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptxFinal Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptx
bobby205207
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 EmployeesOverview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptxROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptxWhat is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptxPEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
Arshad Shaikh
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive LearningSustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 SlidesHow to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Ad

Software Engineering : Computer basics - Introduction to computer

  • 2. What does a Computer Program do?  A computer program is: – a set of instructions that tell a computer how to perform a particular task.
  • 3.  A programming language is a set of rules that provides a way of telling a computer what operations to perform.  Some programming languages are written for particular computing problems. For example,  FORTRAN for scientific applications  COBOL for business applications What is a Programming Language?
  • 4.  English is a natural language. It has words, symbols and grammatical rules.  A programming language also has words, symbols and rules of grammar.  The grammatical rules are called syntax.  Each programming language has a different set of syntax rules. Programming Language
  • 5. Types of Programming Languages High-Level Language class Triangle { ... float surface() return b*h/2; } Middle -Level Language LOAD r1,b LOAD r2,h MUL r1,r2 DIV r1,#2 RET Low-Level Language / Executable Machine code 0001001001000101001001 001110110010101101001. ..
  • 6.  Machine languages (first-generation languages) are the most basic type of computer languages, consisting of strings of numbers the computer's hardware can use.  Different types of hardware use different machine code.  For example, IBM computers use different machine language than Apple computers. Machine Languages
  • 7.  In machine languages, instructions are written as sequence of 1s and 0s, called bits, that a computer can understand directly.  It tells the computer,  Where to find one or two numbers or simple pieces of data in the main memory  To perform simple operations like add two numbers  Where in the main memory to put the result  Where to find the next instruction to perform Machine Languages
  • 8.  The only language that the computer understands is called binary or machine language.  Programs interact with the computer using machine language.  It’s difficult for humans to read or write so an intermediate language is used to get it translated into binary for us. Machine Languages
  • 9.  Assembly languages (second-generation languages) are only somewhat easier to work with than machine languages.  To create programs in assembly language, developers use cryptic English-like phrases to represent strings of numbers.  The code is then translated into object code, using a translator called an assembler. Assembly Languages
  • 11.  Closer to English but included simple mathematical notation.  Programs written in source code which must be translated into machine language programs called object code.  The programmer generates the source code.  The interpreter or compiler generates the object code (machine code) Higher-Level Languages
  • 12. Translating High Level Languages to Machine Code` Two ways to generate object code: • An interpreter translates the high-level instructions into machine code, line by line, as the program is running • A compiler translates the entire program into machine code before running the program
  • 13. • Third-generation languages • Fourth-generation languages • Fifth-generation languages  Higher-level programming languages are divided into three "generations," each more powerful than the last: Higher-Level Languages
  • 14. FORTAN C COBOL C++ BASIC Java Pascal ActiveX • Third-generation languages (3GLs) are the first to use true English-like phrasing, making them easier to use than previous languages. • 3GLs are portable, meaning the object code created for one type of system can be translated for use on a different type of system. • The following languages are 3GLs: Higher-Level Languages – Third-Generation Languages
  • 15. Visual Basic (VB) VisualAge Authoring environments • Fourth-generation languages (4GLs) are even easier to use than 3GLs. • 4GLs may use a text-based environment (like a 3GL) or may allow the programmer to work in a visual environment, using graphical tools. • The following languages are 4GLs: Higher-Level Languages - Fourth-Generation Languages
  • 16. • Fifth-generation languages (5GLs) are an issue of debate in the programming community – some programmers cannot agree that they even exist. • These high-level languages would use artificial intelligence to create software, making 5GLs extremely difficult to develop. • PROLOG – A language used to program Artificial Intelligence Higher-Level Languages - Fifth-Generation Languages
  • 17.  FORTRAN  FORmula TRANslation.  Developed by John Backus  Developed at IBM in the mid-1950s.  Designed for scientific and mathematical applications by scientists and engineers. Procedural Languages
  • 18.  COBOL  COmmon Business Oriented Language.  Developed in 1959.  Created by Grace Hopper  Designed to be common to many different computers.  Typically used for business applications. Procedural Languages
  • 19.  LISP  LISt Processing.  Developed in 1958.  Created by John McCarthy  First Functional Language Functional Language
  • 20.  BASIC  Beginner’s All-purpose Symbolic Instruction Code.  Developed at Dartmouth College in mid 1960s.  Developed as a simple language for students to write programs with which they could interact through terminals. Programming Languages
  • 21.  C  Developed by Bell Laboratories in the early 1970s.  Provides control and efficiency of assembly language while having third generation language features.  Often used for system programs.  UNIX is written in C. Programming Languages
  • 22.  SIMULA  First object-oriented language  Developed by Ole Johan Dahl in the 1960s.  SMALLTALK  First purely object-oriented language.  Developed by Xerox in mid-1970s.  Still in use on some computers. Object-Oriented Programming Languages
  • 23.  C++  It is C language with additional features.  Widely used for developing system and application software.  Graphical user interfaces can be developed easily with visual programming tools. Object-Oriented Programming Languages
  • 24.  JAVA  An object-oriented language similar to C++ that eliminates lots of C++’s problematic features  Allows a web page developer to create programs for applications, called applets that can be used through a browser.  Objective of JAVA developers is that it be machine, platform and operating system independent. Object-Oriented Programming Languages
  • 25. Chapter 3 (Questions)  What is program?  What is programming Language?  What are the different programming language generations?  What are the differences between HLL and LLL?  Explain computer language types with example.