ITELEC2C: Prelims Period
All of the above.
Which of the following is correct about Factory design pattern.
True
In MVC pattern, View represents the visualization of the data that model contains.
Creational, Structural and Behavioral patterns.
Which of the following is correct list of classifications of design patterns.
Factory Pattern
Which of the following pattern creates object without exposing the creation logic to the client and refer to newly created object using a common interface?
True
In MVC pattern, Model represents an object or JAVA POJO carrying data. It can also have logic to update controller if its data changes.
Abstract Factory Pattern
In which of the following pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes?
True
Integer.valueOf is an example of Factory pattern.
Four authors of Book 'Design Patterns - Elements of Reusable Object-Oriented Software' are known as Gang of Four (GOF).
What is Gang of Four (GOF)?
In this pattern an interface is responsible for creating a factory of related objects without explicitly specifying their classes.
Which of the following describes the Abstract Factory pattern correctly?
This type of pattern are specifically concerned with communication between objects.
Which of the following describes the Behavioral pattern correctly?
This type of patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new operator
Which of the following describes the Creational pattern correctly?
This pattern creates object without exposing the creation logic to the client and refer to newly created object using a common interface.
Which of the following describes the Factory pattern correctly?
This type of pattern are specifically concerned with the presentation tier.
Which of the following describes the J2EE pattern correctly?
This type of patterns concern class and object composition. Concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities.
Which of the following describes the Structural pattern correctly?
All of the above.
Which of the following is correct about Abstract Factory design pattern.
These design patterns are specifically concerned with communication between objects.
Which of the following is correct about Behavioral design patterns.
These design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new operator.
Which of the following is correct about Creational design patterns.
These design patterns concern class and object composition. Concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities.
Which of the following is correct about Structural design patterns.
Model, View, Controller
Which of the following is the correct list of entities of MVC pattern?
All of the above.
Which of the following is true about design patterns?
Behavioral Design Pattern
Which type of design patterns are specifically concerned with communication between objects?
J2EE Design Patterns
Which type of design patterns are specifically concerned with the presentation tier?
Structural Design Patterns
Which type of design patterns concern class and object composition?
Creational Design Patterns
Which type of design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new operator?