SoftwareEngineeringLabFile Sameer
SoftwareEngineeringLabFile Sameer
LAB EXPERIMENT 1
Aim: To identify the Functional and Non-functional Requirements from Problem Statement.
Assignment:
1. Prepare a problem statement for the project identified by you.
2. Identify the functional requirements from the problem statement
3. Identify the non-functional requirements from the problem statement.
Project Title:
Online Auction System
Problem Statement:
New users can register to the system through an online process. By registering a user agrees to abide by different
predefined terms and conditions as specified by the system. Any registered user can access the different features of the
system authorized to him / her, after he authenticates himself through the login screen. An authenticated user can put
items in the system for auction. Authenticated users can place bid for an item. Once the auction is over, the item will be
sold to the user placing the maximum bid. Payments are to be made by third party payment services, which, of course,
is guaranteed to be secure. The user selling the item will be responsible for it's shipping. If the seller thinks he's getting
a good price, he can, however, sell the item at any point of time to the maximum bidder available. Functional
Requirements:
Non-Functional Requirements:
LAB EXPERIMENT 2
Aim: To Model UML Use Case Diagrams and capture Use Case Scenarios.
Assignment:
Construct Use Case diagrams for the following using any open source tool of your choice
1. The problem statement given as Exercise#1 in virtual lab.
2. The problem statement given as Exercise#2 in virtual lab.
Exercise#1:
Consider a library, where a member can perform two operations: issue book and return it. A book is issued to a member
only after verifying his credentials. Draw a use case diagram for the problem.
Exercise#2:
Consider your neighbouring travel agent from whom you can purchase flight tickets. To book a ticket you need to
provide details about your journey i.e. on which date and at what time you would like to travel. You also need to
provide your address. The agency has recently been modernized. So you can pay either by cash or by card. You can
also cancel a booked ticket later if you decide to change your plan. In that case you need to book a new ticket again.
Your agent also allows you to book a hotel along with flight ticket. While canceling a flight ticket you can also cancel
hotel booking. Appropriate refund as per policy is made in case of cancellation.
LAB EXPERIMENT 3
SE VLabs Inc. is a young company with a few departments spread across the country. As of now, the
company has a strength of 200+ employees. Each employee works in a department. While joining, a person
has to provide a lot of personal and professional details including name, address, phone #, mail address, date
of birth, and so on. Once all these information are furnished, a unique ID is generated for each employee. He
is then assigned a department in which he will work. There are around ten departments in the company.
Unfortunately, two departments were given same names. However, departments too have ID's, which are
unique.
Exercise 2:
The latest cab services agency in the city has approached you to develop a Cab Management System for them. They
would be using this software to efficiently manage and track different cabs that are operated by them. Cabs are solely
owned by the agency. They hire people in contracts to drive the cabs. A cab can be uniquely identified by, like any
other vehicle in the country, its license plate. A few different categories of cars are available from different
manufacturers. And a few of them are AC cars. Cab drivers are given a identification card while joining. The ID card
contains his name, permanent address, phone number, date of joining, duration of contract. Also, an unique
alphanumeric code is assigned to each number. The agency provides service from 8 AM to 8 PM. Whenever any
passenger books a cab, an available cab is allocated for him. The booking receipt given to the passenger contains the
car #, source and destination places. Once he reaches the destination, he signs on a duplicate copy of the receipt and
gives back to the driver. Driver must submit this duplicate copy signed by the passenger at the agency for
confirmation. To evaluate their quality of service, the agency also wants a (optional) customer satisfaction survey,
where passengers can provide feedback about their journey through the agency's website.
LAB EXPERIMENT 6
Activity Diagram
LAB EXPERIMENT 5
Sequence Diagram
Class Diagram
LAB EXPERIMENT 4
Exercise#1:
Draw a context-level DFD to depict the typical user authentication process used by any system. An user gives two inputs
-- user name and password.
Exercise 2:
DFD for a Social Networking site
The Absolute Beginners Inc. is planning to launch a revolutionary social networking site, EyeCopy. You
have been entrusted with designing a DFD for the proposed application. In particular, you have been asked
to show the following scenarios:
User registration
User login
Profile update
Draw a Level 1 DFD to depict the above data flow and the corresponding processes. Should there be any
data store in the DFD?