Intro to PEDAC (and Algorithms)
with Carmen Salas • 2024/10/28
What is PEDAC?
A problem solving tool
Split into two:
Proecssing the Problem (PEDA)
Coding with Intent (C)
helps save time, catch edge cases, write high-quality algos, build technical communication skills
P - Problem
Identifying expected inputs and outputs
Make the requirements explicit
Create a mental model of the problem
E - Examples/Edge Cases
Write your own example to validate understanding of the problem
Test what may be edge cases
D - Data Structure
Describing what you will use, and why
A - Algorithm
Writing out the solution step-by-step, usually with pseudocode
Formal definition: A set of instructions designed to perform a specific task.
C - Code
finally doing it
Last updated