True/False Questions for Design Patterns

  • 1 Encapsulation and Information hiding both cannot limit the effect of change. False View Answer

  • 2 Design patterns are different from code reuse True View Answer

  • 3 With tight coupling you can't change a class without understanding and changing many other classes True View Answer

  • 4 Creational pattern abstract the objects instantiation process. They help make a system independent of how its objects are created, composed, and represented. True View Answer

  • 5 Design pattern is a solution to a problem that occurs repeatedly in a variety of contexts. True View Answer

  • 6 Design patterns does not follow the concept of software reuse. False View Answer

  • 7 Aggregation used when life of object is dependent of container object. False View Answer

  • 8 Good designers solve every problem from scratch. False View Answer

  • 9 Design patterns identify, name and abstract common themes in object oriented design True View Answer

  • 10 Particular implementation refers you to create an object by specifying a class explicitly True View Answer

  • 11 You can solve the problem of Algorithmic dependency by using Abstract Factory design pattern. False View Answer

  • 12 If we have inheritance then its hard to modify or extend the available functions. False View Answer

  • 13 Inheritance makes new implementation easy since most of the functionality is already available. True View Answer

  • 14 Composition helps in black-box reuse, since internal details of contained objects are not visible. True View Answer

  • 15 Design patterns may be general or application dependent. True View Answer

  • 16 Design patterns is same to code reuse. False View Answer

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert