CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology....

38
CASE TOOLS LAB

Transcript of CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology....

Page 1: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

CASE TOOLS LAB

Page 2: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Aim:

• To understand the fundamental concepts of object-oriented methodology.

Objectives:

• To introduce object-oriented analysis and object-oriented design.

• To present object-oriented modelling using Unified Modelling Language (UML) for specification, construction, visualisation,and documentation of object-oriented models.

Page 3: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

SYLLABUS• Prepare the following documents for two or three of the experiments listed below • and develop the software engineering methodology.• • 1. Program Analysis and Project Planning.• Thorough study of the problem – Identify project scope, Objectives,• Infrastructure.• • 2. Software requirement Analysis• Describe the individual Phases / Modules of the project, Identify deliverables.• • 3. Data Modeling• Use work products – Data dictionary, Use diagrams and activity diagrams,• build and test class diagrams, Sequence diagrams and add interface to class• diagrams.• • 4. Software Development and Debugging• • 5. Software Testing• Prepare test plan, perform validation testing, Coverage analysis, memory• leaks, develop test case hierarchy, Site check and Site monitor.

Page 4: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

CONT..

• SUGGESTED LIST OF APPLICATIONS• Student Marks Analyzing System• Quiz System• Online Ticket Reservation System• Payroll System• Course Registration System• Expert Systems• ATM Systems• Stock Maintenance• Real - Time Scheduler• Remote Procedure Call Implementation

Page 5: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

LIST OF EXPERIMENTS• Student Marks Analyzing System• • Quiz System• • Online Ticket Reservation System• • Payroll System• • Course Registration System• • Expert Systems• • ATM Systems• • Stock Maintenance• • Real - Time Scheduler• • Remote Procedure Call Implementation

Page 6: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Program Analysis and

Project Planning

Page 7: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

1.ATM The expansion of ATM is Automated Teller Machine. ATM is

used for money transferring purpose. The client should have account in ATM system as well as in bank. The process is as follows first insert ATM card into ATM machine. After inserting the ATM card enters the pin number, card reader reads

the pin number, and machine asks their corresponding password(pin code) to the client.

The pin code must be within four digits. If the pin code is valid, the client can perform their corresponding operations on his account, otherwise appropriate message will be displayed to the client.

After that client entered the password and choose the options that are displayed in the moniter. The options are deposit, withdraw, transaction and exit.

One’s the client chooses their required option, the details regarding that particular options are entered. Client details will displayed on the screen.

Page 8: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

2.RESERVATION• The journey plays a vital role to reach our destination. Train, one of

the fast transport services in INDIA provide connection to the different designations.

• Passenger can easily book their ticket at any time without any problem, so the Online Reservation System provides the easy booking of ticket their schedules and charges in the easy effective manner.

• Online Reservation System provides user interaction to book their train ticket without spending the time in the railway station or rooming here and there for the booking of their tickets. Sometime passenger faces problem.

• NOW NO PROBLEM FOR THE BOOKING, of the ticket from anywhere for the user giving happt and peaceful journey. It includes a large number of passengers to resolve the booking problem.

• In this project, passenger has been given with some shorts of accesses rights like train no,platform no,ticket charge and seats status and confirmation providing user interface.

Page 9: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

3.Stock Maintenancce

The project, Stock Maintenancce helps the owner of the Shopping Mall to maintain the stock available. The owner maintains a database for the items available in the Mall.

Records can be inserted into the database when a new product is introduced. The owner has the options for checking the availability of the stock and viewing the product details in the database.

This project reduces the difficulty involved in continuous checking and updating of the stocks. It is more accurate and notify immediately in case of shortage of stock.

The owner can easily check the data since the database can be viewed easily whenever the owner needs the item details. It is more reliable software for the stock maintenance.

Page 10: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

4.RPC• Remote Procedure Call is a method to transfer the files

from one system to another effectively. • In olden days data are maintained in each system to access it

from any of them. • But this RPC method makes it simple process by maintaining the

original data in one system, and then transfers that specific file to the system that requires it. Also by using RPC We can execute a program that resides on one system from the other systems.

• Remote procedure call is highly used in internet. It makes the user to work in a flexible environment such that he/she may get or work on data of another system.

• User need not to carry any manual data, he can access data from remote area through remote procedure call. Present world is fully connected through remote procedure call.

Page 11: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

5.STUDENT MARK ANALYSING SYSTEM

From this project all members can get the details about the students and their performance.

The details of students with their performance are given. When the marks are stored in the data base the system calculates the total for each student & checks for the minimum percentage. When the total percentage is calculated the rank can be computed.

The personal details of the student like name, department, address, and exam no and year can also be known.

Students can view their marks by entering their name and password, they can view their marks. The strength of each department in every year can also be known.

Student can also know their percentage, marks, rank.New students can be added and the pass out students can be deleted from the database from the application itself.

Therefore this system analyzes the marks of the students who need to know their performance.

Page 12: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

6.PAY ROLL SYSTEM

This project aims at developing a project for the payroll for an employee. The system contains employee’s details depending upon their employee

number. We can know the details of the employees. The details of the employees with skills are given separately, depending

upon their designation their salary will be provided. When the skill is calculated, their salary will be computed by the system

for the employees. Employers can view their details by entering employee number. We can

also the strength of the employees in the field. Each employee is having HRA, DA, MA, etc…. We can view all the

employee details with their net salary. Only we can see the employee’s details. From this we can get secured

details of all the employees. Therefore this system computes the payroll and details of all The employees.

Page 13: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

7.COURSE REGISTRATION

The details of students with their performance are given. When the marks are stored in the data base the system analyses the total for student & checks for the minimum percentage. When the total percentage is calculated and admission is can be computed.

The personal details of the student like name, department, address, and application no and year can also be known.

Students can view their marks by entering their name and password; they can view their status the admission. The strength of each department in every year can also be known.

Student can also know their admission no, marks, overall rank.Therefore this system analyzes the admission status of the students who need to know their admission details.

Page 14: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

8.QUIZ SYSTEM

This project aims at developing a project for quiz system.This system contains participant’s details depending upon their talents and qualification. We know the details of the participants.

The details of the participant’s skills are given separately. Depending upon

their answering talents their marks will be provided. When the skill is calculated their marks will be computed.

Participants can view their marks by pressing the score button. We can

know the strength of the participants in the field. Each participant is having its own qualifications. Only we can see the

participant’s details but we cannot modify it. We can get a secured detail of all participants. Therefore this system computes the marks and displaying marks in screen.

Finally who scored the high marks are the winner and give prizes to winner.

Page 15: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

10.EXPERT SYSTEM The main objective of this project to create an artificial

intelligence known as expert system.

The user has to simply the answer for questions produced by the system and by analyzing the user’s answer,system produces the output.

The user has to think an animal from the system list.System

enables to answer multiple questions and identifies which animal is in user’s mind

Playing with expert system give pleasure to users and they

wonder how the system accurately identifies what is in their mind which is not so ease even for humans.

Page 16: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Software Required

• Software -Rational• Front End-Visual Basic• Back End -MS Access/SQL/Oracle

Page 17: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Hardware Required

Windows server, Computer system (Intel Pentium Dual core E2180,2.0GHz), Printer & Laser Printer

Page 18: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Software requirement Analysis

Page 19: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Software requirement Analysis

1.Attribute Matrix2.Traceability Matrix3. Traceability Tree(INTO)4. Traceability Tree(OUT OF)

Page 20: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Traceability Matrix – ATM

Page 21: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Traceability Matrix – ATM

Page 22: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Traceability Tree ( Traced Into )

Page 23: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Traceability Tree ( Traced Out Of )

Page 24: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Data Modeling

Page 25: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Rational Rose

• Diagram window

• Diagram• toolbar

• Browser

• Documentation • Window

docked/floating

Page 26: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Use case Diagram for ATM

CardInsertion

CardRemoval

User

DisplayBalance

PrintTransactionDetails

PinValidation

CommenceTransaction

CurrencyFormat Specification

TerminateTransaction

CurrencyDispension

ATM machine

Page 27: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Class Diagram for ATM

Client

PinNoAmount W/dCurrencyFormatCurrentBalance

InsertCard()SpecifyPin()SpecifyAmt()RetrieveCash()RemoveCard()

ATM m/c

PinNoPinStatusAmountDispensedCurrentBalance

ValidatePin()SetPinStatus()GetCurrencyFormat()GetAmountDispensed()GetCurrentBalance()PrintTransactionDetails()

**

Page 28: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Sequence Diagram for ATM : ATM machine : ATM machine

Pin Validation

Pin Validation

Receive AmountReceive Amount

Balance Check

Balance Check

Currency Format

Currency Format

Currency DispenseCurrency Dispense

Bill Transactio...

Bill Transactio...

1: Validate the pin

2: Get the amount to be withdrawn

3: Check Balance with amount

4: Receive the money split

5: Dispense the amount

6: Print the Transaction information

: User : User

Card InsertionCard Insertion Pin Specification

Pin Specification

Amount Specification

Amount Specification

MoneySplit-up Specification

MoneySplit-up Specification

Cash Collection

Cash Collection

Card RemovalCard Removal

1: Insert the code

2: Specify the pin

3: Specify the amount

4: Specify the split up

5: Collect the cash

6: Remove the card

SEQUENCE DIAGRAM: ATM MACHINE

SEQUENCE DIAGRAM: USER

Page 29: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

COLLABORATION DIAGRAM

MoneySplit-up Specification

: User

Card Insertion

Pin Specification

Amount Specification

Cash Collection

Card Removal

1: Insert the code2: Specify the pin

3: Specify the amount

4: Specify the split up

5: Collect the cash

6: Remove the card

Page 30: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Activity Diagram for ATM

Get the pin number

Is valid? Get the amount to be withdrawnYes

Check for balance

Get the format for currency dispension

Dispense the currency

Update the account

Print the transaction details

Remove card and terminate transaction

Commence transaction after card insertion

Page 31: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

Implementation

• VB• VC++• JDK• J2EE

Page 32: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

OUTPUT

Page 33: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-
Page 34: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-
Page 35: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-
Page 36: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-
Page 37: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-
Page 38: CASE TOOLS LAB. Aim: To understand the fundamental concepts of object-oriented methodology. Objectives: To introduce object-oriented analysis and object-

THANK YOU