SlideShare a Scribd company logo
Unit No-1
Program Logic Development
Unit 1(1).pptx Program Logic Development
Unit 1(1).pptx Program Logic Development
DIFFERENCE HIGH AND LOW
• A set of rules that must be followed when
solving a particular problem.
• An algorithm is a procedure or formula for
solving a problem, based on conducting a
sequence of specified actions.
• The word Algorithm means “a process or set
of rules to be followed in calculations or other
problem-solving operations”
Algorithm
Characteristics of Algorithm :-
1)Input specified
An algorithm should have 0 or more well-defined inputs.Input precision requires that you know
what kind of data, how much and what form the data should be.
2)Output specified
An algorithm should have 1 or more well-defined outputs, and should match the desired
output.Output precision also requires that you know what kind of data, how much and what form the output
should be.
3)Definiteness
Algorithms must specify every step and the order the steps must be taken in the
process.Definiteness means specifying the sequence of operations for turning input into output. Algorithm
should be clear and unambiguousYou could not expect a computer to understand something if you yourself are
ambiguous about it.
4)Effectiveness
For an algorithm to be effective, it means that all those steps that are required to get to output must
be feasible with the available resources.It should not contain any unnecessary and redundant steps which could
make an algorithm ineffective.
Basic Convenctions for writing Alogorithms
1.Algorithm Name
Each algorith must have name so programer comes to know that what
algorithm is for.
2.Comments.
The Contains folled by is known as comments.
3.Input and Output
Proper input should be given to algorith so expected output is taken.
4.Steps
Numbers should be provided each rule or step.
Algorithm for Making Tea
Algorithm Name-Making Tea
Input- Water,Tea Leaves,Sugar,Gas,Stove,Utensil,Milk,cup.
Output- Tea
Step 1- Start
Step 2- Light Stove.
Step 3- Boil Water in utensil,put tea leaves and sugar in it.
Step 4- After Boiling it properly put milk in it.
Step 5- After boiling it properly serve it in Cup.
Step 6- Stop
Algorithm for Addition.
Algorithm Name-Addition of two Numbers.
Input- Two Numbers
Output- Addition of two Numbers.
Step 1- Start
Step 2- Declare variable NUM1,NUM2,ADD.
Step 3- Read values of NUM1 and NUM 2.
Step 4- Do addition of numbers and store it in third variable i.e.ADD.
ADD=NUM1+NUM2.
Step 5- Display ADD.
Step 6- Stop
Algorithm for Multiplication
Algorithm Name-Multiplication of two Numbers.
Input- Two Numbers
Output- Multiplication of two Numbers.
Step 1- Start
Step 2- Declare variable NUM1,NUM2,MUL.
Step 3- Read values of NUM1 and NUM 2.
Step 4- Do multiplication of numbers and store it in third variable i.e.MUL.
MUL=NUM1 * NUM2.
Step 5- Display MUL.
Step 6- Stop
Algorithm for Arithmetic Operations
Algorithm Name-Arithmetic Operations
Input- Two Numbers
Output- Addition,Substraction,Division,Multiplication of two Numbers.
Step 1- Start
Step 2- Declare variable NUM1,NUM2,ADD,SUB,DIV,MUL.
Step 3- Read values of NUM1 and NUM 2.
Step 4- Do addition of numbers and store it in third variable i.e.ADD.
ADD=NUM1+NUM2.
Step 5- Display ADD.
Step 6-Do Substraction of numbers and store it in third variable i.e.SUB.
SUB=NUM1 - NUM2.
Step 7- Display SUB.
Step 8-Do Division of numbers and store it in third variable i.e.DIV.
ADD=NUM1 / NUM2.
Step 9- Display DIV.
Step 10- Do multiplication of numbers and store it in third variable i.e.MUL.
MUL=NUM1 * NUM2.
Step 11- Display MUL.
Step 12- Stop
Examples for Home Work
• Write a algorithm for Finding Square of given
Number.
• Write a algorithm for Finding Cube of given
Number.
Algorithm for Area of Circle
Algorithm Name-Finding Area of Circle.
Input- Radius,AOC.
Output- Area of Circle.
Step 1- Start
Step 2- Declare variable RADIUS,AOC
Step 3- Read values of RADIUS.
Step 4- Calculate area of circle by using formulae
AOC=3.14 * Radius * Radius
Step 5- Display AOC.
Step 6- Stop
Examples for Home Work
• Write a algorithm for Finding Area of Triangle
• Write a algorithm for Finding Area of
Cylinder.
Algorithm for finding greatest number from given 2
numbers
Algorithm Name-Finding Greatest number.
Input- NUM1 , NUM2.
Output- Display Greatest Number.
Step 1- Start
Step 2- Declare variable NUM1 ,NUM2
Step 3- Read values of NUM1 ,NUM2
Step 4- if NUM1 > NUM2
Display NUM1 is greater.
else,
Display NUM2 is greater.
Step 5- Stop
Examples for Home Work
• Write a algorithm to check whether number is
even or odd.
• Write a algorithm to check whether number is
divisible by 5 or not.
Unit 1(1).pptx Program Logic Development
Flowchart
 A flowchart is simply a graphical representation of
steps. It shows steps in sequential order and is widely
used in presenting the flow of algorithms, workflow or
processes.
Typically, a flowchart shows the steps as boxes of
various kinds, and their order by connecting them with
arrows.
Notations of Flowchart
Examples of flowchart
Unit 1(1).pptx Program Logic Development
Unit 1(1).pptx Program Logic Development
Unit 1(1).pptx Program Logic Development
Unit 1(1).pptx Program Logic Development
Advantages Of Flowchart
• It is a convenient method of communication.
• It indicates very clearly just what is being done, where a program has
logical complexities.
• A key to correct programming.
• It is an important tool for planning and designing a new system.
• It clearly indicates the role-played at each level.
• It saves the inconveniences in future and serves the purpose of
documentation for a system.
• It provides an overview of the system and also demonstrates the
relationship between various steps.
• Facilitates troubleshooting.
• It promotes logical accuracy.
• It makes sure that no logical path is left incomplete without any action
being taken.
Disadvantages Of Flowchart
• The flowchart is a waste of time and slows down the process of software
development.
• The flowchart is quite costly to produce and difficult to use and manage.
• Flowcharts are not meant for man to computer communication.
• Sometimes the Complex logic of the program logic is quite complicated to
draw out on by using different defined shapes. In that case, flowchart
becomes complex and clumsy. This will become a pain for the user,
resulting in a waste of time and money trying to correct the problem
• If you need to modify or alternate the process then it will be very hard to do
in the flowchart. Because either you will have to erase the end of the
flowchart or start.

More Related Content

Similar to Unit 1(1).pptx Program Logic Development (20)

Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Sachin Goyani
 
Algorithm and flowchart.pptx
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
MaheShiva
 
UNIT-1.pptx python for engineering first year students
UNIT-1.pptx python for engineering first year studentsUNIT-1.pptx python for engineering first year students
UNIT-1.pptx python for engineering first year students
SabarigiriVason
 
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptxUnit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
rannbirhealer
 
Algorithms notes 2 tutorials duniya
Algorithms notes 2   tutorials duniyaAlgorithms notes 2   tutorials duniya
Algorithms notes 2 tutorials duniya
TutorialsDuniya.com
 
Basic syntax : Algorithm,Flow chart
Basic syntax : Algorithm,Flow chartBasic syntax : Algorithm,Flow chart
Basic syntax : Algorithm,Flow chart
Prasanna R Kovath
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow charts
Chinnu Edwin
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
ShaswatSurya
 
Unit 1-problem solving with algorithm
Unit 1-problem solving with algorithmUnit 1-problem solving with algorithm
Unit 1-problem solving with algorithm
rajkumar1631010038
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
Student
 
Algorithm for computational problematic sit
Algorithm for computational problematic sitAlgorithm for computational problematic sit
Algorithm for computational problematic sit
Saurabh846965
 
ALGO VS FLOW.pptx
ALGO VS FLOW.pptxALGO VS FLOW.pptx
ALGO VS FLOW.pptx
NagendraK18
 
Design and Analysis of Algorithm ppt for unit one
Design and Analysis of Algorithm ppt for unit oneDesign and Analysis of Algorithm ppt for unit one
Design and Analysis of Algorithm ppt for unit one
ssuserb7c8b8
 
Problem solving methodology
Problem solving methodologyProblem solving methodology
Problem solving methodology
Prof. Dr. K. Adisesha
 
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHESC LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
HarshJha34
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Elizabeth de Leon Aler
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
DHANIK VIKRANT
 
Algorithm.pdf
Algorithm.pdfAlgorithm.pdf
Algorithm.pdf
MIT,Imphal
 
Algrithms and frowcharts.pptx
Algrithms and frowcharts.pptxAlgrithms and frowcharts.pptx
Algrithms and frowcharts.pptx
Gurneetsingh83
 
Unit 1 psp
Unit 1 pspUnit 1 psp
Unit 1 psp
Karthi Vel
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Sachin Goyani
 
Algorithm and flowchart.pptx
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
MaheShiva
 
UNIT-1.pptx python for engineering first year students
UNIT-1.pptx python for engineering first year studentsUNIT-1.pptx python for engineering first year students
UNIT-1.pptx python for engineering first year students
SabarigiriVason
 
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptxUnit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
rannbirhealer
 
Algorithms notes 2 tutorials duniya
Algorithms notes 2   tutorials duniyaAlgorithms notes 2   tutorials duniya
Algorithms notes 2 tutorials duniya
TutorialsDuniya.com
 
Basic syntax : Algorithm,Flow chart
Basic syntax : Algorithm,Flow chartBasic syntax : Algorithm,Flow chart
Basic syntax : Algorithm,Flow chart
Prasanna R Kovath
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow charts
Chinnu Edwin
 
Unit 1-problem solving with algorithm
Unit 1-problem solving with algorithmUnit 1-problem solving with algorithm
Unit 1-problem solving with algorithm
rajkumar1631010038
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
Student
 
Algorithm for computational problematic sit
Algorithm for computational problematic sitAlgorithm for computational problematic sit
Algorithm for computational problematic sit
Saurabh846965
 
ALGO VS FLOW.pptx
ALGO VS FLOW.pptxALGO VS FLOW.pptx
ALGO VS FLOW.pptx
NagendraK18
 
Design and Analysis of Algorithm ppt for unit one
Design and Analysis of Algorithm ppt for unit oneDesign and Analysis of Algorithm ppt for unit one
Design and Analysis of Algorithm ppt for unit one
ssuserb7c8b8
 
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHESC LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
C LANGUAGE-FLOWCHARTS,PSEUDOCODE,ALGORITHMS APPROCHES
HarshJha34
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
DHANIK VIKRANT
 
Algrithms and frowcharts.pptx
Algrithms and frowcharts.pptxAlgrithms and frowcharts.pptx
Algrithms and frowcharts.pptx
Gurneetsingh83
 

More from Vaibhav Parjane (13)

Advantages and disadvantages of algorithm.pptx
Advantages and disadvantages of algorithm.pptxAdvantages and disadvantages of algorithm.pptx
Advantages and disadvantages of algorithm.pptx
Vaibhav Parjane
 
Examples of Algorithms : Introduction to C.pptx
Examples of Algorithms : Introduction to C.pptxExamples of Algorithms : Introduction to C.pptx
Examples of Algorithms : Introduction to C.pptx
Vaibhav Parjane
 
Topic 1.1 Fundamentals of Algorithm.pptx
Topic 1.1 Fundamentals of Algorithm.pptxTopic 1.1 Fundamentals of Algorithm.pptx
Topic 1.1 Fundamentals of Algorithm.pptx
Vaibhav Parjane
 
Unit no 1(Fundamentals of Algorithm).pptx
Unit no 1(Fundamentals of Algorithm).pptxUnit no 1(Fundamentals of Algorithm).pptx
Unit no 1(Fundamentals of Algorithm).pptx
Vaibhav Parjane
 
Unit No 2.pptx Basic s of C Programming
Unit No 2.pptx   Basic s of C ProgrammingUnit No 2.pptx   Basic s of C Programming
Unit No 2.pptx Basic s of C Programming
Vaibhav Parjane
 
Unit 2 Searching and Sorting Technique.pptx
Unit 2 Searching and Sorting Technique.pptxUnit 2 Searching and Sorting Technique.pptx
Unit 2 Searching and Sorting Technique.pptx
Vaibhav Parjane
 
PPT.pptx Searching and Sorting Techniques
PPT.pptx Searching and Sorting TechniquesPPT.pptx Searching and Sorting Techniques
PPT.pptx Searching and Sorting Techniques
Vaibhav Parjane
 
unit 2 First.pptx Searching - Linear and Binary Search
unit 2 First.pptx Searching - Linear and Binary Searchunit 2 First.pptx Searching - Linear and Binary Search
unit 2 First.pptx Searching - Linear and Binary Search
Vaibhav Parjane
 
unit 1 SIXTH.pptx Algorithm Complexity Time
unit 1 SIXTH.pptx Algorithm Complexity Timeunit 1 SIXTH.pptx Algorithm Complexity Time
unit 1 SIXTH.pptx Algorithm Complexity Time
Vaibhav Parjane
 
Operations on Data Structure- Several Operation performed on DS
Operations on Data Structure- Several Operation performed on DSOperations on Data Structure- Several Operation performed on DS
Operations on Data Structure- Several Operation performed on DS
Vaibhav Parjane
 
Classification of Data Structure -Linear and Non Linear
Classification of Data Structure -Linear and Non LinearClassification of Data Structure -Linear and Non Linear
Classification of Data Structure -Linear and Non Linear
Vaibhav Parjane
 
Need of Data Structure & Abstract Data Type
Need of Data Structure & Abstract Data TypeNeed of Data Structure & Abstract Data Type
Need of Data Structure & Abstract Data Type
Vaibhav Parjane
 
Introduction to data & Data Structure Definition
Introduction to data & Data Structure DefinitionIntroduction to data & Data Structure Definition
Introduction to data & Data Structure Definition
Vaibhav Parjane
 
Advantages and disadvantages of algorithm.pptx
Advantages and disadvantages of algorithm.pptxAdvantages and disadvantages of algorithm.pptx
Advantages and disadvantages of algorithm.pptx
Vaibhav Parjane
 
Examples of Algorithms : Introduction to C.pptx
Examples of Algorithms : Introduction to C.pptxExamples of Algorithms : Introduction to C.pptx
Examples of Algorithms : Introduction to C.pptx
Vaibhav Parjane
 
Topic 1.1 Fundamentals of Algorithm.pptx
Topic 1.1 Fundamentals of Algorithm.pptxTopic 1.1 Fundamentals of Algorithm.pptx
Topic 1.1 Fundamentals of Algorithm.pptx
Vaibhav Parjane
 
Unit no 1(Fundamentals of Algorithm).pptx
Unit no 1(Fundamentals of Algorithm).pptxUnit no 1(Fundamentals of Algorithm).pptx
Unit no 1(Fundamentals of Algorithm).pptx
Vaibhav Parjane
 
Unit No 2.pptx Basic s of C Programming
Unit No 2.pptx   Basic s of C ProgrammingUnit No 2.pptx   Basic s of C Programming
Unit No 2.pptx Basic s of C Programming
Vaibhav Parjane
 
Unit 2 Searching and Sorting Technique.pptx
Unit 2 Searching and Sorting Technique.pptxUnit 2 Searching and Sorting Technique.pptx
Unit 2 Searching and Sorting Technique.pptx
Vaibhav Parjane
 
PPT.pptx Searching and Sorting Techniques
PPT.pptx Searching and Sorting TechniquesPPT.pptx Searching and Sorting Techniques
PPT.pptx Searching and Sorting Techniques
Vaibhav Parjane
 
unit 2 First.pptx Searching - Linear and Binary Search
unit 2 First.pptx Searching - Linear and Binary Searchunit 2 First.pptx Searching - Linear and Binary Search
unit 2 First.pptx Searching - Linear and Binary Search
Vaibhav Parjane
 
unit 1 SIXTH.pptx Algorithm Complexity Time
unit 1 SIXTH.pptx Algorithm Complexity Timeunit 1 SIXTH.pptx Algorithm Complexity Time
unit 1 SIXTH.pptx Algorithm Complexity Time
Vaibhav Parjane
 
Operations on Data Structure- Several Operation performed on DS
Operations on Data Structure- Several Operation performed on DSOperations on Data Structure- Several Operation performed on DS
Operations on Data Structure- Several Operation performed on DS
Vaibhav Parjane
 
Classification of Data Structure -Linear and Non Linear
Classification of Data Structure -Linear and Non LinearClassification of Data Structure -Linear and Non Linear
Classification of Data Structure -Linear and Non Linear
Vaibhav Parjane
 
Need of Data Structure & Abstract Data Type
Need of Data Structure & Abstract Data TypeNeed of Data Structure & Abstract Data Type
Need of Data Structure & Abstract Data Type
Vaibhav Parjane
 
Introduction to data & Data Structure Definition
Introduction to data & Data Structure DefinitionIntroduction to data & Data Structure Definition
Introduction to data & Data Structure Definition
Vaibhav Parjane
 
Ad

Recently uploaded (20)

Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)
elelijjournal653
 
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDINGMODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
Dr. BASWESHWAR JIRWANKAR
 
Tesia Dobrydnia - A Leader In Her Industry
Tesia Dobrydnia - A Leader In Her IndustryTesia Dobrydnia - A Leader In Her Industry
Tesia Dobrydnia - A Leader In Her Industry
Tesia Dobrydnia
 
Axial Capacity Estimation of FRP-strengthened Corroded Concrete Columns
Axial Capacity Estimation of FRP-strengthened Corroded Concrete ColumnsAxial Capacity Estimation of FRP-strengthened Corroded Concrete Columns
Axial Capacity Estimation of FRP-strengthened Corroded Concrete Columns
Journal of Soft Computing in Civil Engineering
 
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
ManiMaran230751
 
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdfKevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Medicoz Clinic
 
world subdivision.pdf...................
world subdivision.pdf...................world subdivision.pdf...................
world subdivision.pdf...................
bmmederos12
 
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
BeHappy728244
 
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
IRJET Journal
 
Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
 
UNIT-5-PPT Computer Control Power of Power System
UNIT-5-PPT Computer Control Power of Power SystemUNIT-5-PPT Computer Control Power of Power System
UNIT-5-PPT Computer Control Power of Power System
Sridhar191373
 
All about the Snail Power Catalog Product 2025
All about the Snail Power Catalog  Product 2025All about the Snail Power Catalog  Product 2025
All about the Snail Power Catalog Product 2025
kstgroupvn
 
ISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdf
ISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdfISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdf
ISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
 
[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)
[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)
[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)
하이플럭스 / HIFLUX Co., Ltd.
 
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
 
HVAC Air Filter Equipment-Catalouge-Final.pdf
HVAC Air Filter Equipment-Catalouge-Final.pdfHVAC Air Filter Equipment-Catalouge-Final.pdf
HVAC Air Filter Equipment-Catalouge-Final.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
ISO 10121-Flat Sheet Media-Catalouge-Final.pdf
ISO 10121-Flat Sheet Media-Catalouge-Final.pdfISO 10121-Flat Sheet Media-Catalouge-Final.pdf
ISO 10121-Flat Sheet Media-Catalouge-Final.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Mohamed905031
 
Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)
elelijjournal653
 
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDINGMODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
Dr. BASWESHWAR JIRWANKAR
 
Tesia Dobrydnia - A Leader In Her Industry
Tesia Dobrydnia - A Leader In Her IndustryTesia Dobrydnia - A Leader In Her Industry
Tesia Dobrydnia - A Leader In Her Industry
Tesia Dobrydnia
 
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
Forensic Science – Digital Forensics – Digital Evidence – The Digital Forensi...
ManiMaran230751
 
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdfKevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Medicoz Clinic
 
world subdivision.pdf...................
world subdivision.pdf...................world subdivision.pdf...................
world subdivision.pdf...................
bmmederos12
 
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
BeHappy728244
 
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
IRJET Journal
 
Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
 
UNIT-5-PPT Computer Control Power of Power System
UNIT-5-PPT Computer Control Power of Power SystemUNIT-5-PPT Computer Control Power of Power System
UNIT-5-PPT Computer Control Power of Power System
Sridhar191373
 
All about the Snail Power Catalog Product 2025
All about the Snail Power Catalog  Product 2025All about the Snail Power Catalog  Product 2025
All about the Snail Power Catalog Product 2025
kstgroupvn
 
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
 
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
 
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Mohamed905031
 
Ad

Unit 1(1).pptx Program Logic Development

  • 5. • A set of rules that must be followed when solving a particular problem. • An algorithm is a procedure or formula for solving a problem, based on conducting a sequence of specified actions. • The word Algorithm means “a process or set of rules to be followed in calculations or other problem-solving operations” Algorithm
  • 6. Characteristics of Algorithm :- 1)Input specified An algorithm should have 0 or more well-defined inputs.Input precision requires that you know what kind of data, how much and what form the data should be. 2)Output specified An algorithm should have 1 or more well-defined outputs, and should match the desired output.Output precision also requires that you know what kind of data, how much and what form the output should be. 3)Definiteness Algorithms must specify every step and the order the steps must be taken in the process.Definiteness means specifying the sequence of operations for turning input into output. Algorithm should be clear and unambiguousYou could not expect a computer to understand something if you yourself are ambiguous about it. 4)Effectiveness For an algorithm to be effective, it means that all those steps that are required to get to output must be feasible with the available resources.It should not contain any unnecessary and redundant steps which could make an algorithm ineffective.
  • 7. Basic Convenctions for writing Alogorithms 1.Algorithm Name Each algorith must have name so programer comes to know that what algorithm is for. 2.Comments. The Contains folled by is known as comments. 3.Input and Output Proper input should be given to algorith so expected output is taken. 4.Steps Numbers should be provided each rule or step.
  • 8. Algorithm for Making Tea Algorithm Name-Making Tea Input- Water,Tea Leaves,Sugar,Gas,Stove,Utensil,Milk,cup. Output- Tea Step 1- Start Step 2- Light Stove. Step 3- Boil Water in utensil,put tea leaves and sugar in it. Step 4- After Boiling it properly put milk in it. Step 5- After boiling it properly serve it in Cup. Step 6- Stop
  • 9. Algorithm for Addition. Algorithm Name-Addition of two Numbers. Input- Two Numbers Output- Addition of two Numbers. Step 1- Start Step 2- Declare variable NUM1,NUM2,ADD. Step 3- Read values of NUM1 and NUM 2. Step 4- Do addition of numbers and store it in third variable i.e.ADD. ADD=NUM1+NUM2. Step 5- Display ADD. Step 6- Stop
  • 10. Algorithm for Multiplication Algorithm Name-Multiplication of two Numbers. Input- Two Numbers Output- Multiplication of two Numbers. Step 1- Start Step 2- Declare variable NUM1,NUM2,MUL. Step 3- Read values of NUM1 and NUM 2. Step 4- Do multiplication of numbers and store it in third variable i.e.MUL. MUL=NUM1 * NUM2. Step 5- Display MUL. Step 6- Stop
  • 11. Algorithm for Arithmetic Operations Algorithm Name-Arithmetic Operations Input- Two Numbers Output- Addition,Substraction,Division,Multiplication of two Numbers. Step 1- Start Step 2- Declare variable NUM1,NUM2,ADD,SUB,DIV,MUL. Step 3- Read values of NUM1 and NUM 2. Step 4- Do addition of numbers and store it in third variable i.e.ADD. ADD=NUM1+NUM2. Step 5- Display ADD. Step 6-Do Substraction of numbers and store it in third variable i.e.SUB. SUB=NUM1 - NUM2. Step 7- Display SUB. Step 8-Do Division of numbers and store it in third variable i.e.DIV. ADD=NUM1 / NUM2. Step 9- Display DIV. Step 10- Do multiplication of numbers and store it in third variable i.e.MUL. MUL=NUM1 * NUM2. Step 11- Display MUL. Step 12- Stop
  • 12. Examples for Home Work • Write a algorithm for Finding Square of given Number. • Write a algorithm for Finding Cube of given Number.
  • 13. Algorithm for Area of Circle Algorithm Name-Finding Area of Circle. Input- Radius,AOC. Output- Area of Circle. Step 1- Start Step 2- Declare variable RADIUS,AOC Step 3- Read values of RADIUS. Step 4- Calculate area of circle by using formulae AOC=3.14 * Radius * Radius Step 5- Display AOC. Step 6- Stop
  • 14. Examples for Home Work • Write a algorithm for Finding Area of Triangle • Write a algorithm for Finding Area of Cylinder.
  • 15. Algorithm for finding greatest number from given 2 numbers Algorithm Name-Finding Greatest number. Input- NUM1 , NUM2. Output- Display Greatest Number. Step 1- Start Step 2- Declare variable NUM1 ,NUM2 Step 3- Read values of NUM1 ,NUM2 Step 4- if NUM1 > NUM2 Display NUM1 is greater. else, Display NUM2 is greater. Step 5- Stop
  • 16. Examples for Home Work • Write a algorithm to check whether number is even or odd. • Write a algorithm to check whether number is divisible by 5 or not.
  • 18. Flowchart  A flowchart is simply a graphical representation of steps. It shows steps in sequential order and is widely used in presenting the flow of algorithms, workflow or processes. Typically, a flowchart shows the steps as boxes of various kinds, and their order by connecting them with arrows.
  • 25. Advantages Of Flowchart • It is a convenient method of communication. • It indicates very clearly just what is being done, where a program has logical complexities. • A key to correct programming. • It is an important tool for planning and designing a new system. • It clearly indicates the role-played at each level. • It saves the inconveniences in future and serves the purpose of documentation for a system. • It provides an overview of the system and also demonstrates the relationship between various steps. • Facilitates troubleshooting. • It promotes logical accuracy. • It makes sure that no logical path is left incomplete without any action being taken.
  • 26. Disadvantages Of Flowchart • The flowchart is a waste of time and slows down the process of software development. • The flowchart is quite costly to produce and difficult to use and manage. • Flowcharts are not meant for man to computer communication. • Sometimes the Complex logic of the program logic is quite complicated to draw out on by using different defined shapes. In that case, flowchart becomes complex and clumsy. This will become a pain for the user, resulting in a waste of time and money trying to correct the problem • If you need to modify or alternate the process then it will be very hard to do in the flowchart. Because either you will have to erase the end of the flowchart or start.