Unit Wise Questions. Unit-1 Concepts

Similar documents
Oral Questions. Unit-1 Concepts. Oral Question/Assignment/Gate Question with Answer

Object-Oriented Analysis and Design Using UML (OO-226)

Architectural Blueprint

Chapter 10. Object-Oriented Analysis and Modeling Using the UML. McGraw-Hill/Irwin

SDC Design patterns GoF

UNIT I. 3. Write a short notes on process view of 4+1 architecture. 4. Why is object-oriented approach superior to procedural approach?

Agile Model-Driven Development with UML 2.0 SCOTT W. AM BLER. Foreword by Randy Miller UNIFIED 1420 MODELING LANGUAGE. gile 1.

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

Ans 1-j)True, these diagrams show a set of classes, interfaces and collaborations and their relationships.

Object-Oriented Analysis and Design Using UML

administrivia today UML start design patterns Tuesday, September 28, 2010

University of Calgary Department of Electrical and Computer Engineering. SENG : Object Oriented Analysis and Design Behrouz Homayoun Far

May Comp-B 11, Advanced Software Design. 3 hours duration

Idioms and Design Patterns. Martin Skogevall IDE, Mälardalen University

UNIT I Introduction to Design Patterns

UML Primer. -Elango Sundaram

Architectural Blueprint The 4+1 View Model of Software Architecture. Philippe Kruchten

Design Patterns. An introduction

7. UML Sequence Diagrams Page 1 of 1

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

Appendix A - Glossary(of OO software term s)

SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY

UNIT I Introduction to Design Patterns

Design Patterns. Observations. Electrical Engineering Patterns. Mechanical Engineering Patterns

Software Engineering Lab Manual

Summary of the course lectures

SOFTWARE ENGINEERING UML FUNDAMENTALS. Saulius Ragaišis.

S1 Informatic Engineering

LABORATORY 1 REVISION

Experiment no 4 Study of Class Diagram in Rational Rose

SE Assignment III. 1. List and explain primitive symbols used for constructing DFDs. Illustrate the use of these symbols with the help of an example.

Topics in Object-Oriented Design Patterns

Object-Oriented Systems Analysis and Design Using UML

UNIT 1-UMAL DIAGRAMS. Q.No. Question Competence Level. 1 What is Object Oriented analysis & Design? Remembering BTL1

Object-Oriented Oriented Programming

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

INSTITUTE OF AERONAUTICAL ENGINEERING

Patterns Architectural Styles Archetypes

CS487 Midterm Exam Summer 2005

CS 370 REVIEW: UML Diagrams D R. M I C H A E L J. R E A L E F A L L

Software Engineering with Objects and Components Open Issues and Course Summary

The three element types, connected by relations, can form sentences of sorts.

CHAPTER 9 DESIGN ENGINEERING. Overview

Objectives. Explain the purpose and objectives of objectoriented. Develop design class diagrams

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

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

Hippo Software BPMN and UML Training

Unified Modeling Language (UML)

Today s Agenda UML. CompSci 280 S Introduction to Software Development. 1.Introduction UML Diagrams. Topics: Reading:

VALLIAMMAI ENGINEERING COLLEGE

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

Design Patterns. Dr. Rania Khairy. Software Engineering and Development Tool

Computer Programming II C++ (830)

Enterprise Architecture Views and Viewpoints in ArchiMate - Reference

Lab Manual. Object Oriented Analysis And Design. TE(Computer) VI semester

ArchiMate symbols for relating system elements

Computer Programming II Python

Information systems modelling UML and service description languages

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

*ANSWERS * **********************************

Examples. Object Orientated Analysis and Design. Benjamin Kenwright

OBJECT ORIENTED DESIGN with the Unified Process. Use Case Realization

Exam in TDDB84: Design Patterns,

Introduction to Software Engineering. 5. Modeling Objects and Classes

Alignment of Business and IT - ArchiMate. Dr. Barbara Re

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

UML diagrams. Software artifacts include: SRS, SDS, test cases, source code, technical/user manual, software architecture, etc.

System Analysis and Design

Review on UML CASE Tools

Design and Evolution of an Agent-Based CASE System for OOAD

SRI VENKATESWARA COLLEGE OF ENGINERRING AND TECHNOLOGY THIRUPACHUR,THIRUVALLUR UNIT I OOAD PART A

SWEN425 DESIGN PATTERNS

Introduction to UML. Danang Wahyu utomo

MechEng SE3 Lecture 7 Domain Modelling

OBJECT ORIENTED DESIGN with the Unified Process. Use Case Realization

Outline of UML and Unified Process. Object Oriented Analysis/Design/Programming UML1.5. Koichiro Ochimizu, JAIST. UML&UP outline 1.

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING CS2353-OBJECT ORIENTED ANALYSIS AND DESIGN. Unit-I. Introduction to OOAD

APPLYING DESIGN PATTERNS TO SCA IMPLEMENTATIONS

Course "Softwaretechnik" Book Chapter 2 Modeling with UML

Programmazione. Prof. Marco Bertini

Final Exam. Final Exam Review. Ch 1: Introduction: Object-oriented analysis, design, implementation. Exam Format

Software Service Engineering

Object-Oriented Design

Software Engineering Fall 2015 (CSC 4350/6350) TR. 5:30 pm 7:15 pm. Rao Casturi 09/29/2015

UML Tutorial. Unified Modeling Language UML Tutorial

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


INTERNAL ASSESSMENT TEST III Answer Schema

Topic : Object Oriented Design Principles

A Beginners Guide to UML Part II

S T R U C T U R A L M O D E L I N G ( M O D E L I N G A S Y S T E M ' S L O G I C A L S T R U C T U R E U S I N G C L A S S E S A N D C L A S S D I A

Enterprise Architecture Views and Viewpoints in ArchiMate

3. UML Class Diagrams Page 1 of 15

Software Engineering Fall 2014

Unit 1 Introduction to Software Engineering

COURSE 2 DESIGN PATTERNS

1 Software Architecture

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

Object Oriented Analysis and Design - Part2(Design)

Object-Oriented Software Engineering Practical Software Development using UML and Java

Transcription:

Unit Wise Questions Unit-1 Concepts Q1. What is UML? Ans. Unified Modelling Language. It is a Industry standard graphical language for modelling and hence visualizing a blue print of all the aspects of the system, before implementing the system. It is an easy way to specify, visuallize, document and understand the structure and behaviour of the system. Q2.Goals/Benifits of UML? Ans. few Goals and Benifits of UML are: 1. Being independent of any particular programming language and development process its easy to understand. 2. To provide best engineering practices for large and complex system. 3. Encourage the growth of Object Oriented tools. 4. Provides a good way to gather requirements. 5. Improve software quality and decreases time and cost of the software. Q3. Name different UML diagrams available? Ans. Types of UML Diagrams with Static view are: - Class Diagrams. - Object Diagrams. - Component & Deployment Diagrams - Use Case Diagrams. - Package Diagrams (not official uml diagram). Types of UML Diagrams with Dynamics view are: - Collaboration Diagrams. - Sequence Diagrams. - State chart Diagrams. - Activity Diagrams.

Q4. Explain core elements of UML diagrams? Ans. Core elements of Use Case UML diagrams are given below in table: Elements Name Use Case. Description Describes one of the Action of the system. Element Image Actor Association. System Boundary. An Actor is the one who uses the System. Note: It may not always be a human being but can be another system Links an Actor to the Use Case. Represents the boundary between an Actor (External entity) and the System. Extend Links an Actor to the Use Case. Generalization. Basically describes "Inheritance" Object orientation terms. The arrow points to the base / parent class. Dependency. Class. Explains dependency relation between two components. Arrow points to the component it depends on. Class - the building blocks of Object Oriented language. A Rectangle divided into 3 parts horizontally, top gives the class name, middle to give the properties (main variables), the bottom to give the method names

Object. Lifeline. Object is basically ONE instance of a class. Objects are displayed as a rectangle divided in two horizontal parts, with "instance name : class name: on top and properies "Name = Value" in bottom part. Represents the life time of an object. Activation. Represents when the object is performing some action. Message. Links the two objects and Describes the communication taking place between them. 1. How can I recognize components of a system? 2. How can I recognize interfaces of a component? 3. How can I know whether I should use Ports or not? 4. What is inheritance? While developing a system we analyze the system in terms of UML diagrams how should we proceed to explain these and draw them accurately. 5. Difference between Composition and Aggregation. 6. Difference: Sequence Diagrams, Collaboration Diagrams. 7. Difference: 'uses', 'extends', 'includes' 8. What shall I go for Package Diagram? 9. What is Polymorphism? 10. Is class an Object? Is object a class? 11. Comment: C++ "includes" behavior and java "imports" 12. What do you mean by "Realization"? 13. What is a Presistent, Transient Object? 14. What is the use of Operator Overloading? 15. Does UML guarantee project success? 16. Difference: Activity Diagram and Sequence Diagram. 17. What is association?

18. How to resolve many to many relationships? 19. How do you represent static members and abstract classes in Class Diagram? 20. Can we use UML for user interface (UI) design? 21. Every object has : state, behavior and identity - explain 22. How to reverse engineer C++ code in UML? 23. What are the tools you used for OOAD? 24. Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)? 25. What are the four phases of the Unified Process? 26. How do you convert uses cases into test cases? 27. Explain Class Diagram in Detail. 28. What are the Design Patterns you know. 29. When do you prefer to use composition than aggregation? 30. UML: IS it a process, method or notation? 31. Does a concept HAVE to become a class in Design? 32. What are the good practices to use while designing for reuse? 33. Can you think of some nice examples where *multiple* actors are associated with a use case? 34. How to use CRC Cards for Class Design? 35. What is the difference between static and dynamic Classificaition.Give some examples. 36. Explian following terms: Constraint Rules, Design by contract. 37. What is Object Constraint Language (OCL)? 38. Difference Between Attribute and Association. 39. What are associative classes? 40. By using Use Case Driven Object Modeling with UML. 41. What is the role designing in any system or project implementation? Explain model based software design and development? 42. What is software design? What is the major classification of software design based on abstract level? 43. Explain the fundamental design concept applied in modern software design/ 44. Explain few software design methods and notations? 45. What are the structured and Procedural design method? 46. Explain Use of Actor? Who are the Primary and Secondary actors? Explain with example. 47. Explain the different degree of multiplicity of Association between classes with suitable example.

1. One-to-One Association 2. One-to-Many Association 3. Many-to-Many Association. 48. Explain the Concept of aggregation and composition of class hierarchies using suitable example and class diagram. 49. Explain concept of association between classes? 50. Explain the Concept of Extension point in use cases? Unit-2 Architectural Design 1. write short notes on analyzing and evaluating software architecture? 5 Marks 2. Comment on statement that every computing system with software has a 5 Marks Software architecture. 3. Define and explain with examples the term software architecture? 5 Marks 4. Draw a neat diagram to illustrate the influence stakeholder have over 8 Marks Architecture. Briefly comment on what your diagram communicates. 5. Explain what you understand by MODULE based software architecture 5 Marks Structures? 6. Explain how an Architect (Civil) makes an impact for building houses in terms of quality of houses/ buildings built. 5 Marks 7. Why is software architecture important? Elaborate on how software architecture 5 Marks Inhibits or enables systems quality attributes, help build systems using large, externally developed elements. 8. Architecture documentation also involves use of Deployment diagrams to show 5 Marks some architecture decisions especially related to performance, fault tolerance, explain with simple examples. 9. Explain 7 part document structure? 5 Marks 10. Explain how to document module, components and connector and allocation views? 8 Marks 11. When and why software Architecture will choose following technology 6 Marks Choices for any system, justify with examples. I) java ii) Visual Basic

12. Draw diagrams for 4+1 View Architecture. Give a definition for software 6 Marks Architecture and explain the definition. 13. what do you understand by following concepts. 6 Marks i) Connectors and components. ii) Architectural structure modules: (decompose, classes) 14. What is a deployment diagram. What kind of architectural decisions/ scenarios does a deployment diagram depict? Show the following two tier web application scenario using a deployment diagram. Scenario: Browser based client using HTTP to access static web pages. 6Marks 15. Write short notes on architecture stakeholders. 6Marks 16. Consider Civil Engineering/ Architects profession of designing and constructing residential/ office buildings. What is the difference between the role of architect and civil engineer. Similarly a software architect also helps build software with quality like security, performance etc. what is the difference between roles played by programmer and an architect. Explain with examples how software architect and architecture contributes to any software System s quality. 6Marks 17. a) Explain the concept of Robust Software Architecture? Specify software architecture requirements. 8 Marks b) Discuss the Architectural structure and views? What makes a good architecture? 8 Marks 18. Explain with suitable example: 8 Marks i) Architecture is high level design. ii) Architecture is the overall structure of the system. iii) Behavior of each software element is a part of architecture. iv) Architecture has Components and Connectors. 19. Explain various documentations you require to do performance analysis of Software Architecture. 20. Explain various stakeholders for software architecture. 4Marks 21. Explain the real time software architecture. 22. Write the important characteristics of software architecture. 23. What is service oriented architecture. 24. Explain the broker patterns for design of service oriented architecture? 25. Explain the location transparency and platform transparency in service oriented architecture. 26. Explain the multiple client multiple service architectural pattern with suitable example. 27. Describe the static structural view with the class diagram?

Unit-3 Design pattern 1. We want to work with employee data(name, salary and skill set) stored in one of 5 Marks The possible ways: linked list of employee structures, or in array of employee structures. Show a class structure(diagram) for Iterator pattern adapted for above example. 2. Draw a sequence diagram to explain working of an observer pattern. 5 Marks 3. Write short note on PROXY patterns. 5 Marks 4. What is design pattern and how is it documented, give examples. 5 Marks 5. What is design pattern factory method and how does it appear in COM/ DCOM 5 Marks 6. Consider an application where there is an excel sheet to hold exam results i.e. 5 Marks Student wise marks. We would like to draw a Bar chart showing comparison of individual Students as well as PIE chart to show comparison between total passed, failed and FIRST class students. i) What is an observer pattern ii) Show how observer pattern can be applied in above scenario(no code required)? 7. Which design pattern will you choose to Convert the interface of a class into another 5 Marks Interface clients expect. Why. 8. What are design patterns, why do we need them give an example design pattern? 5 Marks 9. Write short notes on design patterns(any Three) 12 Marks 1) Factory Pattern 2) Adaptor Pattern 3) Builder Pattern 4) Proxy Pattern 10. Give sample implementation of singleton pattern in C++ or JAVA 8 Marks 11. What is proxy pattern? What is remote proxy pattern? Show how remote proxy helps in marshaling/ unmarshaling. Draw a class/ sequence diagram to show how remote proxy patterns works. 8Marks 12. What are design patterns? Discuss intent and application of chain of responsibility, command, Mediator patterns. 8Marks 13. IN CONTEXT OF OBSERVOR PATTERN answer the following. 16Marks a) How does action listener (event listener) in java work. b) What is publish subscribe? c) What roles of subject and observer? d) Give a non-software example of observer pattern.

14. Give intent, application, advantage of following patterns: 10Marks i) Factory Pattern ii) Event Listener iii) Adaptor Pattern 15. Define design patterns, discuss the characteristics of design pattern. 8Marks 16. What are design patterns? How they are documented using a template? Explain the way they are documented with examples to illustrate from ITERRATOR pattern. 10Marks 17. Explain when proxy pattern will be applied. Give the solution of proxy pattern using UML diagrams. 18. Explain the behavioral pattern in short. 19. Explain the intent, motivation, structure, implementation and consequences of iterate pattern. 20. Explain the iterate pattern with suitable example and class diagram. 21. Explain the intent, motivation, structure, implementation and consequences of observer pattern. 22. Draw the structure of observer pattern with suitable class diagram including subject and observer. 23. Explain the intent, motivation, structure, implementation and consequences proxy pattern? 24. Explain the intent, motivation, structure, implementation and consequences singleton pattern. 25. Explain the intent, motivation, structure, implementation and consequences factory pattern. 26. Explain the intent, motivation, structure, implementation and consequences creational pattern. 27. What are the major element of documenting and describing the design pattern. 28. Explain the essential element of design pattern 29. What are the major classification pattern? 30. What are design pattern and why they are the important in modern software development?