Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 39

NAME OF LABORATORY: Lab 5

LAB SUBJECT CODE: IT-601


NAME OF DEPARTMENT: CS/IT IITM

EXPERIMENT NO.1
Draw Object, State, Data Flow Diagram of ATM.

Date of conduction:-

Date of submission:-

Group no: - all student

Name of faculty incharge: Ms Neha saxena


Name of Technical Assistant:
Objective: - Draw Object, State, Data Flow Diagram of ATM.

Apparatus: - Computer, Mozilla Firefox, Google Chrome, Java J2EE, Oracle,


Turbo C++ IDE (TurboC3) Borland Turbo C++ (Version 4.5)

Theory: - The ATM will service one customer at a time. A customer will be
required to insert an ATM card and enter a personal identification number (PIN) -
both of which will be sent to the bank for validation as part of each transaction.
The customer will then be able to perform one or more transactions. The card will
be retained in the machine until the customer indicates that he/she desires no
further transactions
To describe what the customer requires

To establish a basis for the creation of a software design

To define a set of requirements that can be validated once the software is


built.

Page 1 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Procedure: - Important Aspect: Objects and Models.

Data flow diagrams: illustrate how data is processed by a system in terms of inputs and
outputs. A Date Flow Diagram (DFD) is a diagrammatic representation of the
information (data) flow within a system.

o Process: A process transforms incoming data flow into outgoing data flow.

o Data Store: Data stores are repositories of data in the system. They are
sometimes also referred to as files.

o Dataflow: Dataflows are pipelines through which packets of information flow.


Label the arrows with the name of the data that moves through it.

o External Entities: External entities are objects outside the system, with which
the system communicates. External entities are sources and destinations of the
system's inputs and outputs.

Page 2 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Description:
Data Flow:

S.No Data Flow Description

1 Login Login data usually contains the ATM card and the PIN number.

2 Accept Info If the Account is verified then the user control can be accept
inside the transaction procedure.

3 Reject Info It the account details are not correct,do not grant the
permission to access transaction and reject the card.

4 Account Details The details of account are forwarded as the data to be printed
in the receipt.

5 Money The Money is given to the user.

Function:
S Function Description
no

1 Check Account Input: a. Login Details. Compare the data with the
Banks Database and grant
Output: a. Accept Info. b. Reject Info. access.

2 Prompts Input: a. accept info. If the user is valid, then


Amount prompt user to enter the
Output: a. account info. amount.

3 Update Input: a. account info. When user enters the


Database amount then update the
Output: a. account details. database and perform the
transaction.

4 Print Details Input: a. account details. The details of the changes


are printed as the new
Output: a. Money. details of the account.

Page 3 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Diagram:

1. Object Diagram

Page 4 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Data Flow Diagram

State Diagram

Page 5 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Observation Table: - Not applicable

Calculation: - Not applicable

Results: - Not applicable

Conclusion: Not applicable

Precautions:- Not applicable

Suggestions:-

Required knowledge of OOPs

Required Language c, c++,java

Required Database oracle, sql

Lab Quiz:-
CRC stand for:
(a) class resource collaboration
(b) class responsibilities collaboration
(c) class-resource-class
(d) None of the above.
2. OO software development model is given by:

(a) berard and boch

(b)Bohm and Jacobson.

(c) McCabe

(d) PUTNAM

3. The OR Model stands for.

(a) Object resource model

(b) Object relationship model

Page 6 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

(c) Object reuse model

(d) None of the above.

4. The analysis model is converted to

(a) Design model (b) object model

(c) Both (a) and (b) (d) none of the above.

5. Classes which have fewer responsibilities

(a) Dumb classes (b) smart classes

(c) Sub classes (d) super classes.

6 smart classes are

(a) those with fewer responsibilities


(b) those with money responsibilities
(c) These which cannot be instantiated.
(d) None of the above.
7. The OO design pyramids includes

(a) Subsystem design

(b) Class and object design

(c) Message design

(d) all of the above.

8. OOT stands for

(a) Object oriented testing

(b) Object open testing

(c) Both a and b

(d) None of the above.

Page 7 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Further reading resources:

Book: Lab experiment related theory available in following books:

Book Name
G. Booch, Object-Oriented Analysis and Design, Pearson Education.
J. Rumbaugh, Object-Oriented Modeling and Design, Pearson Education.

Web resources:

1. csed.sggs.ac.in/csed/?q=node/37
2. www.docstoc.com Education Graduate Engineering.
3. en.wikipedia.org/wiki/_operating_system.

Page 8 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

EXPERIMENT NO.2
Draw Object, State, Data Flow Diagram of Telephone Call.

Date of conduction:-

Date of submission:-

Group no:- all student

Name of faculty incharge: Ms Neha saxena


Name of Technical Assistant:
Objective: - Draw Object, State, Data Flow Diagram of Telephone Call

Apparatus: - Computer, Mozilla Firefox, Google Chrome, Java J2EE, Oracle,


Turbo C++ IDE (TurboC3) Borland Turbo C++ (Version 4.5)

Theory: -

To describe what the customer requires

To establish a basis for the creation of a software design

To define a set of requirements that can be validated once the software is


built.

Page 9 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Procedure: - Data Flow

S Function Description
no

1 Dialling Input: a. Login Details. Validate the number

Output: a.Valid No. b. Invalid No.

2 Connecting Input: a. Valid Phone No. If the dialed number is a


valid no, establish a route
Output: a. Route. / Connection Ckt. connection b/w dialer and
recipient.

3 Ringing Input: a. Incoming Connection A Ring alert is produced as


the connection request to
Output: a. Stop Ringing the other end.

b. Answered by callee.

4 Connected Input: a. Phone Answered After conversation, either


side can terminate the call.
b. Not Answered.

Output: a. Termination

Diagram:

1. Object Diagram

Page 10 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Data Flow Diagram

State Diagram

Page 11 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Observation Table:- Not applicable

Calculation:- Not applicable

Results: Not applicable

Conclusion:- Not applicable

Precautions:- Not applicable

Page 12 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Suggestions:-

To define a set of requirements that can be validated once the software is


built

Required knowledge of OOPs


Required Language c, c++,java
Required Database oracle, sql

Lab Quiz :-

1. Clos is stand for


(a) common lisp object system
(b) common lisp oriented system
(c) Common lisp operation system.
(d) None of them.
2. Eiffle is support

(a)Pure object oriented language.

(b)Palatial object oriented language.

(c)Both a and b

(d)None of them

3 OO data base is

(a)Orion

(b)Ontos

(c)Both a and b

Page 13 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

(d)None of them.

4OOdata base is support the

(a)Sql server

(b)Rdbms

(c)Both a and b

(d) None of the above.

5. The effort required to transfer the program from one hardware and /or
software system environment to another.

(a)Reusability.

(b)Extensibility

(c)Robustness

(d)None of them.

Further reading resources:

Book: Lab experiment related theory available in following books:

Book Name : G. Booch, Object-Oriented Analysis and Design, Pearson Education.


J. Rumbaugh, Object-Oriented Modeling and Design,
Pearson Education.
Web resources:

1. csed.sggs.ac.in/csed/?q=node/37
2. www.docstoc.com Education Graduate Engineering.
3. en.wikipedia.org/wiki/ _Object oriented system.

Page 14 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

EXPERIMENT NO.3

Draw Object, state, Data flow Diagram of Library Information


System
Date of conduction:-

Date of submission:-

Group no:- all student

Name of faculty incharge: Ms Neha saxena

Name of Technical Assistant: Mr. Deepak sharma

Objective: - Draw Object, state, Data flow Diagram of Library Information System

Apparatus: - Computer, Mozilla Firefox, Google Chrome, Java J2EE, Oracle,


Turbo C++ IDE (TurboC3) Borland Turbo C++ (Version 4.5)

Theory: - Library is a room containing a collections of different types of books of


different departments of institution. There is used an addressing code scheme for
searching books in Library : searching according to department , then searching in shelves ,
then searching according to title of books and then searching according to author of books.
In Library , admin of library check the information of books of different departments of
institution. In Library , there are not only those courses books but also containing the other
books which are helpful for students and faculties of department.

Following are the processes and entities which are using in data flow diagram of Library
information system:

Page 15 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

User entity: User entity may be a student or faculty of any department of that institution .

Book Reception: Book reception treat as interface between the student or faculty entity of
library and processes of the library department. User entity issues the book from library when
Book reception entity permits to that user entity . If Book reception does not give the permit
for issue the book , then User entity cant issue the book from the library database.

Find book position : In this process student or faculty of any department of that institution
search books in his department shelves . If student or faculty got the position books from his
department shelves . Then student reach on next process for search the particular book.

Get a book : After Find book position process Student or faculty of department go to this
process for search a particular book . In this process Student or faculty searches the file
according to title names or according to name of authors . After get the book , student or
faculty member goes to the books reception for books issue .

Diagram:

1 Object Diagram

Page 16 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Data Flow Diagram

1. Level 0

2. Level 1

Page 17 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

DFD for students in library system

Observation Table: - Not applicable

Calculation: - Not applicable

Results: - Not applicable

Conclusion:- Not applicable

Page 18 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Precautions:- Not applicable

Suggestions:-

To define a set of requirements that can be validated once the software is


built

Required knowledge of OOPs


Required Language c, c++,java
Required Database oracle, sql

Lab Quiz :-
The term Complete for a UML has the same meaning as which of the following for an EER
diagram?
A. Overlapping rule

B. Disjoint rule

C. Total specialization rule

D.Partial specialization rule

7. A UML diagram includes which of the following?


A. Class name

B. List of attributes

C. List of operations

D.All of the above.

8. An object can have which of the following multiplicities?


A. Zero

Page 19 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

B. One

C. More than one

D.All of the above.

9. Which of the following statement is true concerning objects and/or classes?


A. An object is an instance of a class.

B. A class is an instance of an object.

C. An object includes encapsulates only data.

D.A class includes encapsulates only data.

10. Which of the following applies to a class rather than an object?


A.Query B. Update

C. Scope D.Constructor

Further reading resources:

Book: Lab experiment related theory available in following books:

Book Name : G. Booch, Object-Oriented Analysis and Design, Pearson Education.


J. Rumbaugh, Object-Oriented Modeling and Design,
Pearson Education.
Web resources:

csed.sggs.ac.in/csed/?q=node/37
www.docstoc.com Education Graduate Engineering.
en.wikipedia.org/wiki/ _Object oriented system.

Page 20 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

EXPERIMENT NO.4

Draw Object, State, Data Flow Diagram of Airline Reservation System..

Date of conduction:-

Group no:- all student

Name of faculty incharge: Ms Neha saxena


Name of Technical Assistant: Mr. Deepak sharma
Objective: - Draw Object, State, Data Flow Diagram of Airline Reservation
System.
Apparatus: - Computer, Mozilla Firefox, Google Chrome, Java J2EE, Oracle,
Turbo C++ IDE (TurboC3) Borland Turbo C++ (Version 4.5)

Theory: -

Airline Reservations Systems contain airline schedules, fare tariffs, passenger reservations and
ticket records. An airline's direct distribution works within their own reservation system, as well
as pushing out information to the GDS. A second type of direct distribution channel are
consumers who use the internet or mobile applications to make their own reservations. Travel
agencies and other indirect distribution channels access the same GDS as those accessed by the
airlines' reservation systems, and all messaging is transmitted by a standardized messaging
system that functions primarily on TTY messaging called SITA. Since airline reservation systems
are business critical applications, and their functionally quite complex, the operation of an in-
house airline reservation system is relatively expensive.

Prior to deregulation, airlines owned their own reservation systems with travel agents
subscribing to them. Today, the GDS are run by independent companies with airlines and travel
agencies as major subscribers.

The Airline Reservations System (ARS) was one of the earliest changes to improve efficiency.
ARS eventually evolved into the Computer Reservations System (CRS). A Computer Reservation
System is used for the reservations of a particular airline and interfaces with a Global

Page 21 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Distribution System (GDS) which supports travel agencies and other distribution channels in
making reservations for most major airlines in a single system.

Procedure: -

Name Description Vendor Contact Info


Takeflite Online Airline Management & Takeflite
www.tflite.com
Solutions Maintenance Software Service. Solutions
Topware European Airline Reservation
Maxxcom www.maxxcom.it
AirSuite System
SkyVantage Airline Management
SkyVantage SkyVantage
System. Full suite of reservations www.skyvantage.com
Corporation Corp
and operations software.
John Keells
A Low Cost Carrier(LCC) oriented
AccelAero Computer www.jkcsworld.com
Airline Reservation System
Services
A complete reservations system,
AirKiosk including IATA e-ticketing and SUTRA Inc. www.airkiosk.com
interline e-ticketing, DCS
A computer reservations
KIU system(CRS) and global KIU System www.kiusys.com
distribution system(GDS).
Object diagram

Page 22 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

DFD

Level 0

State Diagram

Page 23 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Observation Table:- Not applicable

Calculation:- Not applicable

Results: - Not applicable

Conclusion:- Not applicable

Precautions:- Not applicable

Suggestions:-

To define a set of requirements that can be validated once the software is built

Required knowledge of OOPs


Required Language c, c++,java
Required Database oracle, sql

Lab Quiz :-
The fact that the same operation may apply to two or more classes is called what?
A. Inheritance

B. Polymorphism

C. Encapsulation

Page 24 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

D.Multiple classification

2. The object-oriented development life cycle is which of the following?


A. Analysis, design, and implementation steps in the given order and using multiple iterations.

Analysis, design, and implementation steps in the given order and going through the steps no more
B.
than one time.

C. Analysis, design, and implementation steps in any order and using multiple iterations.

Analysis, design, and implementation steps in any order and going through the steps no more than
D.
one time.

3. Multiplicity is the same as what concept for an ERD?


A.Relationship B. Attribute

C. Entity D.Cardinality

4. Composition is a stronger form of which of the following?


A. Aggregation

B. Encapsulation

C. Inheritance

D.All of the above.

5. An abstract class is which of the following?


A. A class that has direct instances, but whose descendants may have direct instances.

B. A class that has no direct instances, but whose descendants may have direct instances.

C. A class that has direct instances, but whose descendants may not have direct instances.

D.A class that has no direct instances, but whose descendants may not have direct instances

Page 25 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Further reading resources:

Book: Lab experiment related theory available in following books:

Book Name: G. Booch, Object-Oriented Analysis and Design, Pearson Education.


J. Rumbaugh, Object-Oriented Modeling and Design,
Pearson Education.
Web resources:

csed.sggs.ac.in/csed/?q=node/37
www.docstoc.com Education Graduate Engineering.
en.wikipedia.org/wiki/ _Object oriented system.

Page 26 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

EXPERIMENT NO.5
Draw Object, State, Data Flow Diagram of Calculator.

Date of conduction:-

Group no:- all student

Name of faculty incharge: Ms Neha saxena


Name of Technical Assistant: Mr. Deepak sharma

Objective: - Draw Object, State, Data Flow Diagram of Calculator

Apparatus: - Computer, Mozilla Firefox, Google Chrome, Java J2EE, Oracle, Turbo
C++ IDE (TurboC3) Borland Turbo C++ (Version 4.5)

Theory: - Calculator is a device that is used in mathematical operation . It consists of several


buttons such as + , - .Modern calculators are electrically powered (usually by battery and/or
solar cell) and vary from cheap, give-away, credit-card sized models to sturdy adding machine-
like models with built-in printers. They first became popular in the late 1960s as decreasing size
and cost of electronics made possible devices for calculations, avoiding the use of scarce and
expensive computer resources. By the 1980s, calculator prices had reduced to a point where a
basic calculator was affordable to most. By the 1990s they had become common in math classes
in schools, with the idea that students could be freed from basic calculations and focus on the
concepts.

Procedure: -Below diagram shows data flow diagram of calculator. Following are the
processes in data flow diagram of Calculator:

Page 27 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

1. Interaction with User:

This module will read in any input from the input screen. It will generate an input string for the
problem from the data input, and command input from input screens and tool bars. It will set
appropriate flags if user set any of the options from the option box. This module implements the
User Interface Operation.

2. Data Process:

This module will get the input string, which contains all the data and commands, from the User
Interface Module, and convert it into code that the software could understand, and call different
functions to evaluate the input string into an answer. All the arithmetic functions are put into the
arithmetic sub-module. Each sub-module could be divided into even smaller modules.

3. Output Module:

Output Result module incorporates Format Result and Generate Display processes. . The module
utilizes member functions of Configuration module in order to access the result precision
parameter.

Data Flow diagram for the calculator:

Level 1 data flow diagram for the calculator

Observation Table:- Not applicable

Page 28 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Calculation:- Not applicable

Results: Not applicable

Conclusion:- Not applicable

Precautions:- Not applicable

Suggestions:- To define a set of requirements that can be validated once the


software is built

Required knowledge of OOPs


Required Language c, c++,java
Required Database oracle, sql

Lab Quiz :-

Further reading resources:

Book: Lab experiment related theory available in following books:

Book Name
G. Booch, Object-Oriented Analysis and Design, Pearson Education.
J. Rumbaugh, Object-Oriented Modeling and Design, Pearson Education.
Web resources:

csed.sggs.ac.in/csed/?q=node/37
www.docstoc.com Education Graduate Engineering.
en.wikipedia.org/wiki/ _Object oriented system.

Page 29 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

EXPERIMENT NO.6
Draw Object, State, Data Flow Diagram of Railway reservation system.

Date of conduction:-

Date of submission:-

Group no:- all student

Name of faculty incharge: Ms Neha saxena


Name of Technical Assistant: Mr. Deepak sharma
Objective: - Draw Object, State, Data Flow Diagram of Railway reservation system.

Apparatus: - Computer, Mozilla Firefox, Google Chrome, Java J2EE, Oracle,


Turbo C++ IDE (TurboC3) Borland Turbo C++ (Version 4.5)
Theory: -
The systems development life cycle is a project management technique that divides complex projects
into smaller, more easily managed segments or phases. Segmenting projects allows managers to verify
the successful completion of project phases before allocating resources to subsequent phases.
Software development projects typically include initiation, planning, design, development, testing,
implementation, and maintenance phases. However, the phases may be divided differently depending
on the organization involved. For example, initial project activities might be designated as request,
requirements-definition, and planning phases, or initiation, concept-development, and planning phases.
End users of the system under development should be involved in reviewing the output of each phase to
ensure the system is being built to deliver the needed functionality.

Page 30 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Procedure: -

State diagram.

Observation Table:- Not applicable

Calculation:- Not applicable

Results: - Not applicable

Conclusion:- Not applicable

Page 31 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Precautions:- Not applicable

Suggestions:- To define a set of requirements that can be validated once the


software is built

Required knowledge of OOPs


Required Language c, c++,java
Required Database oracle, sql

Lab Quiz:-

Further reading resources:

Book: Lab experiment related theory available in following books:

Book Name
G. Booch, Object-Oriented Analysis and Design, Pearson Education.
J. Rumbaugh, Object-Oriented Modeling and Design,
Pearson Education.
Web resources:

4. csed.sggs.ac.in/csed/?q=node/37
5. www.docstoc.com Education Graduate Engineering.
6. en.wikipedia.org/wiki/ _Object oriented system.
1. www.drnnce.ac.in/files/SS-Lab%20Manual.pdf

Page 32 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

EXPERIMENT NO.8
Draw Object, State, Data Flow Diagram of Online Sales System.

Date of conduction

Date of submission:-

Group no:- all student

Name of faculty incharge: Ms Neha saxena

Name of Technical Assistant: Mr. Deepak sharma

Objective: - Draw Object, State, Data Flow Diagram of Online Sales System.

Apparatus: - Computer, Mozilla Firefox, Google Chrome, Java J2EE, Oracle,


Turbo C++ IDE (TurboC3) Borland Turbo C++ (Version 4.5)

Theory: - In the online sales system the concept of e-commerce come in to existence.The user
is provided with the wide varity of options to access ,the user can buy the product by various
means in this case study after the analysis phase The analyst provide the basic three types of
models which are object,data flowAnd state transition diagram and the three basic phases used
for modeling any

Problem or we can say that the basic initial steps at the beginning is composed up of three phases
in which the first phase is of the analysis phase,then after comes the modeling or design phase
and the the last the implementation phase.During the Object Oriented Analysis the analysts are
provided with the freedom that the generated design model which is generated by the analysts

Page 33 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

will be get actually implemented as it is as it was originally modelled or in other words if the
analysis model is get developed by the analysts then at the time of designing they (analysts)

Procedure: - Object state diagram :

Page 34 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

State diagram.

Observation Table:- Not applicable

Calculation:- Not applicable

Results: - Not applicable

Conclusion:- Not applicable

Precautions:- Not applicable

Suggestions:- To define a set of requirements that can be validated once the


software is built

Required knowledge of OOPs


Required Language c, c++,java
Required Database oracle, sql

Page 35 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Lab Quiz :-
1The benefits of object-oriented modeling are which of the following?
A. The ability to tackle more challenging problems

B. Reusability of analysis, design, and programming results

C. Improved communication between users, analysts, etc.

D.All of the above.

2. The term Incomplete for a UML has the same meaning as which of the following for an EER
diagram?
A. Overlapping rule

B. Disjoint rule

C. Total specialization rule

D.Partial specialization rule

3. A constructor operation does which of the following?


A. Creates a new instance of a class

B. Updates an existing instance of a class

C. Deletes and existing instance of a class

D.All of the above.

4. Which of the following is a technique for hiding the internal implementation details of an
object?
A. Encapsulation

B. Polymorphism

Page 36 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

C. Inheritance

D.All of the above.

5. Aggregation is which of the following?


A. Expresses a part-of relationship and is a stronger form of an association relationship.

B. Expresses a part-of relationship and is a weaker form of an association relationship.

C. Expresses an is-a relationship and is a stronger form of an association relationship.

D.Expresses an is-a relationship and is a weaker form of an association relationship.

6 In object oriented analysis and design what name is given to the component that specifies how an
object's data is manipulated? [Hint]

Object type

Attribute

Message

Method

7 In object oriented analysis and design what name is given to the technique of hiding the data from
users and from other objects? [Hint]

Inheritance

Polymorphism

Abstraction

Page 37 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Encapsulation

8 Which of the following is NOT an advantage of object-oriented approaches? [Hint]

Follows the life-cycle model sequentially

Low maintenance costs

Reuse of code

Seamless progression between development stages

9 Which of the following is NOT a criticism of 'hard' systems approaches compared to 'soft' systems
approaches? [Hint]

They assume that an engineering perspective is always applicable.

There is a dichotomy between the client and the 'expert'.

There is an emphasis on quantitative rather than qualitative information.

None of the above

10 .In Checkland's soft systems approach the root definition is developed using a checklist known as
CATWOE. Which of the following are represented by the A and the O?

Activities / Objectives

Page 38 of 39
NAME OF LABORATORY: Lab 5
LAB SUBJECT CODE: IT-601
NAME OF DEPARTMENT: CS/IT IITM

Abstractions / Outcomes

Actors / Owners

Actions / Objects

Further reading resources:

Book: Lab experiment related theory available in following books:

Book Name
G. Booch, Object-Oriented Analysis and Design, Pearson Education.
J. Rumbaugh, Object-Oriented Modeling and Design, Pearson Education.
Web resources:

csed.sggs.ac.in/csed/?q=node/37
www.docstoc.com Education Graduate Engineering.
en.wikipedia.org/wiki/ _Object oriented system.

Page 39 of 39

You might also like