DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

Similar documents
DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III

C# MOCK TEST C# MOCK TEST II

DESIGN PATTERN - INTERVIEW QUESTIONS

Design Pattern. CMPSC 487 Lecture 10 Topics: Design Patterns: Elements of Reusable Object-Oriented Software (Gamma, et al.)

SDC Design patterns GoF

DB2 MOCK TEST DB2 MOCK TEST I

JAVA MOCK TEST JAVA MOCK TEST III

Produced by. Design Patterns. MSc in Communications Software. Eamonn de Leastar

EPL 603 TOPICS IN SOFTWARE ENGINEERING. Lab 6: Design Patterns

MAVEN MOCK TEST MAVEN MOCK TEST I

PERL MOCK TEST PERL MOCK TEST II

ANGULARJS - MOCK TEST ANGULARJS MOCK TEST II

JAVA MOCK TEST JAVA MOCK TEST IV

CICS MOCK TEST CICS MOCK TEST I

Object-Oriented Design

Object-oriented Software Design Patterns

The Strategy Pattern Design Principle: Design Principle: Design Principle:

EJB MOCK TEST EJB MOCK TEST IV

HIVE MOCK TEST HIVE MOCK TEST III

COBOL MOCK TEST COBOL MOCK TEST III

Object-Oriented Oriented Programming

MAVEN MOCK TEST MAVEN MOCK TEST IV

PYTHON MOCK TEST PYTHON MOCK TEST III

Design Patterns. Manuel Mastrofini. Systems Engineering and Web Services. University of Rome Tor Vergata June 2011

JSP MOCK TEST JSP MOCK TEST III

JAVA MOCK TEST JAVA MOCK TEST II

Design Patterns. SE3A04 Tutorial. Jason Jaskolka

Socket attaches to a Ratchet. 2) Bridge Decouple an abstraction from its implementation so that the two can vary independently.

C# MOCK TEST C# MOCK TEST I

Design patterns. Jef De Smedt Beta VZW

HTML5 MOCK TEST HTML5 MOCK TEST I

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

JCL MOCK TEST JCL MOCK TEST III

NODE.JS MOCK TEST NODE.JS MOCK TEST IV

CSCI 253. Overview. The Elements of a Design Pattern. George Blankenship 1. Object Oriented Design: Iterator Pattern George Blankenship

JAVASCRIPT MOCK TEST JAVASCRIPT MOCK TEST I

UNIT I Introduction to Design Patterns

Using Design Patterns in Java Application Development

Software Design COSC 4353/6353 D R. R A J S I N G H

CSS MOCK TEST CSS MOCK TEST III

Design Patterns. An introduction

Software Design Patterns. Background 1. Background 2. Jonathan I. Maletic, Ph.D.

GO MOCK TEST GO MOCK TEST I

NODE.JS MOCK TEST NODE.JS MOCK TEST I

MAVEN MOCK TEST MAVEN MOCK TEST III

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

HIBERNATE MOCK TEST HIBERNATE MOCK TEST II

Topics. Software Process. Agile. Requirements. Basic Design. Modular Design. Design Patterns. Testing. Quality. Refactoring.

PL/SQL MOCK TEST PL/SQL MOCK TEST IV

Brief Note on Design Pattern

Ingegneria del Software Corso di Laurea in Informatica per il Management. Design Patterns part 1

JSP MOCK TEST JSP MOCK TEST IV

Applying the Observer Design Pattern

Design Patterns: Structural and Behavioural

Applying Design Patterns to SCA Implementations

CSCD01 Engineering Large Software Systems. Design Patterns. Joe Bettridge. Winter With thanks to Anya Tafliovich

Design Patterns. (and anti-patterns)

Object Oriented Methods with UML. Introduction to Design Patterns- Lecture 8

What is Design Patterns?

JCL MOCK TEST JCL MOCK TEST IV

1 Software Architecture

UNIT I Introduction to Design Patterns

Slide 1. Design Patterns. Prof. Mirco Tribastone, Ph.D

HBASE MOCK TEST HBASE MOCK TEST III

Introduction to Software Engineering: Object Design I Reuse & Patterns

MVC. Model-View-Controller. Design Patterns. Certain programs reuse the same basic structure or set of ideas

VB.NET MOCK TEST VB.NET MOCK TEST III

JDBC MOCK TEST JDBC MOCK TEST IV

Design Patterns. Manuel Mastrofini. Systems Engineering and Web Services. University of Rome Tor Vergata June 2011

Object Oriented Paradigm

TDDB84. Lecture 2. fredag 6 september 13

Application Architectures, Design Patterns

Trusted Components. Reuse, Contracts and Patterns. Prof. Dr. Bertrand Meyer Dr. Karine Arnout

CSCI Object Oriented Design: Frameworks and Design Patterns George Blankenship. Frameworks and Design George Blankenship 1

NODE.JS MOCK TEST NODE.JS MOCK TEST II

Lecture 4: Observer Pattern, Event Library and Componentization

Produced by. Design Patterns. MSc in Communications Software. Eamonn de Leastar

QC MOCK TEST QC MOCK TEST

Keywords: Abstract Factory, Singleton, Factory Method, Prototype, Builder, Composite, Flyweight, Decorator.

Applying the Decorator Design Pattern

UP Requirements. Software Design - Dr Eitan Hadar (c) Activities of greater emphasis in this book. UP Workflows. Business Modeling.

SYLLABUS CHAPTER - 1 [SOFTWARE REUSE SUCCESS FACTORS] Reuse Driven Software Engineering is a Business

ANDROID MOCK TEST ANDROID MOCK TEST IV

A Reconnaissance on Design Patterns

GWT MOCK TEST GWT MOCK TEST I

The Design Patterns Matrix From Analysis to Implementation

R07. IV B.Tech. II Semester Supplementary Examinations, July, 2011

INSTITUTE OF AERONAUTICAL ENGINEERING

Software Eningeering. Lecture 9 Design Patterns 2

Applying the Factory Method Design Pattern

Design Patterns Lecture 2

Tuesday, October 4. Announcements

VB.NET MOCK TEST VB.NET MOCK TEST I

Information systems modelling UML and service description languages

Design Pattern What is a Design Pattern? Design Pattern Elements. Almas Ansari Page 1

CSSE 374: More Object Design with Gang of Four Design Patterns

3 Product Management Anti-Patterns by Thomas Schranz

CSCD01 Engineering Large Software Systems. Design Patterns. Joe Bettridge. Winter With thanks to Anya Tafliovich

Modellistica Medica. Maria Grazia Pia, INFN Genova. Scuola di Specializzazione in Fisica Sanitaria Genova Anno Accademico

Software Development Project. Kazi Masudul Alam

Transcription:

http://www.tutorialspoint.com DESIGN PATTERNS MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Design Patterns Framework. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself. DESIGN PATTERNS MOCK TEST II Q 1 - Which of the following describes the Composite pattern correctly? A - This pattern builds a complex object using simple objects and using a step by step approach. C - This pattern hides the complexities of the system and provides an interface to the client using Q 2 - Which of the following describes the Decorator pattern correctly? A - This pattern allows a user to add new functionality to an existing object without altering its structure. C - This pattern hides the complexities of the system and provides an interface to the client using Q 3 - Which of the following describes the Facade pattern correctly? A - This pattern allows a user to add new functionality to an existing object without altering its structure.

C - This pattern hides the complexities of the system and provides an interface to the client using Q 4 - Which of the following describes the Flyweight pattern correctly? A - This pattern allows a user to add new functionality to an existing object without altering its structure. C - This pattern hides the complexities of the system and provides an interface to the client using Q 5 - Which of the following pattern is used where we need to treat a group of objects in similar way as a single object? B - Facade Pattern Q 6 - Which of the following pattern allows a user to add new functionality to an existing object without altering its structure? B - Facade Pattern Q 7 - Which of the following pattern hides the complexities of the system and provides an interface to the client using which the client can access the system? B - Facade Pattern Q 8 - Which of the following pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance?

B - Facade Pattern Q 9 - Which of the following describes the Proxy pattern correctly? Q 10 - Which of the following describes the Chain of Responsibility pattern correctly? Q 11 - Which of the following describes the Command pattern correctly? Q 12 - Which of the following describes the Interpreter pattern correctly? Q 13 - In which of the following pattern a class represents functionality of another class?

D - Interpreter Pattern Q 14 - Which of the following pattern creates a chain of receiver objects for a request? D - Interpreter Pattern Q 15 - Which of the following pattern provides a way to evaluate language grammar or expression? D - Interpreter Pattern Q 16 - Which of the following pattern a request is wrapped under an object as command and passed to invoker object? D - Interpreter Pattern Q 17 - Which of the following describes the Iterator pattern correctly? object is modified, its depenedent objects are to be notified automatically. Q 18 - Which of the following describes the Mediator pattern correctly?

object is modified, its depenedent objects are to be notified automatically. Q 19 - Which of the following describes the Memento pattern correctly? object is modified, its depenedent objects are to be notified automatically. Q 20 - Which of the following describes the Observer pattern correctly? object is modified, its depenedent objects are to be notified automatically. Q 21 - Which of the following pattern is used to get a way to access the elements of a collection object in sequential manner without any need to know its underlying representation? C - Memento Pattern Q 22 - Which of the following pattern is used to reduce communication complexity between multiple objects or classes? C - Memento Pattern Q 23 - Which of the following pattern is used to restore state of an object to a previous state?

C - Memento Pattern Q 24 - Which of the following pattern is used when there is one-to-many relationship between objects such as if one object is modified, its depenedent objects are to be notified automatically? C - Memento Pattern Q 25 - Which of the following describes the State pattern correctly? A - In this pattern, a class behavior changes based on its state. B - In this pattern, a null object replaces check of NULL object instance. C - In this pattern, a class behavior or its algorithm can be changed at run time. D - In this pattern, an abstract class exposes defined ways/templates to execute its methods. ANSWER SHEET Question Number Answer Key 1 B 2 A 3 C 4 C 5 A 6 D 7 B 8 C 9 A 10 B 11 D 12 C 13 A 14 B 15 D 16 C

17 A 18 B 19 C 20 D 21 A 22 B 23 C 24 A 25 A Loading [MathJax]/jax/output/HTML-CSS/jax.js