The correct statements about design patterns are:A. Design patterns are not invented but discovered. - Design patterns represent solutions to common design problems and are derived from repeated experiences and observations in software development rather than being invented.B. Design patterns should always be described alongside the problem they are supposed to solve. - A fundamental aspect of using design patterns is understanding the specific problem a pattern addresses, which helps in applying the pattern effectively in relevant scenarios.
Questions # 12:
Which elements should be defined in the white-box view of a software building block 'foo'? Select the three most important elements. (Choose three.).
Options:
A.
The dependencies of the internal building blocks of 'foo'
B.
The legal contracts with the suppliers of the internal building blocks of 'foo'
C.
The algorithms of the internal building blocks of 'foo'
D.
The internal building blocks of 'foo'
E.
The rationale for the decomposition of the building block
F.
The sizes (in lines of code) of the internal building blocks of 'foo'
The white-box view of a software building block provides an in-depth perspective on the internal structure and behavior of the building block.
A: The dependencies of the internal building blocks of 'foo' are crucial for understanding how changes in one part affect others and for managing future modifications.
C: The algorithms of the internal building blocks of 'foo' give insight into the logic and operations performed within the block, which is essential for performance analysis and optimization.
D: The internal building blocks of 'foo' describe the finer-grained components or modules within 'foo', detailing their responsibilities and interactions, fundamental for detailed design and implementation.