Final answer:
A framework is a collection of pre-written code and guidelines for building applications. A library provides specific functionalities for developers to use. A design pattern is a reusable solution for common software design problems.
Step-by-step explanation:
A framework is a collection of pre-written code and tools that provide a foundation for building applications. It offers a structure and guidelines on how to write code for a specific purpose.
A library is a collection of pre-written code that provides specific functionalities that can be used by developers in their applications.
A design pattern is a general reusable solution to a commonly occurring problem in software design. It provides a template or blueprint that can be applied to solve similar problems in different contexts.