**Decomposition** is one of the four **cornerstones** of Computer Science. It involves **breaking down** a **complex** problem or system into **smaller parts** that are more **manageable** and easier to understand. The smaller parts can then be examined and solved or **designed individually.**
2
New cards
How is decomposition used in code?
\ Decomposition in code is breaking down complex problems into smaller parts, which can be solved independently, making the code easier to organize, reuse, and maintain.
3
New cards
What the advantage of decomposition?
* Easy to understand * Manageable * Increase efficiency productivity * Designed individually
4
New cards
What the disadvantage of decomposition?
* Take longer because everyone wants to share their methods * It is like a dictatorship!