Loading, please wait ...

Multiple Choice Questions for Design Patterns

  • ×

    Hidden Questions!

    Some MCQs are not visible. Usually teachers hides their visibility if they are few in number. Subject Expert recommends them to have more than 70+ questions against the topic and make them public.

  • 1 A short statement that tells what the design pattern does is
    1. Intent
    2. Structure
    3. Motivation
    4. Applicability

  • 2 Which of the following is not a common designing problem:
    1. Loose coupling
    2. Extending functionality by sub-classing
    3. Dependence on object representations or implementations.
    4. Dependence on specific operations

  • 3 Which category of designs pattern concern with the process of object creation?
    1. Creational
    2. Structural
    3. Behaviour
    4. All Of Above

  • 4 Life / existence of the objects are independent of each other, But one object is playing the role of Owner of the other object
    1. Association
    2. Aggregation
    3. Composition
    4. none of these

  • 5 If a line points from a class to another class with an unfilled diamond then its:
    1. Aggregation
    2. Association
    3. Composition
    4. Inheritance

  • 6 Which one is represented by the line with filled diamond.
    1. inheritance
    2. Association
    3. Composition
    4. Interface

  • 7 Which of the following is represented by a line between two classes?
    1. Interface
    2. Association
    3. Aggregation
    4. Composition

  • 8 If a class A uses Class B for example Student uses University Bus for traveling is:
    1. Dependency
    2. Inheritance
    3. Association
    4. Composition

  • 9 Design patterns are valuable information, If they were undocumented then what are its effect?
    1. Designer will repeat old mistakes
    2. Lake of designing skills
    3. Chances of Open closed principle violation
    4. All of the above

  • 10 What makes the system and its architecture becomes more simple, maintainable, flexible and efficient
    1. Code reuse
    2. OOP Language
    3. Design Patterns
    4. None

Contact Us

Write to Us View Help
Subject Expert Logo

Subject Expert

Learn, Evaluate and Optimize

Follow Us
Facebook Switch Display Mode Enable Translation
© 2024 - Subject Expert