Software Engineering Lab Assignments Question
Software Engineering Lab Assignments Question
1. For the above problem draw a labeled DFD. Clearly show the context diagram and
its hierarchical decompositions up to level 2.
2. Develop ER Diagram.
2. Hotel Automation Software (HAS)
A hotel has a certain number of rooms. The rooms have different rates depending on whether
they are single or double. AC or non-AC. The room tariffs however may vary during
different parts of the year depending upon the occupancy rate. For this, the computer can
display the average occupancy rate for a given month, so that the manager can receive the
room tariffs for the next month either upwards or downwards by a certain percentage.
Visitors can reserve rooms in advance or can reserve rooms on the spot depending upon the
availability of rooms. The receptionist enters data pertaining to visitors such as their arrival
time; advance paid, approximate duration of stay, and the type of room required. Depending
on this data and subject the availability of a suitable room, the computer allots a room
number and unique token number to the visitor. If the visitor cannot be accommodated, the
computer generates an apology message. The hotel catering services manager inputs the
quantity and type of food items as and when consumed by the visitor, the token number of
the visitor, and the corresponding date and time. When a visitor prepares to check-out, the
hotel automation software generates the entire bill for the visitor and also prints the balance
amount payable by him. During check-out, visitor can opt to register themselves for a
‘frequent guests’ program:
Frequent guests are issued an identity number which helps them to get special discounts on
their bills.
A restaurant owner wants to computerize his order processing, billing and accounting
activities. He also expects the computer to generate statistical reports about sales of different
items. A major goal of this computerization is to make supply ordering more accurate so that
the problem of excess inventory is avoided as well as the problem of non-availability of
ingredients required to satisfy orders for some popular items is minimized. The computer
should maintain the prices of all the items and also support changing the prices by the
manager. Whenever any item is sold, the sales clerk would enter the item code and the
quantity sold. The computer should generate bills whenever food items are sold. Whenever
ingredients are issued for preparation of food items, the data is to be entered into the
computer. Purchase orders are generated on a daily basis, whenever the stock for any
ingredient falls below a threshold value. The computer should calculate the threshold value
for each item based on the average consumption of the item during the past three days and
assuming that a minimum of two days stock must be maintained for all ingredients.
Whenever the ordered ingredients arrive, the invoice data regarding the quantity and price is
entered. If sufficient cash balance is available, the computer should print cherubs
immediately against the invoice. Monthly sales receipt and expenses data should be negated
whenever the manager wished to see these reports.
1. For the above problem draw a labeled DFD. Clearly show the context diagram and
its hierarchical decompositions up to level 2.
2. Prepare a simple Test Case report against the available functional Requirements.
4: Library Information System (LIS)
Library Information System (LIS) Different activities of the library pertaining to the issue and
return of the books by the members of the library and various queries regarding books as listed
below are automated.
A. The library has 10,000 books. Each book is assigned a unique identification number (called
ISBN number). The Library clerk should be able to enter the details of the book into the LIS
through a suitable interface.
B. There are four categories of members of the library: undergraduate students, postgraduate
students, research scholars, and faculty members.
C. Each library member is assigned a unique library membership code number.
D. Each undergraduate student can be issued up to two books for one month duration.
E. Each postgraduate student can be issued up to four books for one month duration.
F. Each research scholar can be issued up to six books for three months duration.
G. Each faculty member can be issued up to ten books for six months duration.
H. The LIS should answer user queries regarding whether a particular book is available. If the
book is available, the LIS should display the rack number in which the book is available and the
number of copies available.
I. The LIS registers each book issued to a number. When a member returns a book, the LIS
deletes the book from the member’s account and makes the book available for future issue.
J. Members should be allowed to reserve books which have been issued out. When such a
reserved book is returned, the LIS should print a slip for the concerned member to get the book
issued and should disallow issue of the book to any other member for a period of seven days or
until the member who has reserved the books gets it issued.
K. When a member returns a book, the LIS prints a bill for the penalty charge for the overdue
book. The LIS calculates the penalty charge by multiplying the number of days the book was
overdue by the penalty rate.
L. The LIS prints the reminder messages to the members against whom books are overdue,
upon
request by the Librarian.
M. The LIS should allow the Librarian to create and delete member records, Each member
should be allocated a unique membership identification number which the member can use to
issue, return and reserve books.
1. Identify the functional requirements and convert them into Specification format.
2. For the above problem draw a labeled DFD. Clearly show the context diagram and
its hierarchical decompositions up to level 2.
6. Student’s Academic Record Management Software
A university wants to automate its regular activities which are associated with students. The
activities are
A. A set of courses are created. Each course consists of a unique course number, number of
credits, and the syllabus.
B. Students are admitted to courses. Each student’s details include roll number, address,
semester number, and the courses registered for the semester.
C. The marks of a student for various units credited are keyed in.
D. Once the marks are keyed in, the SWA (semester weighted average) is calculated.
E. The recent marks of a student are added to his previous marks and a weighted average
based on the credit points for various units is calculated.
F. The marks for the current semester are formatted and printed,
G. The SWA appears on the report.
H. A check must be made to determine if a student should be placed on the Vice-
Chancellor’s list. This is determined based on whether a student scores an SWA of 85 or
higher.
I. If the SWA is lower than 50, the student is placed on a conditional standing.
1. Identify the functional requirements and convert them into Specification format.
2. For the above problem draw a labeled DFD. Clearly show the context diagram and
its hierarchical decompositions up to level 2.
This software concerns automating the activities of the various department offices of the
university. The department offices do a lot of bookkeeping activities; the software to be
developed targets to automate these activities. The summary of the requirements is as follow:
A. Various details regarding each student such as his name, address, course registered, etc.
are entered at the time he takes admission.
B. At the beginning of every semester, students do course registration. The information
system should allow the department secretary to enter data regarding student course
registrations. As the secretary enters the roll number of each student, the computer system
should bring up a form for the corresponding student and keep track of courses already
completed and those to be completed.
C. At the end of the semester, the instructors grading provide information to the office which
the secretary enters in the computer. The information system should be able to compute the
grade point average for the semester as well as the cumulative grade point average (CGPA)
and print the grade sheet for each student.
D. The information system should also keep track of the inventory of the Department, such as
office equipment, furniture etc.
E. The Department has an yearly grant which is spent on buying equipment, books, stationery
tines, etc. Also, in addition to the annual grant that the Department gets from the university, it
gets funds from different consultancy services it provides to different organizations. It is
necessary that the Department’s information system keeps track of its accounts.
F. The information system should also keep track of the research projects of the Department,
publications by the faculties, etc.
1. Identify the functional requirements and convert them into Specification format.
2. For the above problem draw a labeled DFD. Clearly show the context diagram and
its hierarchical decompositions up to level 2.
A retail medicine shop deals with a large number of medicine procured from various
manufacturers. The shop owner stocks different medicines in wall-mounted, numbered racks.
A. The shop owner maintains as small an inventory for each item as is reasonable from the
point of view of reducing inventory overheads.
B. Thus, one important problem the shop owner faces is to be able to order an item as soon as
its quantity reduces below a threshold value. The shop owner wants to stock medicines to be
able to sustain selling for about one week. To calculate the threshold value for each item, the
software must be able to calculate the average daily sale of each medicine for one week.
C. At the end of each day, the shop owner would request the computer to generate the items
to be ordered. The computer should print out the medicine description, the quantity required,
and the address of the vendor supplying the medicine. The shop owner should be able to store
the name, address, and the code numbers of the medicines that each vendor deals with.
D. Whenever new supply arrives, the shop owner would enter the item code number,
quantity, batch number, expiry date, and the vendor number. The software should print out a
cherubs in favor of the vendor for the items supplied.
E. When the shop owner procures new medicines (not dealt with earlier), he should be able to
enter the details of each medicine such as the medicine trade name, generic name, vendors
who can supply that medicine, unit selling and purchasing price. The computer should
generate a code number for each new medicine which the shop owner would paste on the
rack where it is to be generic name or the trade name and the software should display its ends
number and the quantity held in stock.
F. At the end of everyday, the shop owner would give a command to generate the list of
medicines whose shelf-lives have expired. It should also pre pare a vendor-wise list of the
expired medicines so that the shop owner can ask the tremendous amount of labor on the part
of the shop owner and is a major motivator for the automation endeavour.
G. Whenever any sale occurs, the shop owner would enter the code number and the quantity
of each medicine sold. The MSA should print out the cash receipt.
H. The computer should also generate the printout of revenue and profit for any given period.
It should also show the vendor-wise payments for the period.
1. Identify the functional requirements and convert them into Specification format.
2. For the above problem draw a labeled DFD. Clearly show the context diagram and
its hierarchical decompositions up to level 2.