Advanced Behavioral Modeling: Events and signals, state machines

II Semester II Semester II Semester II
Semester
CONTENTS
 Syllabus
 Lecture Plan
 Assignments
ACADEMIC DAIRY
III B.Tech II SEMESTER
1. Network Security
2. Compiler Design
3.Web Technologies
4.Object Oriented Analysis and Design
5.VLSI Design
6. Manegerial Economics and Financial Accounting
 Important
Question
2011-12
Dept. of Computer Science Engineering, School of Engineering, Anurag Group of Institutions
III B.Tech II Semester
Academic Dairy
for
Object Oriented Analysis and
Desing
Faculty: Ms.G.Lavanya
Academic Dairy Handbook III CSE II SEM
2
Dept. of Computer Science Engineering, School of Engineering, Anurag Group of Institutions
Unit-I
Introduction to UML: Importance of modeling, principles of modeling, object oriented
modeling, conceptual model of the UML, Architecture, Software Development Life Cycle.
Objective
The primary product of a development team is not documents, world-class meetings or lines of source
code. Rather, it is good software that satisfies the evolving needs of its users and the business. Everything
else is secondary. To make software that satisfies its intended purpose, we need a technique by which
understanding and the adaptability of the software should be rendered. We can build models that visualize
how the deployment of software is put together to subsist.UML is one such defined practice which offers
visualization of various steps involved in making the software; in this unit we try to discover the essence
of UML and how it got linked with Object –Oriented concepts.
S.no
1.
2.
3.
Unit
No.
I
I
I
4.
5.
6.
I
I
I
Topic
Importance of modeling
Principles of modeling
Object oriented modeling
Conceptual model of the UML
Architecture
Software Development Life Cycle
No: of
classes
1
1
1
Lecture
Date
26-12-2011
27-12-2011
28-12-2011
2
2
1
29-12-2011
02-01-2012
04-01-2012
Assignment Question:
(a) What is model? What are the aims of modeling?
(b What are the principles of modeling?
(c) What is UML? Define.
Academic Dairy Handbook III CSE II SEM
3
Dept. of Computer Science Engineering, School of Engineering, Anurag Group of Institutions
UNIT - II
Basic Structural Modeling: Classes, Relationships, common Mechanisms, and diagrams.
Advanced Structural Modeling: Advanced classes, advanced relationships, Interfaces, Types
and Roles, Packages.
Objective:
In this unit we start with digging the elements of modeling and how to represent the entire
software development process with the modeling elements there by defining the terms and
conditions. Later we’ll introduce different relationship among the elements and also different
mechanism for modeling. We can categorize these several property into basic and advance
structural modeling.
S.no
1.
2.
3.
Unit
No.
II
II
II
Topic
Classes
Relationships
Common Mechanisms
4.
II
Diagrams
5.
II
Advanced classes
6.
II
Advanced Relationships
7.
II
Interfaces
8.
II
Types and Roles
9.
II
Packages
Assignment Question:
No: of
classes
1
2
2
2
2
2
2
2
2
Lecture Date
05-01-2012
06-01-2012
09-01-2012
12-01-2012
16-01-2012
18-01-2012
20-01-2012
23-01-2012
25-01-2012
With reference to class diagrams, enumerate the steps to reverse engineer.
Define relationship. Explain the four adornments that apply to an association
Academic Dairy Handbook III CSE II SEM
4
Dept. of Computer Science Engineering, School of Engineering, Anurag Group of Institutions
UNIT - III
Class & Object Diagrams: Terms, concepts, modeling techniques for Class & Object
Diagrams.
Objective:
In UML; class are the most important element and it also happens to be the start of everything.
Object always exists when there is a class hence in this unit we will explore the diagrams of class
and object. We will acquire the exact steps to develop these classes and objects diagram for the
different modules in software.
S.no Unit No.
1.
III
2.
III
3.
III
Topic
Terms & Concepts for Class &
object Diagrams
Modeling techniques for Class
Diagrams
Modeling techniques for Object
Diagrams
No: of
classes
3
Lecture
Date
31-01-2012
3
3-02-2012
3
08-02-2012
Assignment Question:
Explain class and object diagrams with an example
Explain the modeling techniques in class diagram and object diagram
UNIT- IV
Basic Behavioral Modeling-I: Interactions, Interaction diagrams.
Objective:
S.no Unit No.
Topic
Academic Dairy Handbook III CSE II SEM
No: of
classes
Lecture Date
5
Dept. of Computer Science Engineering, School of Engineering, Anurag Group of Institutions
In every
interesting
system, objects
don't just sit idle; they interact with one another by passing messages. An interaction is a
behavior that comprises a set of messages exchanged among a set of objects within a context to
accomplish a purpose. Well-structured interactions are like well-structured algorithms—efficient,
simple, adaptable, and understandable. Roles, links, messages, actions, and sequences are the
mode for communication; we call this as behavioral modeling.
1.
2.
IV
IV
Interactions
Interaction diagrams
3
3
09-02-2012
14-02-2012
Assignment questions
explain the interaction diagrams with an example.
What is the difference between sequence and collaboration diagram
Unit-V
Basic Behavioral Modeling-II: Use cases, Use case Diagrams, Activity Diagrams
S.no Unit No.
Topic
No: of
Lecture
classes Date
1.
V
Use cases.
2
17-02-2012
2.
V
Use case Diagrams
2
21-02-2012
3.
V
Activity Diagrams
2
23-02-2012
Assignment Question:
What is use case
Explain uses of use case diagram with an example.
Define activity and explain the activity diagram with an example
UNIT - VI
S.no Unit No.
Topic
No: of
Lecture
Advanced
Behavioral Modeling: Events and signals, state machines, processes and Threads, time and
space, state chart diagrams.
Objective:
Let’s go ahead and learn advance behavioral modeling and build a behavior that just not only
reveals the communication between object and also its effects by considering its time space
consortium. In technical word we relate these objects with events, processes and threads etc, then
try to develop its behavior in a state chart diagrams and other required specification.
Academic Dairy Handbook III CSE II SEM
6
Dept. of Computer Science Engineering, School of Engineering, Anurag Group of Institutions
classes
2
Date
27-02-2012
1.
VI
Events and signals
2.
VI
State machines
2
29-02-2012
3.
VI
Processes and Threads
2
02-03-2012
4.
VI
Time and space, state chart
diagrams
2
06-03-2012
Assignment Question:
Briefly explain the following:
i. event, signal
ii. Call events
iii. Time and change events
iv. Sending and receiving events.
UNIT-VII
Architectural Modeling: Component, Deployment, Component diagrams and Deployment
diagrams.
Objective:
Once all the elements are arranged they form a group which exhibits similarity, such groups is
called as packages with indeed consists of the various elements (class, object, interface,
etc...).These packages are called as components which provide abstraction and possible
interaction with other components. This part of the UML is acknowledged as architectural
S.no Unit No.
1.
2.
3.
4.
VII
VII
VII
VII
Topic
Component
Deployment
Component diagrams
Deployment diagrams
Academic Dairy Handbook III CSE II SEM
No: of Lecture
classes Date
2
08-03-2012
2
12-03-2012
2
14-03-2012
2
16-03-2012
7
Dept. of Computer Science Engineering, School of Engineering, Anurag Group of Institutions
Assignment questions:
Explain Component diagram in detail.
Explain deployment diagram with an example.
UNIT - VIII
Case Study: The Unified Library application
Objective: It’s now time for the real application learning’s by going through the various cases
S.no Unit No.
1.
VIII
Topic
The Unified Library application
Academic Dairy Handbook III CSE II SEM
No: of
classes
3
Lecture Date
21-03-2012
8