Oops Notes
Oops Notes
BY
RAJAT MISHRA
UNIT I -UNIFIED PROCESS AND USE CASE DIAGRAMS
SYLLABUS: Introduction to OOAD with OO Basics - Unified Process – UML diagrams – Use Case – Case study –
the Next Gen POS system, Inception -Use case Modelling – Relating Use cases – include, extend and generalization
– When to use Use-cases.
PART-A
Q.No. Question Level Competence
1 Define OOAD. BTL1 Remember
2 What is Analysis and Design? BTL1 Remember
3 Distinguish between method and messages in object. BTL2 Understand
4 What is the main advantage of Object Oriented Development? BTL1 Remember
5 Point out what test can help to find useful use cases? BTL4 Analyze
6 Give the different formats of use cases. BTL2 Understand
7 What is an object? Give an example BTL1 Remember
8 What is UML? List out the UML Diagrams. BTL1 Remember
9 Classify the kinds of actors in use case. BTL4 Analyze
10 Define Unified Process(UP). List the 4 phases in UP. BTL1 Remember
11 Illustrate the concepts of Generalization Relationship. BTL3 Apply
12 Compare Include and Extend use case relationships. BTL4 Analyze
13 Describe POS system and list the components of POS system. BTL2 Understand
14 Give the primary goals in the design of UML BTL2 Understand
15 Illustrate the relationship used in Use case. BTL3 Apply
16 What are the three ways and perspectives to Apply UML? BTL3 Apply
17 Generalize the concepts of use case modeling. BTL6 Create
18 When to use Use cases? Evaluate it. BTL5 Evaluate
19 Generalize your views about inception in Use case. BTL6 Create
Evaluate and Name the UML diagrams used for the following:
a) Modeling Requirements
20 b) Modeling Workflows BTL5 Evaluate
c) Modeling behavior of an object.
d) Interaction between groups of objects.
PART-B
Q.No. Question Level Competence
1 Discuss about UML. (13) BTL2 Understanding
Briefly explain about the different phases of Unified Process with a neat diagram.
2 BTL4 Analyze
(13)
Explain with an example, how Use Case Modeling is used to describe the functional
3 BTL4 Analyze
requirements. Identify the actors, scenario and Use Case for the example. (13)
(i) Inspect the basic activities in OOA and explain how Use Case Modeling is useful BTL1 Remember
4
in analysis. (8)
(ii) Examine the guidelines for writing and finding Use Cases. (5)
Write a problem statement for Library Management System. Perform the Object
Oriented System Development and give the Use Case model for the same (use
5 BTL6 Create
include, extend and generalization) and design the UML Use Case diagram for the
same. (13)
Prepare& analyze a suitable example showing the various relationships used in Use
6 BTL4 Analyze
Case and also give a short note on each relationship. (13)
7 List the various UML diagram and explain about the UML diagrams in detail with
BTL1 Remember
neat diagrams. (13)
Describe the following
(i) UP disciplines (5)
8 BTL1 Remember
(ii) OOA and OOD (4)
(iii) Abstract and Base Use Case (4)
9 What is a POS system? Summarize about Inception Phase. (13) BTL2 Understand
(i) Illustrate the steps and explain how to find Use cases with an example. (8)
10 BTL3 Apply
(ii) Rank the 3 kinds of actors and explain the 3 common Use Case formats.(5)
(i) Recall the various sections in the Use Case template with example. (8) BTL1 Remember
11
(ii) List the guidelines to be followed when writing Use Case. (5)
Explain the benefits and concepts of Use Case and Use Case model and evaluate the
12 BTL5 Evaluate
ATM system by relating Use Cases. (13)
13 Discuss about the Use Case modeling with example. (13) BTL1 Understand
14 Apply Use Case modeling for Payroll system in UML. (13) BTL3 Apply
PART-C
Design and illustrate the use case model for activities involved in ordering food in a
3 restaurant from the point when the customer enters a restaurant to the point when he BTL6 Create
leaves the restaurant. (15)
Explain the benefits and concepts of use case and use case model and analyze the
4 BTL4 Evaluate
relating use cases for ATM system. (15)
6. Analyze the situation to use Factory method pattern and its advantages. BTL4 Analyze
12. What are the steps for mapping design to code? BTL1 Remember
Analyze as to which object oriented methodology is well suited for
(i) Design
13. (ii) Analysis BTL4 Analyze
(iii) Full life cycle
(iv) Real time systems.
14. Define Refactoring. BTL1 Remember
16. Outline the benefits and the types of adapter pattern. BTL2 Understand
18. List the four phases of object oriented modeling Techniques (OMT). BTL1 Remember
19. Interpret the benefits of controller and give an outline on bloated controller. BTL2 Understand
20. Identify the benefits of bridge pattern. BTL3 Apply
PART-B
Generalize the design principles in object modeling. Explain in detail the GRASP
2 methods for designing objects and Describe about the implementation model BTL6 Create
(Mapping design to code) and give the NextGen POS program solution. (15)
Summarize the Observer pattern for a problem of your choice and discuss about the
3 BTL6 Create
solution with neat diagram. (15)
Explain Jacobson and Rumbaugh methodology and compare it to Booch
4 methodology. In which aspect Booch analysis is successful? (15) BTL5 Evaluate
UNIT III -STATIC UML DIAGRAMS
SYLLABUS: Class Diagram–– Elaboration – Domain Model – Finding conceptual classes and description classes –
Associations – Attributes – Domain model refinement – Finding conceptual class Hierarchies – Aggregation and
Composition - Relationship between sequence diagrams and use cases – When to use Class Diagrams
PART-A
Q.No. Question Level Competence
1 Define Class diagram. BTL1 Remember
2 List the relationships used in class diagram. BTL1 Remember
3 What is an attribute? Mention its types. BTL1 Remember
What do you mean by sequence number in UML? Analyze Where and for what it is
4 BTL4 Analyze
used?
5 Express the meaning of Elaboration and What are the tasks performed in elaboration? BTL2 Understand
6 Express why we call a domain model a “Visual Dictionary". BTL2 Understand
7 Define Domain Model. How to create a Domain model? BTL6 Create
8 Define Conceptual class. BTL1 Remember
9 Rank the 3 strategies to find conceptual class. BTL5 Evaluate
10 Differentiate aggregation and composition. BTL4 Analyze
11 Estimate the purpose of association relationship. BTL6 Create
12 Give the meaning of abstract conceptual class BTL1 Remember
13 Identify the usage of Description class. BTL3 Apply
14 Organize the guideline to partition a class into subclass. BTL3 Apply
15 Illustrate When to use class diagram. BTL2 Understand
16 When to define new data type classes? BTL1 Remember
17 Interpret the meaning of Generalization. BTL2 Understand
18 Compare qualified association and reflexive association. BTL5 Evaluate
19 Experiment with an example how to name an association in UML with its guidelines. BTL3 Apply
20 Distinguish sequence diagram and Use case diagram. BTL4 Analyze
PART-B
13 Describe briefly about association classes and association role. (13) BTL1 Remember
14
(i) Illustrate about aggregation and composition with example. (10)
BTL3 Apply
(ii) Mention the guidelines to be followed. (3)
PART-C
PART-A
Q.No. Question Level Competence
1 Express the use of Sequence Diagram. BTL2 Understand
2 Compare sequence diagram and collaboration diagram. BTL2 Understand
3 Identify what is by System Behavior? How to name System events and Operations. BTL3 Apply
4 Define Event, State and Transition. BTL1 Remember
5 Define Package. Mention the three layers of package diagram. BTL1 Remember
6 Analyze the use of UML Package Diagram BTL4 Analyze
7 List the common notations used in interaction diagram BTL1 Remember
8 Create a state machine diagram for Process Sale. BTL6 Create
9 Define Component. BTL1 Remember
Demonstrate the similarities and dissimilarities of state independent and State
10 BTL2 Understand
dependent objects.
11 Compare and Contrast Component and Deployment diagram BTL5 Evaluate
12 Mention the purpose of Activity diagram and specify its elements. BTL1 Remember
13 Name the basic elements of a Deployment diagram. BTL1 Remember
Organize and Show the relationship between Interaction and Class diagram with
14 BTL3 Apply
example.
15 Outline the need for State Diagram. BTL2 Understand
16 Differentiate Class diagram and Interaction diagram. BTL4 Analyze
17 Experiment the term Classifier with an example. BTL3 Apply
18 Create SSD for Borrow book scenario. BTL6 Create
19 Justify the use of rake symbol with an example. BTL5 Evaluate
20 Compare and Contrast asynchronous and synchronous message. BTL4 Analyze
PART-B
3 Illustrate about UML Deployment and Component diagram with an example. (13) BTL2 Understand
4 Interpret about UML state machine diagram and Modeling. (13) BTL2 Understand
5
Compare sequence diagram and communication diagram with suitable example.(13) BTL4 Analyze
(i) Analyze the UML activity diagram, using an example point out the features of
6 basic UML activity diagram notation. (8) BTL4 Analyze
(ii) Inspect the constructs (notations) used in an activity diagram? (5)
(i) What is the purpose of State Chart diagram (4)
7 BTL2 Remember
(ii) Recall how to draw state chart diagram with an example. (9)
(i) Design and explain the activity diagram for an Online Purchase System. (7)
8 (ii) Represent the activity diagram for the following Scenario, Booking a ticket on BTL6 Creating
Indian railways e-ticket system (IRCTC). (6)
9
Describe briefly about logical architecture and UML package diagram. (13) BTL1 Remember
(i) What is SSD? Determine the notations used in sequence diagram. (5)
10 BTL5 Evaluate
(ii) Determine SSD for Library Management System. (8)
(i) When to use activity diagrams. (3)
11 BTL1 Remember
(ii) Describe the Implementation diagrams with example. (10)
12 Examine briefly about UML sequence diagram notations with example. (13) BTL4 Analyze
(i) Identify when to use UML deployment and Component diagrams. (7)
13 (ii) Draw the diagrams for banking applications. (6) BTL3 Apply
With an example make ue of the notations used in sequence diagram for the
following:
(i) Object destruction (2)
14 (ii) Frames (2) BTL3 Apply
(iii) Conditional message (3)
(iv) Mutually exclusive conditional message (3)
(v) Iterations over a collection (3)
PART-C
UNIT V TESTING
SYLLABUS: Object Oriented Methodologies – Software Quality Assurance – Impact of object orientation on Testing –
Develop Test Cases and Test Plans ,CASE STUDY: Health care, Student Marks Analysing system, CASE studies Tools:
Star UML/ UML
PART-A
Q.No. Question Level Competence
1 List out the Myer’s debugging principles. BTL1 Remember
2 Outline the term SQA. BTL2 Understand
3 Summarize the main tools of Quality Assurance BTL2 Understand
4 Illustrate the impact object orientation in testing. BTL3 Apply
5 Define the term Object interoperability. BTL1 Remember
6 Interpret the basic activities are performed in using debugging tool. BTL5 Evaluate
7 Define test plan? What are its components? BTL1 Remember
8 Formulate the need of quality assurance. BTL6 Create
9 Show the Booch methodology diagrams. BTL2 Understand
10 Define black box testing? BTL1 Remember
Illustrate the different kinds of errors you might encounter when you run your
11 BTL3 Apply
program.
12 List out the Testing strategies. BTL1 Remember
Analyze as to which object oriented methodology is well suited for
(i) Design
13 (ii) Analysis BTL4 Analyze
(iii) Full life cycle
(iv) Real time systems
14 Analyze the Jacobson methodology. BTL4 Analyze
15 Illustrate the steps needed to create a test plan. BTL3 Apply
16 Estimate and generalize the concepts of implication of Inheritance. BTL6 Create
17 Interpret the four phases of object oriented modeling Techniques (OMT). BTL2 Understand
18 Analyze the CASE tools and where it is used? BTL4 Analyze
19 Compare RumBaugh methodology and Booch methodology. BTL5 Evaluate
20 What are test cases? List the guidelines for developing quality assurance test cases. BTL1 Remember
PART-B
PART-C