2. Problem Solving With Algorithms Flashcards
PDLC stands for
Program Development Life Cycle
Elements in PLDC
Analysis (WHAT) - gather user requirements
Design (HOW) - Algorithm Design (using
flowchart, pseudocode, or
other design tools.)
Development (CODE) - Algorithm Design (using
flowchart, pseudocode, or
other design tools.)
Testing (CORRECTNESS) - Check program’s output and debug when needed.
• Repeat Phase 1 if
enhancements are
required
Documentation (RECALL) -Generate written documentations.
• Improve source code
comments
How to represent algorithms
Pseudocode
Flowchart
Program
Pseudocode
•Informal, high-level description of an algorithm.
•Not executable by computers.
•Allows precise description of algorithm without
worrying about the a programming language’s
syntax
Arrow is
Terminal - connects symbols to show the flow of algo
Elips is
Terminal - Start/End
Parallelogram is
Input/Output
Rectangle is
Process - process/action
circle is
connector
diamond is
decision - yes/no questions to be ans