SlideShare a Scribd company logo
1 of 29
Prepared by: 
URVISH PATEL 
NISARG AMIN
2 
Programming Languages 
• Programming languages specially developed so 
that you could pass your data and instructions 
to the computer to do specific job. 
• There are two major types of programming 
languages, Low Level Languages and High 
Level Languages. 
• Low Level languages are further divided in to 
Machine language and Assembly language. 
• High Level Languages are, for scientific 
application FORTRAN and C languages are 
used. On the other hand COBOL is used for 
business applications.
3 
Machine Language 
• Machine Language is the only language 
that is directly understood by the computer. 
It does not needs any translator program 
• The only advantage is that program of 
machine language run very fast
4 
Assembly Language 
• It is the first step to improve the 
programming structure. You should know 
that computer can handle numbers and letter. 
• The set of symbols and letters forms the 
Assembly Language and a translator program 
is required to translate the Assembly 
Language to machine language 
• This translator program is called `Assembler
Advantages: 
• Assembly Language is easier to understand 
and saves a lot of time and effort. 
• It is easier to correct errors and modify 
program instructions. 
• Assembly Language has the same efficiency of 
execution as the machine level language 
Disadvantages: 
• Assembly language is machine dependent. A 
program written for one computer might not 
run in other computers with different hardware 
configuration. 
5
6 
HIGH LEVEL LANGUAGES 
• Assembly and machine level languages 
require deep knowledge of computer 
hardware where as in higher language you 
have to know only the instructions in English 
words and logic of the problem. 
• Higher level languages are simple languages 
that use English and mathematical symbols 
like +, -, %, / etc. for its program 
construction
• Any higher level language has to be converted 
to machine language for the computer to 
understand. 
• For example COBOL (Common Business 
Oriented Language), FORTRAN (Formula 
Translation) and BASIC (Beginners All-purpose 
Symbolic Instruction Code) are high level 
languages. 
Advantages of High Level Languages 
• Higher level languages have a major advantage 
over machine and assembly languages that 
higher level languages are easy to learn and use 
(similar to the languages used by us in our day 
to day life. 
7
Algorithms 
ALGORITHM: It is an ordered set of unambiguous 
steps that produces a result and terminates in a finite 
time.
BASIC ALGORITHMS 
Basic algorithms: 
– Summation 
– Product 
– Sorting 
– Searching
ALGORITHM REPRESENTATION 
FLOWCHART: 
-- A flowchart is a pictorial representation of an 
algorithm. 
-- It graphically depicts the logical steps to carry 
out a task and show how the steps relate to 
each other.
Example: Write an algorithm that finds 
the average of two numbers. 
Solution 
Steps: 
1. Input: Two numbers 
2. Add the two numbers 
3. Divide the result by 2 
4. Return the result by step 2 
5. End
12 
Flowchart symbols
13
14 
Examples of Flowcharts 
1)
15 
Sequence Flowchart 
2)
16 
Decision flow chart 
3)
17 
Looping flow chart
18 
Flowchart
19 
Tips and tricks of flowcharts 
 Flowcharts are time-consuming to write and difficult 
to update 
 For this reason, professional programmers are more 
likely to favor pseudocode and hierarchy charts 
 Because flowcharts so clearly illustrate the logical 
flow of programming techniques, they are a valuable 
tool in the education of programmers
20 
COMPILER 
• Compiler :It is a program translator 
that translates the instruction of a 
higher level language to machine 
language. 
• It is called compiler because it 
compiles machine language 
instructions for every program 
instructions of higher level language.
21 
• Thus compiler is a program translator like 
assembler but more sophisticated. It scans 
the entire program first and then translates 
it into machine code. 
The programs written by the programmer in 
higher level language is called source 
program. After this program is converted 
to machine languages by the compiler it is 
called object program 
A compiler can translate only those source 
programs, which have been written, in that 
language
22 
INTERPRETER 
• An interpreter is another type of program 
translator used for translating higher level 
language into machine language. 
• It takes one statement of higher level 
languages, translate it into machine language 
and immediately execute it. 
• Translation and execution are carried out for 
each statement. 
• It differs from compiler, which translate the 
entire source program into machine code.
• The advantage of interpreter compared to 
compiler is its fast response to changes in 
source program 
• Does not require large memory in computer. 
• The disadvantage of interpreter is that it is 
time consuming method because each time a 
statement in a program is executed then it is 
first translated. 
• Thus compiled machine language program 
runs much faster than an interpreted 
program. 
23
24 
LANGUAGE/ 
SOFTWARE
25 
SOFTWARE 
Software refers to the set of computer 
programs, which are used in applications and 
operating systems. 
• It is the collection of programs, which 
increase the capabilities of the hardware. 
• Software guides the computer at every step 
where to start and stop during a particular 
job. 
• The process of software development is 
called programming.
26 
TYPES OF SOFTWARE 
 Application Software : 
• Application Software is a set of programs 
for a specific application. 
• Application software is useful for word 
processing, accounting, producing 
statistical report, Graphics, Excel and 
Data Base. 
• programming languages COBOL, 
FORTRAN, C++, VB, VC, Java
 System Software: 
When you switch on the computer the programs 
written in ROM is executed which activates 
different units of your computer and makes it 
ready for you to work. 
• This set of programs can be called system 
software. 
• System software are general programs designed 
for performing tasks such as controlling all 
operations required to move data into and out 
of the computer 
• System Software allows application packages to 
be run on the computer. 
27
28 
• Computer manufactures build and supply 
this system software with the computer 
system. 
• DOS, UNIX and WINDOWS are some of 
the widely used operating system software. 
• Out of these UNIX is a multi-user 
operating system whereas DOS and 
WINDOWS are PC-based. 
• We will discuss in details DOS and 
WINDOWS in the next section.
THANK YOU

More Related Content

What's hot

pseudocode and Flowchart
pseudocode and Flowchartpseudocode and Flowchart
pseudocode and FlowchartALI RAZA
 
Programming language
Programming languageProgramming language
Programming languageShuja Qais
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1lakshmi kumari neelapu
 
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi Professor Lili Saghafi
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language adnan usmani
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming LanguagesJuhi Bhoyar
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programmingNSU-Biliran Campus
 
Programming language
Programming languageProgramming language
Programming languageRajThakuri
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and FlowchartsSURBHI SAROHA
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSCOMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSsonalikharade3
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreterParas Patel
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languagespy7rjs
 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Md Hossen
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer languageSwarnima Tiwari
 
Programming Paradigms
Programming ParadigmsProgramming Paradigms
Programming ParadigmsDirecti Group
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languageseducationfront
 

What's hot (20)

Prgramming paradigms
Prgramming paradigmsPrgramming paradigms
Prgramming paradigms
 
pseudocode and Flowchart
pseudocode and Flowchartpseudocode and Flowchart
pseudocode and Flowchart
 
System programming
System programmingSystem programming
System programming
 
Qbasic
QbasicQbasic
Qbasic
 
Programming language
Programming languageProgramming language
Programming language
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1
 
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Programming language
Programming languageProgramming language
Programming language
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and Flowcharts
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONSCOMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONS
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer language
 
What is Compiler?
What is Compiler?What is Compiler?
What is Compiler?
 
Programming Paradigms
Programming ParadigmsProgramming Paradigms
Programming Paradigms
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
 

Viewers also liked

Viewers also liked (20)

optimization of DFA
optimization of DFAoptimization of DFA
optimization of DFA
 
Dfa vs nfa
Dfa vs nfaDfa vs nfa
Dfa vs nfa
 
Minimization of DFA
Minimization of DFAMinimization of DFA
Minimization of DFA
 
Lexical Analysis
Lexical AnalysisLexical Analysis
Lexical Analysis
 
Optimization of dfa
Optimization of dfaOptimization of dfa
Optimization of dfa
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
Bottom - Up Parsing
Bottom - Up ParsingBottom - Up Parsing
Bottom - Up Parsing
 
Lexical analysis - Compiler Design
Lexical analysis - Compiler DesignLexical analysis - Compiler Design
Lexical analysis - Compiler Design
 
NFA to DFA
NFA to DFANFA to DFA
NFA to DFA
 
DFA Minimization
DFA MinimizationDFA Minimization
DFA Minimization
 
Nfa vs dfa
Nfa vs dfaNfa vs dfa
Nfa vs dfa
 
Compiler Chapter 1
Compiler Chapter 1Compiler Chapter 1
Compiler Chapter 1
 
NFA or Non deterministic finite automata
NFA or Non deterministic finite automataNFA or Non deterministic finite automata
NFA or Non deterministic finite automata
 
Intermediate code- generation
Intermediate code- generationIntermediate code- generation
Intermediate code- generation
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
 
Lexical analyzer
Lexical analyzerLexical analyzer
Lexical analyzer
 
Language translator
Language translatorLanguage translator
Language translator
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Intermediate code generation
Intermediate code generationIntermediate code generation
Intermediate code generation
 
Lexical analyzer
Lexical analyzerLexical analyzer
Lexical analyzer
 

Similar to Programming languages,compiler,interpreter,softwares

Similar to Programming languages,compiler,interpreter,softwares (20)

Lesson 2.pptx
Lesson 2.pptxLesson 2.pptx
Lesson 2.pptx
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 
Program Logic and Design
Program Logic and DesignProgram Logic and Design
Program Logic and Design
 
Language processors
Language processorsLanguage processors
Language processors
 
Unit 2
Unit 2Unit 2
Unit 2
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
Interaction With Computers FIT
Interaction With Computers FITInteraction With Computers FIT
Interaction With Computers FIT
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
 
Computer language
Computer languageComputer language
Computer language
 
Basic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptxBasic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptx
 
Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
 
week 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptxweek 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptx
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptx
 
C++ programming languages lectures
C++ programming languages lectures C++ programming languages lectures
C++ programming languages lectures
 
a1.pptx.pdf
a1.pptx.pdfa1.pptx.pdf
a1.pptx.pdf
 

More from Nisarg Amin

Goods & services tax (gst)
Goods & services tax (gst)Goods & services tax (gst)
Goods & services tax (gst)Nisarg Amin
 
Power system earthing
Power system earthingPower system earthing
Power system earthingNisarg Amin
 
Improving boiler availability
Improving boiler availabilityImproving boiler availability
Improving boiler availabilityNisarg Amin
 
Types of welding
Types of weldingTypes of welding
Types of weldingNisarg Amin
 
Symmetrical component method for 3 phase power representation
Symmetrical component method for 3 phase power representationSymmetrical component method for 3 phase power representation
Symmetrical component method for 3 phase power representationNisarg Amin
 
Single phase full bridge inverter
Single phase full bridge inverterSingle phase full bridge inverter
Single phase full bridge inverterNisarg Amin
 
Flowchart for optimal design of dc machine and transfomer
Flowchart for optimal design of dc machine and transfomerFlowchart for optimal design of dc machine and transfomer
Flowchart for optimal design of dc machine and transfomerNisarg Amin
 
Design of commutator and brush
Design of commutator and brushDesign of commutator and brush
Design of commutator and brushNisarg Amin
 
Typical a.c. supply system
Typical a.c. supply systemTypical a.c. supply system
Typical a.c. supply systemNisarg Amin
 
Servomechanism in Control systems engineering
Servomechanism in Control systems engineeringServomechanism in Control systems engineering
Servomechanism in Control systems engineeringNisarg Amin
 
Dynamic characteristics of thyristor
Dynamic characteristics of thyristorDynamic characteristics of thyristor
Dynamic characteristics of thyristorNisarg Amin
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devicesNisarg Amin
 
Design of field regulators for dc shunt generators
Design of field regulators   for dc shunt generatorsDesign of field regulators   for dc shunt generators
Design of field regulators for dc shunt generatorsNisarg Amin
 
Firewall and its types and function
Firewall and its types and functionFirewall and its types and function
Firewall and its types and functionNisarg Amin
 
Nuclear power plant
Nuclear power plantNuclear power plant
Nuclear power plantNisarg Amin
 
Properties of fourier transform
Properties of fourier transformProperties of fourier transform
Properties of fourier transformNisarg Amin
 
Induction generator
Induction generatorInduction generator
Induction generatorNisarg Amin
 
Engineering applications of thermodynamics
Engineering applications of thermodynamicsEngineering applications of thermodynamics
Engineering applications of thermodynamicsNisarg Amin
 
Decimal number system
Decimal number systemDecimal number system
Decimal number systemNisarg Amin
 

More from Nisarg Amin (20)

Goods & services tax (gst)
Goods & services tax (gst)Goods & services tax (gst)
Goods & services tax (gst)
 
Power system earthing
Power system earthingPower system earthing
Power system earthing
 
Improving boiler availability
Improving boiler availabilityImproving boiler availability
Improving boiler availability
 
Types of welding
Types of weldingTypes of welding
Types of welding
 
Symmetrical component method for 3 phase power representation
Symmetrical component method for 3 phase power representationSymmetrical component method for 3 phase power representation
Symmetrical component method for 3 phase power representation
 
Streamer theory
Streamer theoryStreamer theory
Streamer theory
 
Single phase full bridge inverter
Single phase full bridge inverterSingle phase full bridge inverter
Single phase full bridge inverter
 
Flowchart for optimal design of dc machine and transfomer
Flowchart for optimal design of dc machine and transfomerFlowchart for optimal design of dc machine and transfomer
Flowchart for optimal design of dc machine and transfomer
 
Design of commutator and brush
Design of commutator and brushDesign of commutator and brush
Design of commutator and brush
 
Typical a.c. supply system
Typical a.c. supply systemTypical a.c. supply system
Typical a.c. supply system
 
Servomechanism in Control systems engineering
Servomechanism in Control systems engineeringServomechanism in Control systems engineering
Servomechanism in Control systems engineering
 
Dynamic characteristics of thyristor
Dynamic characteristics of thyristorDynamic characteristics of thyristor
Dynamic characteristics of thyristor
 
Digital logic devices
Digital logic devicesDigital logic devices
Digital logic devices
 
Design of field regulators for dc shunt generators
Design of field regulators   for dc shunt generatorsDesign of field regulators   for dc shunt generators
Design of field regulators for dc shunt generators
 
Firewall and its types and function
Firewall and its types and functionFirewall and its types and function
Firewall and its types and function
 
Nuclear power plant
Nuclear power plantNuclear power plant
Nuclear power plant
 
Properties of fourier transform
Properties of fourier transformProperties of fourier transform
Properties of fourier transform
 
Induction generator
Induction generatorInduction generator
Induction generator
 
Engineering applications of thermodynamics
Engineering applications of thermodynamicsEngineering applications of thermodynamics
Engineering applications of thermodynamics
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
 

Recently uploaded

TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHSneha Padhiar
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxStephen Sitton
 
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书rnrncn29
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfisabel213075
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.elesangwon
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
Industrial Applications of Centrifugal Compressors
Industrial Applications of Centrifugal CompressorsIndustrial Applications of Centrifugal Compressors
Industrial Applications of Centrifugal CompressorsAlirezaBagherian3
 
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdfDEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdfAkritiPradhan2
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 

Recently uploaded (20)

TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptx
 
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdf
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
Industrial Applications of Centrifugal Compressors
Industrial Applications of Centrifugal CompressorsIndustrial Applications of Centrifugal Compressors
Industrial Applications of Centrifugal Compressors
 
Designing pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptxDesigning pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptx
 
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdfDEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 

Programming languages,compiler,interpreter,softwares

  • 1. Prepared by: URVISH PATEL NISARG AMIN
  • 2. 2 Programming Languages • Programming languages specially developed so that you could pass your data and instructions to the computer to do specific job. • There are two major types of programming languages, Low Level Languages and High Level Languages. • Low Level languages are further divided in to Machine language and Assembly language. • High Level Languages are, for scientific application FORTRAN and C languages are used. On the other hand COBOL is used for business applications.
  • 3. 3 Machine Language • Machine Language is the only language that is directly understood by the computer. It does not needs any translator program • The only advantage is that program of machine language run very fast
  • 4. 4 Assembly Language • It is the first step to improve the programming structure. You should know that computer can handle numbers and letter. • The set of symbols and letters forms the Assembly Language and a translator program is required to translate the Assembly Language to machine language • This translator program is called `Assembler
  • 5. Advantages: • Assembly Language is easier to understand and saves a lot of time and effort. • It is easier to correct errors and modify program instructions. • Assembly Language has the same efficiency of execution as the machine level language Disadvantages: • Assembly language is machine dependent. A program written for one computer might not run in other computers with different hardware configuration. 5
  • 6. 6 HIGH LEVEL LANGUAGES • Assembly and machine level languages require deep knowledge of computer hardware where as in higher language you have to know only the instructions in English words and logic of the problem. • Higher level languages are simple languages that use English and mathematical symbols like +, -, %, / etc. for its program construction
  • 7. • Any higher level language has to be converted to machine language for the computer to understand. • For example COBOL (Common Business Oriented Language), FORTRAN (Formula Translation) and BASIC (Beginners All-purpose Symbolic Instruction Code) are high level languages. Advantages of High Level Languages • Higher level languages have a major advantage over machine and assembly languages that higher level languages are easy to learn and use (similar to the languages used by us in our day to day life. 7
  • 8. Algorithms ALGORITHM: It is an ordered set of unambiguous steps that produces a result and terminates in a finite time.
  • 9. BASIC ALGORITHMS Basic algorithms: – Summation – Product – Sorting – Searching
  • 10. ALGORITHM REPRESENTATION FLOWCHART: -- A flowchart is a pictorial representation of an algorithm. -- It graphically depicts the logical steps to carry out a task and show how the steps relate to each other.
  • 11. Example: Write an algorithm that finds the average of two numbers. Solution Steps: 1. Input: Two numbers 2. Add the two numbers 3. Divide the result by 2 4. Return the result by step 2 5. End
  • 13. 13
  • 14. 14 Examples of Flowcharts 1)
  • 16. 16 Decision flow chart 3)
  • 19. 19 Tips and tricks of flowcharts  Flowcharts are time-consuming to write and difficult to update  For this reason, professional programmers are more likely to favor pseudocode and hierarchy charts  Because flowcharts so clearly illustrate the logical flow of programming techniques, they are a valuable tool in the education of programmers
  • 20. 20 COMPILER • Compiler :It is a program translator that translates the instruction of a higher level language to machine language. • It is called compiler because it compiles machine language instructions for every program instructions of higher level language.
  • 21. 21 • Thus compiler is a program translator like assembler but more sophisticated. It scans the entire program first and then translates it into machine code. The programs written by the programmer in higher level language is called source program. After this program is converted to machine languages by the compiler it is called object program A compiler can translate only those source programs, which have been written, in that language
  • 22. 22 INTERPRETER • An interpreter is another type of program translator used for translating higher level language into machine language. • It takes one statement of higher level languages, translate it into machine language and immediately execute it. • Translation and execution are carried out for each statement. • It differs from compiler, which translate the entire source program into machine code.
  • 23. • The advantage of interpreter compared to compiler is its fast response to changes in source program • Does not require large memory in computer. • The disadvantage of interpreter is that it is time consuming method because each time a statement in a program is executed then it is first translated. • Thus compiled machine language program runs much faster than an interpreted program. 23
  • 25. 25 SOFTWARE Software refers to the set of computer programs, which are used in applications and operating systems. • It is the collection of programs, which increase the capabilities of the hardware. • Software guides the computer at every step where to start and stop during a particular job. • The process of software development is called programming.
  • 26. 26 TYPES OF SOFTWARE  Application Software : • Application Software is a set of programs for a specific application. • Application software is useful for word processing, accounting, producing statistical report, Graphics, Excel and Data Base. • programming languages COBOL, FORTRAN, C++, VB, VC, Java
  • 27.  System Software: When you switch on the computer the programs written in ROM is executed which activates different units of your computer and makes it ready for you to work. • This set of programs can be called system software. • System software are general programs designed for performing tasks such as controlling all operations required to move data into and out of the computer • System Software allows application packages to be run on the computer. 27
  • 28. 28 • Computer manufactures build and supply this system software with the computer system. • DOS, UNIX and WINDOWS are some of the widely used operating system software. • Out of these UNIX is a multi-user operating system whereas DOS and WINDOWS are PC-based. • We will discuss in details DOS and WINDOWS in the next section.