Which of these remarks about patterns is correct?
a. Design patterns are restricted to an official list of particular programming languages, of which C++ is one.
b. A pattern is a design principle that solves a problem that occurs repeatedly.
c. Patterns are so general they need not make assumptions about the application to which it is being applied.
d. Patterns can help organize the presentation an understanding of ideas about software.
Parts b) and d) are correct.
Explanation:
Part a) is wrong. Pattern use is not restricted to any particular language, so long as support for classes and inheritance is available. Part c) is wrong, to be substantive, the pattern must make some assumptions about the domain of the problem to which the pattern is to be applied.
Computer Science & Information Technology