0% found this document useful (0 votes)
2 views18 pages

Se Lab File

The document outlines a project to develop a railway reservation system, detailing the preparation of a Software Requirements Specification (SRS) document according to IEEE standards. It includes objectives, technology requirements, intended audience, operations, product functions, performance requirements, and software system attributes. Additionally, it describes various experiments involving UML diagrams, forward engineering in Java, and deployment diagrams.

Uploaded by

nik95969798
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views18 pages

Se Lab File

The document outlines a project to develop a railway reservation system, detailing the preparation of a Software Requirements Specification (SRS) document according to IEEE standards. It includes objectives, technology requirements, intended audience, operations, product functions, performance requirements, and software system attributes. Additionally, it describes various experiments involving UML diagrams, forward engineering in Java, and deployment diagrams.

Uploaded by

nik95969798
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

INDEX

S.NO TITLE DATE SIGN

Prepare a SRS document in line with the


1 IEEE recommended standards.

Draw the use case diagram and specify


2 the role of each of the actors. Also state
the precondition, post condition and
function of each use case.

3 Draw the activity diagram.

Identify the classes. Classify them as


4 weak and strong classes and draw the
class diagram.
Draw the sequence diagram for any
5 two scenarios

Draw the collaboration diagram


6

7 Draw the state chart diagram

8 Draw the component diagram

9 Perform forward engineering in java.


(Model to code conversion)

10 Draw the deployment diagram


Experiment- 1
Aim:- Prepare a SRS document in line with the IEEE recommended standards.

OBJECTIVE

To develop software for railway reservation system with various functional and non-
Functional part of design namely,

• PROBLEM ANALYSIS AND REQUIREMENT ANALYSIS.


• TRAIN ENQUIRY
• TICKET GENERATION
• TICKET CANCELLATION

The ultimate goal of this project is to develop a database that integrates the process of the
Reservation of railway

INTRODUCTION

The purpose of this source is to describe the railway reservation system which provides the
train timing details, reservation, billing and cancellation on various types of reservation
namely,

• Confirm Reservation for Confirm Seat.


• Reservation against Cancellation.
• Waiting list Reservation.
• Online Reservation.
• PNR Generation

TECHNOLOGY USED

1. USER INTERFACE:

• Keyboard and Mouse


2. HARDWARE REQUIREMENT:

• Printer
• Normal PC
• CPU – Intel Core 2 Duo E7300
• RAM – 512MB (MIN)
• Hard Disk – 80GB

3. SOFTWARE REQUIREMENT:

• Turbo C++, C

4. OPERATING ENVIRONMENT:

The OS used are

• Windows 97
• Windows XP

INTENDED AUDIENCE:

The different types of readers are

• Developers
• Customers
• Management people specifically,
• Passengers
• Clerk

DEFINITIONS, ACRONYMS AND ABBREVIATIONS

• NTES – National Train Enquiry System


• IVRS – Interactive Voice Response system
• PRS – passenger reservation system

It consists of

• Train details
• Reservation form
• Billing
• Cancellation.

GENERAL DESCRIPTION It enables us to maintain the railway train details like their timings,
number of seats available and reservation billing and cancelling the tickets.

COMMUNICATION INTERFACES

• Indian Railways web-site, www.indianrail.gov.in offers PRS enquiries on the internet


Berth/Seat availability, Passenger Status, Fare, Train Schedule etc,.

• National Train Enquiry System (NTES) website, www.trainenquiry.com gives dynamic


information about the running status of any train and its expected arrival/departure at any
given station.

• Mobile telephone based SMS enquiry service. A new mobile phone based facility for rail
users’ which is. Country wide extension of Universal Rail Enquiry number “139”through
setting up of Interactive Voice Response System (IVRS).

OPERATIONS

• Any Reservation counter from 8 am to 8 pm.


• Prior to 90 days of Journey.
• One form for 6 persons only.
• To save time & queues, Agent is another guide.

PRODUCT FUNCTION

• It tells the short note about the product.

TRAIN DETAILS

• Customers may view the train timing at a date, their name and number of tickets.
• Passengers operated Enquiry Terminals.

PERFORMANCE REQUIREMENTS

• It is available during all 24 hours.


• Offered through Mail express, super-fast, Rajdhani & Shatabdi Trains.
• About 1520 Trains run daily.
Variety of compartments based on comfort:

1. AC first class.
2. AC sleeper.
3. First class.
4. AC three tier.
5. AC chair car.
6. Sleeper class
7. Ordinary chair car.
Types of concerns & complexities:

1. 44 types of quotas.

2. 8 types of trains.

3. 9 types of classes.
4. 162 types of concessions.
5. 127 types of bogies

SOFTWARE SYSTEM ATTRIBUTES:

1. Reliable
2. Available
3. Secure

DOCUMENT APPROVAL

The bill passed on any proposals related to railway management needs approval of the
Ministry of railway department
.

ER Diagram:
Experiment- 2

Aim:- Draw the use case diagram and specify the role of each of the actors. Also state the
precondition, post condition and function of each use case.
Experiment- 3

Aim:- Draw the activity diagram.


Experiment- 4
Aim:- Identify the classes. Classify them as weak and strong classes and draw the class
diagram.

Classes: Manager, Inventory, Receptionist, chef, Guest, Rooms, Bill, Food, Housekeeping.
Experiment- 5

Aim:- Draw the sequence diagram for any two scenarios

Shopping Cart
ATM Withdrawal
Experiment- 6

Aim- Draw the collaboration diagram


Experiment- 7

Aim- Draw the state chart diagram


Experiment- 8
Aim- Draw the component diagram
Experiment- 9

Aim-To perform forward engineering in Java by converting a UML class diagram


(model) into equivalent Java code.

OBJECTIVE

●​ Understand the concept of forward engineering in software development.


●​ Learn how to convert a class diagram into Java code.
●​ Automate code generation using a modeling tool (e.g., StarUML or Visual Paradigm).

THEORY

Forward Engineering refers to the process of generating source code from high-level models
such as UML diagrams. It is a part of Model-Driven Architecture (MDA) where design is
transformed into implementation.

UML Class Diagram is a visual representation of classes, their attributes, methods, and
relationships.

Key Components:

●​ Classes: Represent objects.


●​ Attributes: Data members of a class.
●​ Methods: Functions performed by a class.
●​ Relationships: Inheritance, association, aggregation, etc.

TOOLS REQUIRED

●​ Java JDK (any version)


●​ IDE (e.g., Eclipse, IntelliJ)
●​ UML Modeling Tool (e.g., StarUML, Visual Paradigm, or ArgoUML)


Java Class Implementation for Person (Model-to-Code Conversion)

class Person {
private String name;
private int age;

public Person() {
// default constructor
}

public void greet() {


System.out.println("Hello, my name is " + name);
}

// Getters and setters


public String getName() {
return name;
}

public void setName(String name) {


this.name = name;
}

public int getAge() {


return age;
}

public void setAge(int age) {


this.age = age;
}
}

public class Main {


public static void main(String[] args) {
Person p = new Person();
p.setName("Alice");
p.setAge(25);
p.greet(); // Output: Hello, my name is Alice
}
}

OUTPUT:
Experiment- 10

Aim-Draw the deployment diagram

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy