Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
20 views

Introduction To Algorithm and Flowchart

Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Introduction To Algorithm and Flowchart

Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Introduction

to Algorithm
and
Flowchart
ICT
Algorith
m
•a step-by-step
procedure or set of
instructions used to
solve a problem or
perform a specific task.
It is a finite sequence
of well-defined,
unambiguous, and
executable steps or
instructions that
transform an input into
an output.

.
Flowchart
• A flowchart is the
graphical or
pictorial
representation of
an algorithm with
the help of different
symbols, shapes,
and arrows to
demonstrate a
process or a
program. With
algorithms, we can
easily understand a
program
Flowcharts and algorithms are important in programming
for several reasons:
• Problem-solving: Algorithms and flowcharts provide a structured
approach to solving problems in computer science.
• Effi ciency: Algorithms are designed to solve problems in the most
efficient way possible, which helps reduce the time and resources
required to complete a task.
• Debugging and Troubleshooting: Flowcharts and algorithms can be
used to help identify and diagnose problems with a program. By tracing
the logic of the program through the flowchart or algorithm,
programmers can identify areas where the program may be behaving
unexpectedly or where errors may be occurring.
Difference between Algorithm and Flowchart
Program
Is a set of specific instructions that
tell computers what to do. If done
correctly, the computer executes the
program. The Process of creating a
set of instructions or program is
known as programming. It also
referred to as coding.
Coding
We use programming language are
also referred to as codes. Examples
of programming languages are
Python, C++ and C# and many
more.
Summary
• Fromthe above, we can come to the conclusion
that a flowchart is a pictorial representation of
an algorithm, an algorithm can be expressed
and analysed through a flowchart. An algorithm
shows you every step of reaching the final
solution, while a flowchart shows you how to
carry out the process by connecting each step.
An algorithm uses mainly words to describe the
steps while you can create a flowchart with
flowchart symbols to make the process more

You might also like