0% found this document useful (0 votes)
8 views2 pages

Design Methods Algorithm Flowchart Pseudocode

The document outlines three design methods: algorithms, flowcharts, and pseudocode. An algorithm is a step-by-step procedure for solving problems, while a flowchart visually represents processes using symbols. Pseudocode combines plain English with programming structure to prepare for coding, and a comparison table highlights the purpose and best use for each method.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Design Methods Algorithm Flowchart Pseudocode

The document outlines three design methods: algorithms, flowcharts, and pseudocode. An algorithm is a step-by-step procedure for solving problems, while a flowchart visually represents processes using symbols. Pseudocode combines plain English with programming structure to prepare for coding, and a comparison table highlights the purpose and best use for each method.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Design Methods: Algorithm, Flowchart, and Pseudocode

1. Algorithm

Definition:

An algorithm is a step-by-step procedure or set of rules to solve a specific problem.

Example - Algorithm to find the largest of two numbers:

Step 1: Start

Step 2: Input number A and number B

Step 3: If A > B, then print A is larger

Step 4: Else, print B is larger

Step 5: Stop

2. Flowchart

Definition:

A flowchart is a visual diagram that represents the sequence of steps in a process using symbols.

Flowchart Symbols:

- Terminator: Start/End

- Process: Action or instruction

- Decision: Yes/No or True/False condition

- Arrows: Show flow direction

Example - Flowchart for finding the largest of two numbers:

[Start]

[Input A, B]

[A > B ?]
Design Methods: Algorithm, Flowchart, and Pseudocode

/ \

Yes No

/ \

[A is >] [B is >]

\ /

[End]

3. Pseudocode

Definition:

Pseudocode is a way of writing algorithms in plain English mixed with programming structure - not actual code, but easy

to convert into one.

Example - Pseudocode for largest of two numbers:

Start

Input A, B

If A > B then

Display "A is greater"

Else

Display "B is greater"

End

Comparison Table

Design Method | Purpose | Format | Best For

--------------|----------------------|----------------|--------------------------

Algorithm | Logical solution | Written steps | Planning logic clearly

Flowchart | Visualizing process | Diagram | Presenting or teaching logic

Pseudocode | Bridging logic & code| Structured text| Preparing to code

You might also like