Algorithms-Pseudocode-and-Flowchart-1
Algorithms-Pseudocode-and-Flowchart-1
Algorithms
▪ An algorithm is a set of defined, step-by-step instructions or rules designed to perform a specific task
or solve a problem.
▪ It is the basis of programming and problem-solving in computer science.
▪ Algorithms are written in a way that can be translated into code.
Pseudocode
▪ Pseudocode is a simplified, informal way of writing down the logic of algorithms using human-readable
language rather than code.
▪ It is not constrained by any specific programming language syntax and serves as an intermediate step
in converting an algorithm into code.
Flowcharts
▪ A flowchart is a visual representation of the steps involved in a process or algorithm.
▪ It uses standard symbols like arrows, diamonds, and rectangles to illustrate the flow of control in a
system.
▪ Flowcharts are helpful for understanding the overall structure of a process before implementing it in
code.
Reference: https://www.smartdraw.com/flowchart/flowchart-symbols.htm
TYPES OF FLOWCHARTS
1. Process Flowchart - describes the sequence of steps in a process or system. It focuses on tasks and
decision points in a process.
2. Swimlane Flowchart - a specialized process flowchart that delineates who does what in a process. Each
"lane" represents an individual, group, or department.
3. Workflow Flowchart - depicts the workflow of a particular business process, including roles,
responsibilities, and task sequences.
4. Data Flow Diagram (DFD) - Represents the flow of data within a system. It focuses on how data moves
between processes, data stores, and external entities.