Flowcharts and Pseudocode
Diagrams and plain-language code plan algorithms.
About this topic
Flowcharts and pseudocode are ways to plan an algorithm before writing real code. A flowchart uses shapes and arrows: ovals for start and end, rectangles for processes, parallelograms for input and output, and diamonds for decisions with yes and no branches. Pseudocode describes steps in structured, language-like English without worrying about exact syntax.
For example, an algorithm to check pass or fail in pseudocode might read: INPUT mark; IF mark is at least 50 THEN OUTPUT Pass ELSE OUTPUT Fail. In a flowchart, a diamond asks whether the mark is at least 50, with two arrows leading to the two outputs. Loops appear as arrows that return to an earlier step.
These tools help you think clearly, spot mistakes early and communicate with teammates who use other languages. A common mistake is writing pseudocode that is too close to a specific language or too vague to follow. Another is a flowchart with a decision that has only one exit. Use consistent words such as INPUT, OUTPUT, IF, WHILE and FOR. Trace your plan with sample data before coding.
Key ideas
- Ovals start/stop
- Rectangles process
- Diamonds decide
Quick check
Use cases: where Flowcharts and Pseudocode helps
- Homework: review the key idea behind Flowcharts and Pseudocode before you start a problem set.
- Exam revision: use the quick check to test whether you can recall Flowcharts and Pseudocode without notes.
- Visual learning: play with the interactive lab to see how Flowcharts and Pseudocode changes when you adjust its inputs.
- Teaching a friend: explain Flowcharts and Pseudocode in your own words, then compare your version with the key ideas.
Computing ideas run phones, search engines, games and the wider internet.
Frequently asked questions
What is Flowcharts and Pseudocode?
Diagrams and plain-language code plan algorithms.
What will I learn in Flowcharts and Pseudocode?
Ovals start/stop. Rectangles process. Diamonds decide.
Is Flowcharts and Pseudocode part of Computer Science?
Yes. It is one of 80 Computer Science topics on LearnViz HighSchoolEdu, with 3 key ideas, a live animation and a quick check.
Does the Flowcharts and Pseudocode lab work on a phone or tablet?
Yes. The animation resizes to fit your screen and supports touch, so you can drag, tap and slide with your finger.
How should I study Flowcharts and Pseudocode?
Read the summary and key ideas first, play with the interactive lab to see the idea in motion, then answer the quick check. If you get a question wrong, go back to the key idea it tests.
Do I need an account, and is my progress saved?
No account is needed. Marking a topic as learned is saved in your own browser, so it stays on that device and is not sent to a server.