Exercise on software engineering, Lecture notes of Software Engineering

Exercise on software engineering

Typology: Lecture notes

2018/2019

Uploaded on 12/09/2019

eyobed-israel
eyobed-israel 🇪🇹

1 document

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Adama Science and Technology University
School of Electrical Engineering and Computing
Department of Computing
COURSE: FSE
EXERCISE-1 FOR: Computer Science 3rd year students
1. Read the following case carefully.
Fast food ordering system is a system which facilitates food ordering activities within web based
application. This system enables the customer and users of the system to view available foods list
and choose the order and get it delivered.
The chef manager will be able to update the menu in order to inform the customers with only
available foods and drinks. The system provides the login service which let the customer to login
to the system and by using provided user interface they can place their order. Waiters and other
employees of Fast Food Order Company will have a login account that will help the manager to
manage employees and assign available delivery person for the delivered order.
Generally the following basic activities are to be found in this system:
Login in to the system
Navigate the restaurant menu
Add an item to their current order
Review their current order.
Provide delivery and order details
Place an order
Bill payment
2. Try to identify the participating actors of the given system description.
3. List out the possible use cases of the system.
4. Draw the use case diagram within necessary relations ships between use cases.
5. Write the full use case description for placeorder and deliverorder use case.
6. Draw activity, sequence and state chart diagram for vieworder use case.
pf3

Partial preview of the text

Download Exercise on software engineering and more Lecture notes Software Engineering in PDF only on Docsity!

Adama Science and Technology University

School of Electrical Engineering and Computing

Department of Computing

COURSE: FSE

EXERCISE-1 FOR: Computer Science 3rd^ year students

1. Read the following case carefully.

Fast food ordering system is a system which facilitates food ordering activities within web based application. This system enables the customer and users of the system to view available foods list and choose the order and get it delivered.

The chef manager will be able to update the menu in order to inform the customers with only available foods and drinks. The system provides the login service which let the customer to login to the system and by using provided user interface they can place their order. Waiters and other employees of Fast Food Order Company will have a login account that will help the manager to manage employees and assign available delivery person for the delivered order.

Generally the following basic activities are to be found in this system:

 Login in to the system  Navigate the restaurant menu  Add an item to their current order  Review their current order.  Provide delivery and order details  Place an order  Bill payment

  1. Try to identify the participating actors of the given system description.
  2. List out the possible use cases of the system.
  3. Draw the use case diagram within necessary relations ships between use cases.
  4. Write the full use case description for placeorder and deliverorder use case.
  5. Draw activity, sequence and state chart diagram for vieworder use case.

EXERCISE TWO

In this system four major categories of data are there: personal information about manager, employee, customer, delivery person, menu manager and chief manager; records of restaurant menu, records of item, food ordering and item order, information about bill and detailed information about delivered orders. The description of each of those categories is given as follows: Personal information: the system shall contain name, sex, id, position, salary and address for each employee. Restaurant menu: the system shall contain menu records of the restaurant like date, item name, item price, item type etc. Item order: this may include information like item ID, type, quantity, delivery address etc. Bill: the system shall contain bill ID, item ID, item quantity, unit price, total price etc. type of information. Item: all information about the current item must be recorded. The following are some of the item information’s; item ID, name, type and price.

The following are some basic responsibilities of each actor.

Manager: register, login, manage employee and view activities Customer: register, login, view menu, place order and bill payment Delivery person: to deliver order Menu manager: update menu, view menu Chef Manager: view menu, view order, view ready items.

Question I

To draw the class diagram for FFOS

  1. Try to list out the possible class that may exist in this system.
  2. Identify the relationship between classes. E.g (generalization, aggregation, qualified association etc.)
  3. Draw the class diagram based on number 1 and number 2 concepts.