SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
www.eshikshak.co.in




www.eshikshak.co.in
● Computer programming is the process of
  creating software through the use of logic,
  algorithms, and programming language
● Programmers use a program code to make
  software
● Program code : a set of instructions that
  signal the CPU to perform circuit witching
  operations




              www.eshikshak.co.in
● A language designed for writing system
  software
● It offers more direct access to the physical
  hardware of the machine
● System Software : Operating System,
  Language Processor & System Utilities
● Major System Programming Languages
   ○ C, C++, ESPOL, PL/I, BLISS




               www.eshikshak.co.in
● A language designed for writing application
  software
● Application Software : Payroll system,
  Inventory System, Attendance System etc.
● Major Application Programming Languages
   ○ C, C++, VB.NET, Java, etc.




              www.eshikshak.co.in
● Procedural Programming
  Languages
● Procedural programming specifies a list of operations that the program
  must complete to reach the desired state.
● Each program has a starting state, a list of operations to complete, and
  an ending point. This approach is also known as imperative
  programming.
● Integral to the idea of procedural programming is the concept of a
  procedure call. Procedures, also known as functions, subroutines, or
  methods, are small sections of code that perform a particular function.
● Procedural programming can be compared to unstructured programming,
  where all of the code resides in a single large block.
● It splits the programmatic tasks into small pieces, procedural
  programming allows a section of code to be re-used in the program
  without making multiple copies.
● It also makes it easier for programmers to understand and maintain
  program structure.
● Two of the most popular procedural programming languages are
  FORTRAN and BASIC.
                      www.eshikshak.co.in
● Structured Programming
  Languages
● Structured programming is a special type of procedural
  programming. It provides additional tools to manage the
  problems that larger programs were creating.
● Structured programming requires that programmers break
  program structure into small pieces of code that are easily
  understood.
● It also frowns upon the use of global variables and instead
  uses variables local to each subroutine.
● One of the well known features of structural programming is
  that it does not allow the use of the GOTO statement. It is
  often associated with a “top-down” approach to design.
● The most popular structured programming languages include
  C, Ada, and Pascal.

                  www.eshikshak.co.in
● Object-Oriented Programming
  Languages
● Object-oriented programming is one the newest and
  most powerful paradigms.
● In object oriented programs, the designer specifies both
  the data structures and the types of operations that can
  be applied to those data structures.
● This pairing of a piece of data with the operations that
  can be performed on it is known as an object.
● A program thus becomes a collection of cooperating
  objects, rather than a list of instructions.
● Objects can store state information and interact with
  other objects, but generally each object has a distinct,
  limited role.

                 www.eshikshak.co.in
● Low Level Programming Language
  ○ Machine Language
  ○ Assembly Language
● High Level Programming Language




           www.eshikshak.co.in
● Low Level       Machine Language
● Computer understand only a language that is
  known as “Machine Language”
● It consists of set of instructions in form of ‘1s’
  and ‘0s’
● Example of Machine Instruction
    ○ 1110001110000
● It is difficult for human to read and write machine
  language




                 www.eshikshak.co.in
● i) It makes fast and efficient use of the
  computer.
● ii) It requires no translator to translate the
  code i.e.Directly understood by the computer




              www.eshikshak.co.in
● i) All operation codes have to be
  remembered
● ii) All memory addresses have to be
  remembered.
● iii) It is hard to amend or find errors in a
  program written
● In the machine language
● iv) These languages are machine dependent
  i.e. a particular
● Machine language can be used on only one
  type of computer


              www.eshikshak.co.in
● Inconveniences of machine language.
● Assembly language in which operation codes
  and operands are given in the form of
  alphanumeric symbols instead of 0’s and l’s.
● These alphanumeric symbols will be known as
  mnemonic codes and can have maximum up to
  5 letter combination
   ○ e.g. ADD for addition, SUB for subtraction, START,
     LABEL etc.
● Because of this feature it is also known as
  ‘Symbolic Programming Language’. This
  language is also very difficult and needs a lot of
  practice to master it because very small

                www.eshikshak.co.in
● Advantages of Assembly Language
     i) It is easier to understand and use as
     compared to machine language.
     ii)It is easy to locate and correct errors.
iii) It is modified easily
  ● Disadvantages of Assembly Language
     i) Like machine language it is also machine
     dependent.
     ii) Knowledge of hardware required




                www.eshikshak.co.in
● High level computer languages give formats
  close to English language and the purpose of
  developing.
● It enables people to write programs easily and in
  their own native language environment
  (English).
● High-level languages are basically symbolic
  languages that use English words and/or
  mathematical symbols rather than mnemonic
  codes.
● Each instruction in the high level language is
  translated into many machine language
  instructions thus showing one-to-many
  translation
               www.eshikshak.co.in
● Readablity
● Portability
● Easy Debugging
● Easy Software Development




            www.eshikshak.co.in

Mais conteúdo relacionado

Mais procurados

Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
salmankhan570
 
Principles of-programming-languages-lecture-notes-
Principles of-programming-languages-lecture-notes-Principles of-programming-languages-lecture-notes-
Principles of-programming-languages-lecture-notes-
Krishna Sai
 
Programming language design and implemenation
Programming language design and implemenationProgramming language design and implemenation
Programming language design and implemenation
Ashwini Awatare
 
Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language concept
Afiq Sajuri
 
La 5 Programming2
La 5   Programming2La 5   Programming2
La 5 Programming2
Cma Mohd
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
NIKANOR THOMAS
 

Mais procurados (20)

Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Computer programming concepts
Computer programming conceptsComputer programming concepts
Computer programming concepts
 
Interfacing With High Level Programming Language
Interfacing With High Level Programming Language Interfacing With High Level Programming Language
Interfacing With High Level Programming Language
 
Development of computer languages
Development of computer languagesDevelopment of computer languages
Development of computer languages
 
Principles of-programming-languages-lecture-notes-
Principles of-programming-languages-lecture-notes-Principles of-programming-languages-lecture-notes-
Principles of-programming-languages-lecture-notes-
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Programming landuages
Programming landuagesProgramming landuages
Programming landuages
 
Programming language design and implemenation
Programming language design and implemenationProgramming language design and implemenation
Programming language design and implemenation
 
Computer Languages
Computer Languages Computer Languages
Computer Languages
 
Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language concept
 
Programming languages and paradigms
Programming languages and paradigmsProgramming languages and paradigms
Programming languages and paradigms
 
La 5 Programming2
La 5   Programming2La 5   Programming2
La 5 Programming2
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
English de lenguaje de programacion
English de lenguaje de programacionEnglish de lenguaje de programacion
English de lenguaje de programacion
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
Evolution and History of Programming Languages - Software/Hardware/System
Evolution and History of Programming Languages - Software/Hardware/SystemEvolution and History of Programming Languages - Software/Hardware/System
Evolution and History of Programming Languages - Software/Hardware/System
 
Assembly and Machine Code
Assembly and Machine CodeAssembly and Machine Code
Assembly and Machine Code
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
 

Destaque

Introduction to css
Introduction to cssIntroduction to css
Introduction to css
eShikshak
 
Introduction to computer_and_its_structure
Introduction to computer_and_its_structureIntroduction to computer_and_its_structure
Introduction to computer_and_its_structure
eShikshak
 
Lecturer23 pointersin c.ppt
Lecturer23 pointersin c.pptLecturer23 pointersin c.ppt
Lecturer23 pointersin c.ppt
eShikshak
 
Lecture7relationalandlogicaloperators 110823181038-phpapp02
Lecture7relationalandlogicaloperators 110823181038-phpapp02Lecture7relationalandlogicaloperators 110823181038-phpapp02
Lecture7relationalandlogicaloperators 110823181038-phpapp02
eShikshak
 
Lecture19 unionsin c.ppt
Lecture19 unionsin c.pptLecture19 unionsin c.ppt
Lecture19 unionsin c.ppt
eShikshak
 
Control Structures in Visual Basic
Control Structures in  Visual BasicControl Structures in  Visual Basic
Control Structures in Visual Basic
Tushar Jain
 
Language processors
Language processorsLanguage processors
Language processors
eShikshak
 

Destaque (20)

Unit 1.4 working of cloud computing
Unit 1.4 working of cloud computingUnit 1.4 working of cloud computing
Unit 1.4 working of cloud computing
 
Lecture 11 css_inculsion
Lecture 11 css_inculsionLecture 11 css_inculsion
Lecture 11 css_inculsion
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Introduction to computer_and_its_structure
Introduction to computer_and_its_structureIntroduction to computer_and_its_structure
Introduction to computer_and_its_structure
 
Lecture 12 css_fonts
Lecture 12 css_fontsLecture 12 css_fonts
Lecture 12 css_fonts
 
Program development cyle
Program development cyleProgram development cyle
Program development cyle
 
Lecturer23 pointersin c.ppt
Lecturer23 pointersin c.pptLecturer23 pointersin c.ppt
Lecturer23 pointersin c.ppt
 
Lecture7relationalandlogicaloperators 110823181038-phpapp02
Lecture7relationalandlogicaloperators 110823181038-phpapp02Lecture7relationalandlogicaloperators 110823181038-phpapp02
Lecture7relationalandlogicaloperators 110823181038-phpapp02
 
Unit 1.3 types of cloud
Unit 1.3 types of cloudUnit 1.3 types of cloud
Unit 1.3 types of cloud
 
Mesics lecture 8 arrays in 'c'
Mesics lecture 8   arrays in 'c'Mesics lecture 8   arrays in 'c'
Mesics lecture 8 arrays in 'c'
 
Unit 1.1 introduction to cloud computing
Unit 1.1   introduction to cloud computingUnit 1.1   introduction to cloud computing
Unit 1.1 introduction to cloud computing
 
Unit 1.2 move to cloud computing
Unit 1.2   move to cloud computingUnit 1.2   move to cloud computing
Unit 1.2 move to cloud computing
 
Lecture19 unionsin c.ppt
Lecture19 unionsin c.pptLecture19 unionsin c.ppt
Lecture19 unionsin c.ppt
 
Introduction to multimedia
Introduction to multimediaIntroduction to multimedia
Introduction to multimedia
 
Lecture13 control statementswitch.ppt
Lecture13 control statementswitch.pptLecture13 control statementswitch.ppt
Lecture13 control statementswitch.ppt
 
Html forms
Html formsHtml forms
Html forms
 
Control Structures in Visual Basic
Control Structures in  Visual BasicControl Structures in  Visual Basic
Control Structures in Visual Basic
 
The Pervert's Guide to Computer Programming Languages
The Pervert's Guide to Computer Programming LanguagesThe Pervert's Guide to Computer Programming Languages
The Pervert's Guide to Computer Programming Languages
 
Language processors
Language processorsLanguage processors
Language processors
 
Satyapriya rajguru: Every day, in one way or another.
Satyapriya  rajguru:  Every day, in one way or another.Satyapriya  rajguru:  Every day, in one way or another.
Satyapriya rajguru: Every day, in one way or another.
 

Semelhante a Computer programming programming_langugages

Computer programming
Computer programmingComputer programming
Computer programming
Suneel Dogra
 
Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
crAmth
 

Semelhante a Computer programming programming_langugages (20)

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
 
Program Logic and Design
Program Logic and DesignProgram Logic and Design
Program Logic and Design
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
Computer programing 111 lecture 1
Computer programing 111 lecture 1 Computer programing 111 lecture 1
Computer programing 111 lecture 1
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Programming language
Programming languageProgramming language
Programming language
 
Programming languages
Programming languages Programming languages
Programming languages
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptx
 
PROG0101_CH02.pptx
PROG0101_CH02.pptxPROG0101_CH02.pptx
PROG0101_CH02.pptx
 
Presentation-1.pptx
Presentation-1.pptxPresentation-1.pptx
Presentation-1.pptx
 
Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
 
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
 
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
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 

Mais de eShikshak

Mesics lecture 4 c operators and experssions
Mesics lecture  4   c operators and experssionsMesics lecture  4   c operators and experssions
Mesics lecture 4 c operators and experssions
eShikshak
 
Mesics lecture 5 input – output in ‘c’
Mesics lecture 5   input – output in ‘c’Mesics lecture 5   input – output in ‘c’
Mesics lecture 5 input – output in ‘c’
eShikshak
 

Mais de eShikshak (19)

Modelling and evaluation
Modelling and evaluationModelling and evaluation
Modelling and evaluation
 
Operators in python
Operators in pythonOperators in python
Operators in python
 
Datatypes in python
Datatypes in pythonDatatypes in python
Datatypes in python
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Introduction to e commerce
Introduction to e commerceIntroduction to e commerce
Introduction to e commerce
 
Chapeter 2 introduction to cloud computing
Chapeter 2   introduction to cloud computingChapeter 2   introduction to cloud computing
Chapeter 2 introduction to cloud computing
 
Mesics lecture files in 'c'
Mesics lecture   files in 'c'Mesics lecture   files in 'c'
Mesics lecture files in 'c'
 
Mesics lecture 7 iteration and repetitive executions
Mesics lecture 7   iteration and repetitive executionsMesics lecture 7   iteration and repetitive executions
Mesics lecture 7 iteration and repetitive executions
 
Mesics lecture 5 input – output in ‘c’
Mesics lecture 5   input – output in ‘c’Mesics lecture 5   input – output in ‘c’
Mesics lecture 5 input – output in ‘c’
 
Mesics lecture 6 control statement = if -else if__else
Mesics lecture 6   control statement = if -else if__elseMesics lecture 6   control statement = if -else if__else
Mesics lecture 6 control statement = if -else if__else
 
Mesics lecture 4 c operators and experssions
Mesics lecture  4   c operators and experssionsMesics lecture  4   c operators and experssions
Mesics lecture 4 c operators and experssions
 
Mesics lecture 5 input – output in ‘c’
Mesics lecture 5   input – output in ‘c’Mesics lecture 5   input – output in ‘c’
Mesics lecture 5 input – output in ‘c’
 
Mesics lecture 3 c – constants and variables
Mesics lecture 3   c – constants and variablesMesics lecture 3   c – constants and variables
Mesics lecture 3 c – constants and variables
 
Lecture 7 relational_and_logical_operators
Lecture 7 relational_and_logical_operatorsLecture 7 relational_and_logical_operators
Lecture 7 relational_and_logical_operators
 
Lecture21 categoriesof userdefinedfunctions.ppt
Lecture21 categoriesof userdefinedfunctions.pptLecture21 categoriesof userdefinedfunctions.ppt
Lecture21 categoriesof userdefinedfunctions.ppt
 
Lecture20 user definedfunctions.ppt
Lecture20 user definedfunctions.pptLecture20 user definedfunctions.ppt
Lecture20 user definedfunctions.ppt
 
Lecture18 structurein c.ppt
Lecture18 structurein c.pptLecture18 structurein c.ppt
Lecture18 structurein c.ppt
 
Lecture17 arrays.ppt
Lecture17 arrays.pptLecture17 arrays.ppt
Lecture17 arrays.ppt
 
Lecture15 comparisonoftheloopcontrolstructures.ppt
Lecture15 comparisonoftheloopcontrolstructures.pptLecture15 comparisonoftheloopcontrolstructures.ppt
Lecture15 comparisonoftheloopcontrolstructures.ppt
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Computer programming programming_langugages

  • 2. ● Computer programming is the process of creating software through the use of logic, algorithms, and programming language ● Programmers use a program code to make software ● Program code : a set of instructions that signal the CPU to perform circuit witching operations www.eshikshak.co.in
  • 3. ● A language designed for writing system software ● It offers more direct access to the physical hardware of the machine ● System Software : Operating System, Language Processor & System Utilities ● Major System Programming Languages ○ C, C++, ESPOL, PL/I, BLISS www.eshikshak.co.in
  • 4. ● A language designed for writing application software ● Application Software : Payroll system, Inventory System, Attendance System etc. ● Major Application Programming Languages ○ C, C++, VB.NET, Java, etc. www.eshikshak.co.in
  • 5. ● Procedural Programming Languages ● Procedural programming specifies a list of operations that the program must complete to reach the desired state. ● Each program has a starting state, a list of operations to complete, and an ending point. This approach is also known as imperative programming. ● Integral to the idea of procedural programming is the concept of a procedure call. Procedures, also known as functions, subroutines, or methods, are small sections of code that perform a particular function. ● Procedural programming can be compared to unstructured programming, where all of the code resides in a single large block. ● It splits the programmatic tasks into small pieces, procedural programming allows a section of code to be re-used in the program without making multiple copies. ● It also makes it easier for programmers to understand and maintain program structure. ● Two of the most popular procedural programming languages are FORTRAN and BASIC. www.eshikshak.co.in
  • 6. ● Structured Programming Languages ● Structured programming is a special type of procedural programming. It provides additional tools to manage the problems that larger programs were creating. ● Structured programming requires that programmers break program structure into small pieces of code that are easily understood. ● It also frowns upon the use of global variables and instead uses variables local to each subroutine. ● One of the well known features of structural programming is that it does not allow the use of the GOTO statement. It is often associated with a “top-down” approach to design. ● The most popular structured programming languages include C, Ada, and Pascal. www.eshikshak.co.in
  • 7. ● Object-Oriented Programming Languages ● Object-oriented programming is one the newest and most powerful paradigms. ● In object oriented programs, the designer specifies both the data structures and the types of operations that can be applied to those data structures. ● This pairing of a piece of data with the operations that can be performed on it is known as an object. ● A program thus becomes a collection of cooperating objects, rather than a list of instructions. ● Objects can store state information and interact with other objects, but generally each object has a distinct, limited role. www.eshikshak.co.in
  • 8. ● Low Level Programming Language ○ Machine Language ○ Assembly Language ● High Level Programming Language www.eshikshak.co.in
  • 9. ● Low Level Machine Language ● Computer understand only a language that is known as “Machine Language” ● It consists of set of instructions in form of ‘1s’ and ‘0s’ ● Example of Machine Instruction ○ 1110001110000 ● It is difficult for human to read and write machine language www.eshikshak.co.in
  • 10. ● i) It makes fast and efficient use of the computer. ● ii) It requires no translator to translate the code i.e.Directly understood by the computer www.eshikshak.co.in
  • 11. ● i) All operation codes have to be remembered ● ii) All memory addresses have to be remembered. ● iii) It is hard to amend or find errors in a program written ● In the machine language ● iv) These languages are machine dependent i.e. a particular ● Machine language can be used on only one type of computer www.eshikshak.co.in
  • 12. ● Inconveniences of machine language. ● Assembly language in which operation codes and operands are given in the form of alphanumeric symbols instead of 0’s and l’s. ● These alphanumeric symbols will be known as mnemonic codes and can have maximum up to 5 letter combination ○ e.g. ADD for addition, SUB for subtraction, START, LABEL etc. ● Because of this feature it is also known as ‘Symbolic Programming Language’. This language is also very difficult and needs a lot of practice to master it because very small www.eshikshak.co.in
  • 13. ● Advantages of Assembly Language i) It is easier to understand and use as compared to machine language. ii)It is easy to locate and correct errors. iii) It is modified easily ● Disadvantages of Assembly Language i) Like machine language it is also machine dependent. ii) Knowledge of hardware required www.eshikshak.co.in
  • 14. ● High level computer languages give formats close to English language and the purpose of developing. ● It enables people to write programs easily and in their own native language environment (English). ● High-level languages are basically symbolic languages that use English words and/or mathematical symbols rather than mnemonic codes. ● Each instruction in the high level language is translated into many machine language instructions thus showing one-to-many translation www.eshikshak.co.in
  • 15. ● Readablity ● Portability ● Easy Debugging ● Easy Software Development www.eshikshak.co.in