SlideShare a Scribd company logo
Programming	
  languages	
  
•  Goal:	
  
– Need	
  a	
  way	
  to	
  describe	
  algorithmic	
  steps	
  such	
  
that	
  computer	
  can	
  use	
  them	
  to	
  execute	
  process	
  
– Programming	
  language	
  defines	
  syntax	
  and	
  
seman;cs	
  needed	
  to	
  translate	
  our	
  computa;onal	
  
ideas	
  into	
  mechanical	
  steps	
  
Op;ons	
  for	
  programming	
  languages	
  
Compiler	
   Object	
  code	
  
Source	
  code	
   Output	
  Interpreter	
  Checker	
  
Op;ons	
  for	
  programming	
  languages	
  
•  Low	
  level	
  language	
  uses	
  instruc;ons	
  similar	
  to	
  internal	
  
control	
  unit:	
  
–  Move	
  data	
  from	
  one	
  loca;on	
  to	
  another	
  
–  Execute	
  a	
  simple	
  ALU	
  opera;on	
  
–  Jump	
  to	
  new	
  point	
  in	
  sequence	
  based	
  on	
  test	
  
•  Checker	
  confirms	
  syntax,	
  sta;c	
  seman;cs	
  correct	
  
•  Interpreter	
  just	
  follows	
  sequence	
  of	
  simple	
  instruc;ons	
  
Source	
  code	
  
Low	
  level	
  
Output	
  Interpreter	
  Checker	
  
Op;ons	
  for	
  programming	
  languages	
  
•  A	
  high	
  level	
  language	
  uses	
  more	
  abstract	
  terms	
  –	
  
invert	
  a	
  matrix,	
  compute	
  a	
  func;on	
  
•  In	
  a	
  compiled	
  language,	
  those	
  abstrac;ons	
  are	
  
converted	
  back	
  into	
  low	
  level	
  instruc;ons,	
  then	
  
executed	
  
Compiler	
   Object	
  code	
  
Source	
  code	
  
High	
  level	
  
Output	
  Interpreter	
  Checker	
  
Op;ons	
  for	
  programming	
  languages	
  
•  In	
  an	
  interpreted	
  language,	
  special	
  program	
  
converts	
  source	
  code	
  to	
  internal	
  data	
  
structure,	
  then	
  interpreter	
  sequen;ally	
  
converts	
  each	
  step	
  into	
  low	
  level	
  machine	
  
instruc;on	
  and	
  executes	
  
•  We	
  are	
  going	
  to	
  use	
  Python,	
  which	
  belongs	
  to	
  
this	
  class	
  of	
  programming	
  languages	
  
Source	
  code	
  
High	
  level	
  	
  
Output	
  Interpreter	
  Checker	
  

More Related Content

PPTX
Caap presentation by me
PPTX
Valuable Information on Lexical Analysis in Compiler Design
PPTX
Compiler construction tools
PDF
Compiler Design Introduction
PDF
Algorithmic problem sloving
PPTX
Phases of Compiler
Caap presentation by me
Valuable Information on Lexical Analysis in Compiler Design
Compiler construction tools
Compiler Design Introduction
Algorithmic problem sloving
Phases of Compiler

What's hot (19)

PPTX
Program logic formulation
PPT
Logic Formulation 1
PPTX
Bootstrapping in Compiler
PPTX
Part II: Assembly Fundamentals
DOC
Compiler Design(NANTHU NOTES)
PPTX
INTRODUCTION TO C++, Chapter 1
PPTX
introduction to Programming Lecture 1
PPTX
Compiler lecture 01
PPTX
C program execution and algorithm
PPT
Passes of compilers
PPTX
Programming Paradigms
PPTX
Software Development (Mobile Technology)
PPT
COMPUTER PROGRAMMING
PPTX
Variable Scope
PPTX
Binary translation
PPT
Introduction to programming principles languages
PPTX
Algorithms and flow charts
PPTX
Sub-programs
PPT
Program Logic Formulation - Ohio State University
Program logic formulation
Logic Formulation 1
Bootstrapping in Compiler
Part II: Assembly Fundamentals
Compiler Design(NANTHU NOTES)
INTRODUCTION TO C++, Chapter 1
introduction to Programming Lecture 1
Compiler lecture 01
C program execution and algorithm
Passes of compilers
Programming Paradigms
Software Development (Mobile Technology)
COMPUTER PROGRAMMING
Variable Scope
Binary translation
Introduction to programming principles languages
Algorithms and flow charts
Sub-programs
Program Logic Formulation - Ohio State University
Ad

Viewers also liked (15)

PPTX
Ndu06 typesof language
PPTX
Programming languages
PPTX
FIT-Unit3 chapter2- Computer Languages
PPT
228-8 /231-9
PPTX
generation of programming language
PPTX
Generations of programming_language.kum_ari11-1-1-1
PPT
Programming languages
PPTX
Programming languages of computer
PPTX
Programming Languages / Translators
PPT
The Role Of Ontology In Modern Expert Systems Dallas 2008
PPTX
Programming language
PPTX
What is computer 1
PPTX
Plc (programming)
PPT
Programming languages
PPT
Lect 1. introduction to programming languages
Ndu06 typesof language
Programming languages
FIT-Unit3 chapter2- Computer Languages
228-8 /231-9
generation of programming language
Generations of programming_language.kum_ari11-1-1-1
Programming languages
Programming languages of computer
Programming Languages / Translators
The Role Of Ontology In Modern Expert Systems Dallas 2008
Programming language
What is computer 1
Plc (programming)
Programming languages
Lect 1. introduction to programming languages
Ad

Similar to Lecture2 1 types of programming languages (20)

PPTX
Compiler Design Introduction With Design
PPTX
Compiler Design Introduction
PDF
Lecture 01 introduction to compiler
PPTX
week 2 - INTRO TO PROGRAMMING.pptx
PPT
introduction computer programming languages
PPT
Language translator
PPTX
Computer Science guide to C Unit-I Translator.pptx
PPTX
Compiler an overview
PPT
Introduction to compiler
PPTX
Pros and cons of c as a compiler language
PPTX
Programming Fundamentals Chapter-1.pptx
PPTX
CD module 1.pptx Introduction to compiler Design
PDF
Running a Program.pdf
PDF
Module4.pdf ,...................................
PPTX
Unit 1 part1 Introduction of Compiler Design.pptx
PPT
introduction to computer programming and its examples
PPT
presentation of Programing fundamental.
PPT
Introduction Computer programming and operating system
PPTX
computer programming and hardware technique
PPTX
Embedded c c++ programming fundamentals master
Compiler Design Introduction With Design
Compiler Design Introduction
Lecture 01 introduction to compiler
week 2 - INTRO TO PROGRAMMING.pptx
introduction computer programming languages
Language translator
Computer Science guide to C Unit-I Translator.pptx
Compiler an overview
Introduction to compiler
Pros and cons of c as a compiler language
Programming Fundamentals Chapter-1.pptx
CD module 1.pptx Introduction to compiler Design
Running a Program.pdf
Module4.pdf ,...................................
Unit 1 part1 Introduction of Compiler Design.pptx
introduction to computer programming and its examples
presentation of Programing fundamental.
Introduction Computer programming and operating system
computer programming and hardware technique
Embedded c c++ programming fundamentals master

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
KodekX | Application Modernization Development
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
20250228 LYD VKU AI Blended-Learning.pptx
KodekX | Application Modernization Development
Programs and apps: productivity, graphics, security and other tools
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Building Integrated photovoltaic BIPV_UPV.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Spectral efficient network and resource selection model in 5G networks
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Advanced methodologies resolving dimensionality complications for autism neur...
MYSQL Presentation for SQL database connectivity
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Understanding_Digital_Forensics_Presentation.pptx

Lecture2 1 types of programming languages

  • 1. Programming  languages   •  Goal:   – Need  a  way  to  describe  algorithmic  steps  such   that  computer  can  use  them  to  execute  process   – Programming  language  defines  syntax  and   seman;cs  needed  to  translate  our  computa;onal   ideas  into  mechanical  steps  
  • 2. Op;ons  for  programming  languages   Compiler   Object  code   Source  code   Output  Interpreter  Checker  
  • 3. Op;ons  for  programming  languages   •  Low  level  language  uses  instruc;ons  similar  to  internal   control  unit:   –  Move  data  from  one  loca;on  to  another   –  Execute  a  simple  ALU  opera;on   –  Jump  to  new  point  in  sequence  based  on  test   •  Checker  confirms  syntax,  sta;c  seman;cs  correct   •  Interpreter  just  follows  sequence  of  simple  instruc;ons   Source  code   Low  level   Output  Interpreter  Checker  
  • 4. Op;ons  for  programming  languages   •  A  high  level  language  uses  more  abstract  terms  –   invert  a  matrix,  compute  a  func;on   •  In  a  compiled  language,  those  abstrac;ons  are   converted  back  into  low  level  instruc;ons,  then   executed   Compiler   Object  code   Source  code   High  level   Output  Interpreter  Checker  
  • 5. Op;ons  for  programming  languages   •  In  an  interpreted  language,  special  program   converts  source  code  to  internal  data   structure,  then  interpreter  sequen;ally   converts  each  step  into  low  level  machine   instruc;on  and  executes   •  We  are  going  to  use  Python,  which  belongs  to   this  class  of  programming  languages   Source  code   High  level     Output  Interpreter  Checker