SlideShare a Scribd company logo
Algorithm and Flowchart
Bali Thorat
Algorithm
• The word “algorithm” relates to the name of the mathematician Al-
khowarizmi, which means a procedure or a technique. Software
Engineer commonly uses an algorithm for planning and solving the
problems. An algorithm is a sequence of steps to solve a particular
problem or algorithm is an ordered set of unambiguous steps that
produces a result and terminates in a finite time
Bali Thorat
Characteristics of Algorithm
• Input: An algorithm may or may not require input
• Output: Each algorithm is expected to produce at least one result
• Definiteness: Each instruction must be clear and unambiguous.
• Finiteness: If the instructions of an algorithm are executed, the
algorithm should terminate after finite number of steps
Bali Thorat
Advantages of algorithm
• It is a step-wise representation of a solution to a given problem,
which makes it easy to understand.
• An algorithm uses a definite procedure.
• It is not dependent on any programming language, so it is easy to
understand for anyone even without programming knowledge.
• Every step in an algorithm has its own logical sequence so it is easy to
debug.
Bali Thorat
Disdvantages of Algorithms
• Alogorithms is Time consuming.
• Difficult to show Branching and Looping in Algorithms.
• Big tasks are difficult to put in Algorithms.
Bali Thorat
Flowchart
• The first design of flowchart goes back to 1945 which was designed
by John Von Neumann. Unlike an algorithm, Flowchart uses different
symbols to design a solution to a problem. It is another commonly
used programming tool. By looking at a Flowchart one can
understand the operations and sequence of operations performed in
a system. Flowchart is often considered as a blueprint of a design
used for solving a specific problem.
Bali Thorat
Advantages
• Flowchart is an excellent way of communicating the logic of a
program.
• Easy and efficient to analyze problem using flowchart.
• During program development cycle, the flowchart plays the role of a
blueprint, which makes program development process easier.
• After successful development of a program, it needs continuous
timely maintenance during the course of its operation. The flowchart
makes program or system maintenance easier.
• It is easy to convert the flowchart into any programming language
code.
Bali Thorat
Flowchart is diagrammatic /Graphical representation of sequence of steps to solve a
problem. To draw a flowchart following standard symbols are use
Bali Thorat
Bali Thorat
Algorithm to find the sum of two numbers
• Algorithm
• Step-1 Start
• Step-2 Input first numbers say A
• Step-3 Input second number say B
• Step-4 SUM = A + B
• Step-5 Display SUM
• Step-6 Stop
Bali Thorat
Algorithm to convert temperature from Celsius to Fahrenheit
• C : temperature in Celsius
• F : temperature Fahrenheit
• Algorithm
• Step-1 Start
• Step-2 Input temperature in Celsius say C
• Step-3 F = (9.0/5.0 x C) + 32
• Step-4 Display Temperature in Fahrenheit F
• Step-5 Stop
Bali Thorat
Algorithm to convert temperature from Fahrenheit to Celsius
• C : temperature in Celsius
• F : temperature Fahrenheit
• Algorithm
• Step-1 Start
• Step-2 Input temperature in Fahrenheit say F
• Step-3 C = 5.0/9.0 (F - 32 )
• Step-4 Display Temperature in Celsius C
• Step-5 Stop
Bali Thorat
Algorithm to find Area and Perimeter of Square
• L : Side Length of Square
• AREA : Area of Square
• PERIMETER : Perimeter of Square
• Algorithm
• Step-1 Start
• Step-2 Input Side Length of Square say L
• Step-3 Area = L x L
• Step-4 PERIMETER = 4 x L
• Step-5 Display AREA, PERIMETER
• Step-6 Stop
Bali Thorat
Algorithm to find Area and Perimeter of Rectangle
• L : Length of Rectangle
• B : Breadth of Rectangle
• AREA : Area of Rectangle
• PERIMETER : Perimeter of Rectangle
• Algorithm
• Step-1 Start
• Step-2 Input Side Length & Breadth say L, B
• Step-3 Area = L x B
• Step-4 PERIMETER = 2 x ( L + B)
• Step-5 Display AREA, PERIMETER
• Step-6 Stop
Bali Thorat
Algorithm to find Area and Perimeter of Circle
• R : Radius of Circle
• AREA : Area of Circle
• PERIMETER : Perimeter of Circle
• Algorithm
• Step-1 Start
• Step-2 Input Radius of Circle say R
• Step-3 Area = 22.0/7.0 x R x R
• Step-4 PERIMETER = 2 x 22.0/7.0 x R
• Step-5 Display AREA, PERIMETER
• Step-6 Stop
Bali Thorat
Algorithm to find Area & Perimeter of Triangle
• A : First Side of Triangle
• B : Second Side of Triangle
• C : Third Side of Triangle
• AREA : Area of Triangle
• PERIMETER : Perimeter of Triangle
• Algorithm
• Step-1 Start
• Step-2 Input Sides of Triangle A,B,C
• Step-3 S= (A + B + C)/ 2.0
• Step-4 AREA = SQRT(S x (S-A) x (S-B) x(S-C))
• Step-5 PERIMETER = S1 + S2 + S3
• Step-6 Display AREA, PERIMETER
• Step-7 Stop
Bali Thorat
Algorithm to Swap Two Numbers using Temporary Variable
• Algorithm
• Step-1 Start
• Step-2 Input Two Numbers Say NUM1,NUM2
• Step-3 Display Before Swap Values NUM1, NUM2
• Step-4 TEMP = NUM1
• Step-5 NUM1 = NUM2
• Step-6 NUM2 = TEMP
• Step-7 Display After Swap Values NUM1,NUM
• Step-8 Stop
Bali Thorat
Algorithm & Flowchart to Swap Two Numbers without using
temporary variable
• Algorithm
• Step-1 Start
• Step-2 Input Two Numbers Say A,B
• Step-3 Display Before Swap Values A, B
• Step-4 A = A + B
• Step-5 B = A - B
• Step-6 A = A - B
• Step-7 Display After Swap Values A, B
• Step-8 Stop
Bali Thorat
Algorithm to find the smallest of two numbers
• Step-1 Start
• Step-2 Input two numbers say NUM1,NUM2
• Step-3 IF NUM1 < NUM2 THEN
• print smallest is NUM1
• ELSE
• print smallest is NUM2
• ENDIF
• Step-4 Stop
Bali Thorat
Ad

More Related Content

What's hot (20)

Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
Gaditek
 
List of 8085 programs
List of 8085 programsList of 8085 programs
List of 8085 programs
ASHOKA INSTITUTE OF TECHNOLOGY & MANAGEMENT,VARANASI,U.P.
 
Presentation On Flip-Flop
Presentation On Flip-FlopPresentation On Flip-Flop
Presentation On Flip-Flop
Northwestern University Khulna, Bangladesh
 
Asynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptAsynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 ppt
SIVALAKSHMIPANNEERSE
 
Phone Book project in Data Structure C
Phone  Book  project in Data Structure CPhone  Book  project in Data Structure C
Phone Book project in Data Structure C
VaithekyAnandarajah
 
Chatbot
ChatbotChatbot
Chatbot
nikul patel
 
A c program of Phonebook application
A c program of Phonebook applicationA c program of Phonebook application
A c program of Phonebook application
svrohith 9
 
ATM System Description and functional and non- functional Requirements
ATM System Description and functional and non- functional RequirementsATM System Description and functional and non- functional Requirements
ATM System Description and functional and non- functional Requirements
wajahat Gul
 
latches
 latches latches
latches
Unsa Shakir
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
deval patel
 
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital Electronics
Md Sadequl Islam
 
Clock Triggering
Clock TriggeringClock Triggering
Clock Triggering
AmshalEjaz1
 
control unit
control unitcontrol unit
control unit
Not Yet working. I am Still studying
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
KINGZzofYouTube
 
Architecture of 8051 Microcontroller.pdf
Architecture of 8051 Microcontroller.pdfArchitecture of 8051 Microcontroller.pdf
Architecture of 8051 Microcontroller.pdf
HezalLopes1
 
Using the scientific calculator
Using the scientific calculatorUsing the scientific calculator
Using the scientific calculator
Land Surveyors United Community
 
Software testing axioms
Software testing axiomsSoftware testing axioms
Software testing axioms
vijayalakshmijanakir1
 
Interrupt 8085
Interrupt 8085Interrupt 8085
Interrupt 8085
Shubham Singh
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
kavitha muneeshwaran
 
flip flops
flip flops flip flops
flip flops
Unsa Shakir
 

Similar to Algorithm and flowchart (20)

Fundamental of Information Technology - UNIT 6
Fundamental of Information Technology - UNIT 6Fundamental of Information Technology - UNIT 6
Fundamental of Information Technology - UNIT 6
Shipra Swati
 
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS
Algorithm   Flowchart Manual ALGORITHM   FLOWCHART MANUAL For STUDENTSAlgorithm   Flowchart Manual ALGORITHM   FLOWCHART MANUAL For STUDENTS
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS
Alicia Edwards
 
detail of flowchart and algorithm that are used in programmingpdf
detail of flowchart and algorithm that are used in programmingpdfdetail of flowchart and algorithm that are used in programmingpdf
detail of flowchart and algorithm that are used in programmingpdf
ssuserf86fba
 
Algorithm manual
Algorithm manualAlgorithm manual
Algorithm manual
EfendyMasuli
 
Algorithm and flowchart.pptx
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
MaheShiva
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
Student
 
Logic Development and Algorithm.
Logic Development and Algorithm.Logic Development and Algorithm.
Logic Development and Algorithm.
NandiniSidana
 
11 Unit 1 Problem Solving Techniques
11  Unit 1 Problem Solving Techniques11  Unit 1 Problem Solving Techniques
11 Unit 1 Problem Solving Techniques
Praveen M Jigajinni
 
Chapter 6 algorithms and flow charts
Chapter 6  algorithms and flow chartsChapter 6  algorithms and flow charts
Chapter 6 algorithms and flow charts
Praveen M Jigajinni
 
Unit 1(1).pptx Program Logic Development
Unit 1(1).pptx Program Logic DevelopmentUnit 1(1).pptx Program Logic Development
Unit 1(1).pptx Program Logic Development
Vaibhav Parjane
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow charts
Chinnu Edwin
 
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptxUnit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
rannbirhealer
 
ALGORITHM PPT GUIDE.pdf
ALGORITHM PPT GUIDE.pdfALGORITHM PPT GUIDE.pdf
ALGORITHM PPT GUIDE.pdf
meychu1
 
Flow Chajhbhvhhhhhhhhhhhhhrts FOR BPE.pptx
Flow Chajhbhvhhhhhhhhhhhhhrts  FOR BPE.pptxFlow Chajhbhvhhhhhhhhhhhhhrts  FOR BPE.pptx
Flow Chajhbhvhhhhhhhhhhhhhrts FOR BPE.pptx
develvin404
 
Chapter #1 (Introduction To Algorithms).pptx
Chapter #1 (Introduction To Algorithms).pptxChapter #1 (Introduction To Algorithms).pptx
Chapter #1 (Introduction To Algorithms).pptx
hekmatyarzahir44
 
Algorithm & Flowchart.pdf
Algorithm & Flowchart.pdfAlgorithm & Flowchart.pdf
Algorithm & Flowchart.pdf
Vpmv
 
Main topic 3 problem solving and office automation
Main topic 3 problem solving and office automationMain topic 3 problem solving and office automation
Main topic 3 problem solving and office automation
Infinity Tech Solutions
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
DHANIK VIKRANT
 
ALGORITHMS AND FLOWCHARTS
ALGORITHMS AND FLOWCHARTSALGORITHMS AND FLOWCHARTS
ALGORITHMS AND FLOWCHARTS
Kate Campbell
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
dipti reya
 
Fundamental of Information Technology - UNIT 6
Fundamental of Information Technology - UNIT 6Fundamental of Information Technology - UNIT 6
Fundamental of Information Technology - UNIT 6
Shipra Swati
 
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS
Algorithm   Flowchart Manual ALGORITHM   FLOWCHART MANUAL For STUDENTSAlgorithm   Flowchart Manual ALGORITHM   FLOWCHART MANUAL For STUDENTS
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS
Alicia Edwards
 
detail of flowchart and algorithm that are used in programmingpdf
detail of flowchart and algorithm that are used in programmingpdfdetail of flowchart and algorithm that are used in programmingpdf
detail of flowchart and algorithm that are used in programmingpdf
ssuserf86fba
 
Algorithm and flowchart.pptx
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
MaheShiva
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
Student
 
Logic Development and Algorithm.
Logic Development and Algorithm.Logic Development and Algorithm.
Logic Development and Algorithm.
NandiniSidana
 
11 Unit 1 Problem Solving Techniques
11  Unit 1 Problem Solving Techniques11  Unit 1 Problem Solving Techniques
11 Unit 1 Problem Solving Techniques
Praveen M Jigajinni
 
Chapter 6 algorithms and flow charts
Chapter 6  algorithms and flow chartsChapter 6  algorithms and flow charts
Chapter 6 algorithms and flow charts
Praveen M Jigajinni
 
Unit 1(1).pptx Program Logic Development
Unit 1(1).pptx Program Logic DevelopmentUnit 1(1).pptx Program Logic Development
Unit 1(1).pptx Program Logic Development
Vaibhav Parjane
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow charts
Chinnu Edwin
 
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptxUnit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
Unit-1_PPS_H6nS4p8J1iooinoinoinoink.pptx
rannbirhealer
 
ALGORITHM PPT GUIDE.pdf
ALGORITHM PPT GUIDE.pdfALGORITHM PPT GUIDE.pdf
ALGORITHM PPT GUIDE.pdf
meychu1
 
Flow Chajhbhvhhhhhhhhhhhhhrts FOR BPE.pptx
Flow Chajhbhvhhhhhhhhhhhhhrts  FOR BPE.pptxFlow Chajhbhvhhhhhhhhhhhhhrts  FOR BPE.pptx
Flow Chajhbhvhhhhhhhhhhhhhrts FOR BPE.pptx
develvin404
 
Chapter #1 (Introduction To Algorithms).pptx
Chapter #1 (Introduction To Algorithms).pptxChapter #1 (Introduction To Algorithms).pptx
Chapter #1 (Introduction To Algorithms).pptx
hekmatyarzahir44
 
Algorithm & Flowchart.pdf
Algorithm & Flowchart.pdfAlgorithm & Flowchart.pdf
Algorithm & Flowchart.pdf
Vpmv
 
Main topic 3 problem solving and office automation
Main topic 3 problem solving and office automationMain topic 3 problem solving and office automation
Main topic 3 problem solving and office automation
Infinity Tech Solutions
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
DHANIK VIKRANT
 
ALGORITHMS AND FLOWCHARTS
ALGORITHMS AND FLOWCHARTSALGORITHMS AND FLOWCHARTS
ALGORITHMS AND FLOWCHARTS
Kate Campbell
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
dipti reya
 
Ad

More from BaliThorat1 (20)

Lec15 sfm
Lec15 sfmLec15 sfm
Lec15 sfm
BaliThorat1
 
Lec14 multiview stereo
Lec14 multiview stereoLec14 multiview stereo
Lec14 multiview stereo
BaliThorat1
 
Lec13 stereo converted
Lec13 stereo convertedLec13 stereo converted
Lec13 stereo converted
BaliThorat1
 
Lec12 epipolar
Lec12 epipolarLec12 epipolar
Lec12 epipolar
BaliThorat1
 
Lec11 single view-converted
Lec11 single view-convertedLec11 single view-converted
Lec11 single view-converted
BaliThorat1
 
Lec10 alignment
Lec10 alignmentLec10 alignment
Lec10 alignment
BaliThorat1
 
Lec09 hough
Lec09 houghLec09 hough
Lec09 hough
BaliThorat1
 
Lec08 fitting
Lec08 fittingLec08 fitting
Lec08 fitting
BaliThorat1
 
8 operating system concept
8 operating system concept8 operating system concept
8 operating system concept
BaliThorat1
 
7 processor
7 processor7 processor
7 processor
BaliThorat1
 
6 input output devices
6 input output devices6 input output devices
6 input output devices
BaliThorat1
 
2 windows operating system
2 windows operating system2 windows operating system
2 windows operating system
BaliThorat1
 
5 computer memory
5 computer memory5 computer memory
5 computer memory
BaliThorat1
 
4 computer languages
4 computer languages4 computer languages
4 computer languages
BaliThorat1
 
1 fundamentals of computer
1 fundamentals of computer1 fundamentals of computer
1 fundamentals of computer
BaliThorat1
 
1 fundamentals of computer system
1 fundamentals of computer system1 fundamentals of computer system
1 fundamentals of computer system
BaliThorat1
 
Computer generation and classification
Computer generation and classificationComputer generation and classification
Computer generation and classification
BaliThorat1
 
6 cpu scheduling
6 cpu scheduling6 cpu scheduling
6 cpu scheduling
BaliThorat1
 
5 process synchronization
5 process synchronization5 process synchronization
5 process synchronization
BaliThorat1
 
4 threads
4 threads4 threads
4 threads
BaliThorat1
 
Lec14 multiview stereo
Lec14 multiview stereoLec14 multiview stereo
Lec14 multiview stereo
BaliThorat1
 
Lec13 stereo converted
Lec13 stereo convertedLec13 stereo converted
Lec13 stereo converted
BaliThorat1
 
Lec11 single view-converted
Lec11 single view-convertedLec11 single view-converted
Lec11 single view-converted
BaliThorat1
 
8 operating system concept
8 operating system concept8 operating system concept
8 operating system concept
BaliThorat1
 
6 input output devices
6 input output devices6 input output devices
6 input output devices
BaliThorat1
 
2 windows operating system
2 windows operating system2 windows operating system
2 windows operating system
BaliThorat1
 
5 computer memory
5 computer memory5 computer memory
5 computer memory
BaliThorat1
 
4 computer languages
4 computer languages4 computer languages
4 computer languages
BaliThorat1
 
1 fundamentals of computer
1 fundamentals of computer1 fundamentals of computer
1 fundamentals of computer
BaliThorat1
 
1 fundamentals of computer system
1 fundamentals of computer system1 fundamentals of computer system
1 fundamentals of computer system
BaliThorat1
 
Computer generation and classification
Computer generation and classificationComputer generation and classification
Computer generation and classification
BaliThorat1
 
6 cpu scheduling
6 cpu scheduling6 cpu scheduling
6 cpu scheduling
BaliThorat1
 
5 process synchronization
5 process synchronization5 process synchronization
5 process synchronization
BaliThorat1
 
Ad

Recently uploaded (20)

LDMMIA 2024 Crystal Gold Lecture 1 Bonus
LDMMIA 2024 Crystal Gold Lecture 1 BonusLDMMIA 2024 Crystal Gold Lecture 1 Bonus
LDMMIA 2024 Crystal Gold Lecture 1 Bonus
LDM & Mia eStudios
 
How to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 InventoryHow to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 Inventory
Celine George
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
The Pedagogy We Practice: Best Practices for Critical Instructional Design
The Pedagogy We Practice: Best Practices for Critical Instructional DesignThe Pedagogy We Practice: Best Practices for Critical Instructional Design
The Pedagogy We Practice: Best Practices for Critical Instructional Design
Sean Michael Morris
 
PUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for HealthPUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for Health
JonathanHallett4
 
20250515 Ntegra San Francisco 20250515 v15.pptx
20250515 Ntegra San Francisco 20250515 v15.pptx20250515 Ntegra San Francisco 20250515 v15.pptx
20250515 Ntegra San Francisco 20250515 v15.pptx
home
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-14-2025  .pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-14-2025 .pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............
19lburrell
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Rebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter worldRebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter world
Ned Potter
 
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docxPeer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
19lburrell
 
How to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo SlidesHow to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo Slides
Celine George
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
PUBH1000 Slides - Module 10: Health Promotion
PUBH1000 Slides - Module 10: Health PromotionPUBH1000 Slides - Module 10: Health Promotion
PUBH1000 Slides - Module 10: Health Promotion
JonathanHallett4
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdfGENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
Quiz Club of PSG College of Arts & Science
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 
LDMMIA 2024 Crystal Gold Lecture 1 Bonus
LDMMIA 2024 Crystal Gold Lecture 1 BonusLDMMIA 2024 Crystal Gold Lecture 1 Bonus
LDMMIA 2024 Crystal Gold Lecture 1 Bonus
LDM & Mia eStudios
 
How to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 InventoryHow to Manage Manual Reordering Rule in Odoo 18 Inventory
How to Manage Manual Reordering Rule in Odoo 18 Inventory
Celine George
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...Classification of mental disorder in 5th semester bsc. nursing and also used ...
Classification of mental disorder in 5th semester bsc. nursing and also used ...
parmarjuli1412
 
The Pedagogy We Practice: Best Practices for Critical Instructional Design
The Pedagogy We Practice: Best Practices for Critical Instructional DesignThe Pedagogy We Practice: Best Practices for Critical Instructional Design
The Pedagogy We Practice: Best Practices for Critical Instructional Design
Sean Michael Morris
 
PUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for HealthPUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for Health
JonathanHallett4
 
20250515 Ntegra San Francisco 20250515 v15.pptx
20250515 Ntegra San Francisco 20250515 v15.pptx20250515 Ntegra San Francisco 20250515 v15.pptx
20250515 Ntegra San Francisco 20250515 v15.pptx
home
 
Module_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptxModule_2_Types_and_Approaches_of_Research (2).pptx
Module_2_Types_and_Approaches_of_Research (2).pptx
drroxannekemp
 
Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............Peer Assesment- Libby.docx..............
Peer Assesment- Libby.docx..............
19lburrell
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Rebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter worldRebuilding the library community in a post-Twitter world
Rebuilding the library community in a post-Twitter world
Ned Potter
 
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docxPeer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
Peer Assessment_ Unit 2 Skills Development for Live Performance - for Libby.docx
19lburrell
 
How to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo SlidesHow to Add Button in Chatter in Odoo 18 - Odoo Slides
How to Add Button in Chatter in Odoo 18 - Odoo Slides
Celine George
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
PUBH1000 Slides - Module 10: Health Promotion
PUBH1000 Slides - Module 10: Health PromotionPUBH1000 Slides - Module 10: Health Promotion
PUBH1000 Slides - Module 10: Health Promotion
JonathanHallett4
 
libbys peer assesment.docx..............
libbys peer assesment.docx..............libbys peer assesment.docx..............
libbys peer assesment.docx..............
19lburrell
 
How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
Final Evaluation.docx...........................
Final Evaluation.docx...........................Final Evaluation.docx...........................
Final Evaluation.docx...........................
l1bbyburrell
 

Algorithm and flowchart

  • 2. Algorithm • The word “algorithm” relates to the name of the mathematician Al- khowarizmi, which means a procedure or a technique. Software Engineer commonly uses an algorithm for planning and solving the problems. An algorithm is a sequence of steps to solve a particular problem or algorithm is an ordered set of unambiguous steps that produces a result and terminates in a finite time Bali Thorat
  • 3. Characteristics of Algorithm • Input: An algorithm may or may not require input • Output: Each algorithm is expected to produce at least one result • Definiteness: Each instruction must be clear and unambiguous. • Finiteness: If the instructions of an algorithm are executed, the algorithm should terminate after finite number of steps Bali Thorat
  • 4. Advantages of algorithm • It is a step-wise representation of a solution to a given problem, which makes it easy to understand. • An algorithm uses a definite procedure. • It is not dependent on any programming language, so it is easy to understand for anyone even without programming knowledge. • Every step in an algorithm has its own logical sequence so it is easy to debug. Bali Thorat
  • 5. Disdvantages of Algorithms • Alogorithms is Time consuming. • Difficult to show Branching and Looping in Algorithms. • Big tasks are difficult to put in Algorithms. Bali Thorat
  • 6. Flowchart • The first design of flowchart goes back to 1945 which was designed by John Von Neumann. Unlike an algorithm, Flowchart uses different symbols to design a solution to a problem. It is another commonly used programming tool. By looking at a Flowchart one can understand the operations and sequence of operations performed in a system. Flowchart is often considered as a blueprint of a design used for solving a specific problem. Bali Thorat
  • 7. Advantages • Flowchart is an excellent way of communicating the logic of a program. • Easy and efficient to analyze problem using flowchart. • During program development cycle, the flowchart plays the role of a blueprint, which makes program development process easier. • After successful development of a program, it needs continuous timely maintenance during the course of its operation. The flowchart makes program or system maintenance easier. • It is easy to convert the flowchart into any programming language code. Bali Thorat
  • 8. Flowchart is diagrammatic /Graphical representation of sequence of steps to solve a problem. To draw a flowchart following standard symbols are use Bali Thorat
  • 10. Algorithm to find the sum of two numbers • Algorithm • Step-1 Start • Step-2 Input first numbers say A • Step-3 Input second number say B • Step-4 SUM = A + B • Step-5 Display SUM • Step-6 Stop Bali Thorat
  • 11. Algorithm to convert temperature from Celsius to Fahrenheit • C : temperature in Celsius • F : temperature Fahrenheit • Algorithm • Step-1 Start • Step-2 Input temperature in Celsius say C • Step-3 F = (9.0/5.0 x C) + 32 • Step-4 Display Temperature in Fahrenheit F • Step-5 Stop Bali Thorat
  • 12. Algorithm to convert temperature from Fahrenheit to Celsius • C : temperature in Celsius • F : temperature Fahrenheit • Algorithm • Step-1 Start • Step-2 Input temperature in Fahrenheit say F • Step-3 C = 5.0/9.0 (F - 32 ) • Step-4 Display Temperature in Celsius C • Step-5 Stop Bali Thorat
  • 13. Algorithm to find Area and Perimeter of Square • L : Side Length of Square • AREA : Area of Square • PERIMETER : Perimeter of Square • Algorithm • Step-1 Start • Step-2 Input Side Length of Square say L • Step-3 Area = L x L • Step-4 PERIMETER = 4 x L • Step-5 Display AREA, PERIMETER • Step-6 Stop Bali Thorat
  • 14. Algorithm to find Area and Perimeter of Rectangle • L : Length of Rectangle • B : Breadth of Rectangle • AREA : Area of Rectangle • PERIMETER : Perimeter of Rectangle • Algorithm • Step-1 Start • Step-2 Input Side Length & Breadth say L, B • Step-3 Area = L x B • Step-4 PERIMETER = 2 x ( L + B) • Step-5 Display AREA, PERIMETER • Step-6 Stop Bali Thorat
  • 15. Algorithm to find Area and Perimeter of Circle • R : Radius of Circle • AREA : Area of Circle • PERIMETER : Perimeter of Circle • Algorithm • Step-1 Start • Step-2 Input Radius of Circle say R • Step-3 Area = 22.0/7.0 x R x R • Step-4 PERIMETER = 2 x 22.0/7.0 x R • Step-5 Display AREA, PERIMETER • Step-6 Stop Bali Thorat
  • 16. Algorithm to find Area & Perimeter of Triangle • A : First Side of Triangle • B : Second Side of Triangle • C : Third Side of Triangle • AREA : Area of Triangle • PERIMETER : Perimeter of Triangle • Algorithm • Step-1 Start • Step-2 Input Sides of Triangle A,B,C • Step-3 S= (A + B + C)/ 2.0 • Step-4 AREA = SQRT(S x (S-A) x (S-B) x(S-C)) • Step-5 PERIMETER = S1 + S2 + S3 • Step-6 Display AREA, PERIMETER • Step-7 Stop Bali Thorat
  • 17. Algorithm to Swap Two Numbers using Temporary Variable • Algorithm • Step-1 Start • Step-2 Input Two Numbers Say NUM1,NUM2 • Step-3 Display Before Swap Values NUM1, NUM2 • Step-4 TEMP = NUM1 • Step-5 NUM1 = NUM2 • Step-6 NUM2 = TEMP • Step-7 Display After Swap Values NUM1,NUM • Step-8 Stop Bali Thorat
  • 18. Algorithm & Flowchart to Swap Two Numbers without using temporary variable • Algorithm • Step-1 Start • Step-2 Input Two Numbers Say A,B • Step-3 Display Before Swap Values A, B • Step-4 A = A + B • Step-5 B = A - B • Step-6 A = A - B • Step-7 Display After Swap Values A, B • Step-8 Stop Bali Thorat
  • 19. Algorithm to find the smallest of two numbers • Step-1 Start • Step-2 Input two numbers say NUM1,NUM2 • Step-3 IF NUM1 < NUM2 THEN • print smallest is NUM1 • ELSE • print smallest is NUM2 • ENDIF • Step-4 Stop Bali Thorat