Srm University Faculty of Engineering and Technology
Total Page:16
File Type:pdf, Size:1020Kb
SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF SWE COURSE PLAN Course Code : CS0373 Course Title : DESIGN PATTERNS Semester : VII Course Time : July – December 2014 C Day Hour Timing Day 1 6 2.20 to 3.10 Day 3 5 1.30 to 2.20 Day 5 3,5 10.35 to 11.25 and 1.30 to 2.20 Location : S.R.M.E.C – University Building (12 th Floor) Faculty Details Sec. Name Office Office hour Mail id Ms. Cinza Susan University Monday to Friday [email protected] Abraham Building Required Text Books: TEXT BOOK 1Alan Shalloway, James Trott, “Design Patterns Explained: A New Perspective on Object- Oriented Design”,Addison-Wesley, 2005 2. Joshua Kerievsky, “Refactoring to Patterns”, Addison-Wesley, 2004 REFERENCE BOOKS 1. Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, “Design Patterns : Elements of Reusable Object-Oriented Software”, Addison-Wesley, 1995. 2. Eric Freeman, Elisabeth Freeman, Kathy Sierra, Bert Bates, “Head First Design Patterns”, O'Reilly Media, Inc., 2004. 3. Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts.“Refactoring: Improving the Design of Existing Code”, Addison-Wesley, 1999. Prerequisite : Software Engineering Principles Software Architecture Software Design Objectives This course introduces the students to 1. Understand and be able to apply incremental/iterative development 2. Understand common design patterns 3. Be able to identify appropriate design patterns for various problems 4. Be able to refactor poorly designed program by using appropriate design patterns. Assessment Details Cycle Test 1 : 10 Marks Cyle Test II : 10 Marks Model Exam : 20 Marks Surprise Test : 5 Marks Attendance : 5 Marks Test Schedule S.No. DATE TEST TOPICS DURATION 1 Cycle Test - I Units 1 and 2 2 periods 2 Cycle Test - II Units 3 and 4 2 periods 3 Model Exam Units 1 to 5 3 Hrs Outcomes Students who have successfully completed this course will have full understanding of the following concepts Course outcome Program outcome To learn Importance of Design Patterns An ability to understand Design Patterns. To understand how design patterns can be About Object-oriented Paradigms implemented in Object oriented programming. To understand open-closed principle and how to About Principles and Strategies of Design Patterns design solutions from the context. An Ability to refactor poorly designed solutions About applying Design Patterns by using the appropriate design pattern. Detailed Session Plan UNIT 1 – INTRODUCTION TO SOFTWARE DEVELOPMENT 9 Overview - Functional Decomposition - Problem of Requirements - Using Functional Decomposition - Object-Oriented Paradigm - Special Object Methods. UML - Class Diagram - Interaction Diagrams. Standard Object-Oriented Solution Session Time Teaching Topics to be covered Ref Testing Method No. (min) Method Overview Group discussion 1 50 1 BB 2 Functional Decomposition 50 1 BB Quiz 3 Problem of Requirement 50 1 BB Quiz 4 Using Functional Decomposition 50 1 BB Quiz Object – oriented Paradigm Quiz 5 50 1 BB Special Object Methods Quiz 6 50 1 BB Objective type test UML – Class diagrams and Interaction Quiz, Assignment 7 50 1 BB Diagrams Standard Object-oriented Solution Group discussion 8 50 1 BB Quiz UNIT 2 INTRODUCTION TO DESIGN PATTERNS 9 Design Patterns Arose from Architecture and Anthropology - Architectural to Software Design Patterns - Advantages of Design Patterns - Adapter Pattern - Strategy Pattern - Bridge Pattern - Abstract Factory Pattern Design Patterns Arose from Group discussion 10 50 1 BB Architecture and Anthropology Quiz Architectural to Software Design Objective type test 11 50 1 BB Patterns Quiz Advantages of Design Patterns Quiz 12 50 1 BB Adapter Pattern Quiz 13 50 1 BB Strategy Pattern Quiz 14 50 1 BB Bridge Pattern Quiz 15 50 1 BB Objective type test Abstract Factory Pattern Quiz, Assignment 16 50 1 BB UNIT 3 NEW PARADIGM OF DESIGN 9 Principles and Strategies of Design Patterns - Open-Closed Principle - Designing from Context – Encapsulating Variation. Commonality and Variability Analysis - Analysis Matrix - Decorator Pattern Principles and Strategies of Design Group discussion 19 50 1 BB Patterns Quiz Open-Closed Principle Objective type test 20 50 1 BB Quiz Designing from Context Quiz 21 50 1 BB Encapsulating Variation Quiz 22 50 1 BB Commonality and Variability Analysis 23 50 1 BB Quiz Analysis Matrix Quiz 24 50 1 BB Objective type test Decorative Pattern Quiz, Assignment 25 50 1 BB UNIT 4 VALUES OF PATTERNS 9 Observer Pattern - Categories of Patterns - Template Method Pattern - Applying the Template Method to the Case Study - Using Template Method Pattern to Reduce Redundancy Observer Pattern Group discussion 28 50 1 BB Quiz Categories of Patterns Objective type test 29 50 1 BB Quiz Template Method Pattern Quiz 30 50 1 BB Applying the Template Method to the Quiz 31 50 1 BB Case Study Case Study Using the Template Method Pattern to 32 reduce Redundancy 50 1 BB Quiz UNIT 5 FACTORIES 9 Design Patterns: Factories - Singleton Pattern and the Double-Checked Locking Pattern - Applying Singleton Pattern to Case Study. Object Pool Pattern - Management of Objects. Factory Method Pattern - Factory Method Pattern and Object-Oriented Languages Factory Pattern Group discussion 1 50 2 BB Quiz Singleton Pattern and the Double- Objective type test 2 50 2 BB Checked Locking Pattern Quiz Applying Singleton Pattern to Case Quiz 3 50 2 BB Study Object Pool Pattern Quiz 4 50 2 BB Management of Objects 5 50 2 BB Quiz Factory Method Pattern and Object Quiz 6 50 2 BB Oriented Languages Objective type test Prepared by : Cinza Susan Abraham Signature : Date : 19/6/14 Signature of the HOD .