






























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!































This section will give an overview of the product being developed.
The software being developed will automize the attendance system of the Mess and bring correctness in it, by first authenticating and then marking the attendance of the Mess Member and will also automize the billing system by doing all the calculations required automatically and generating monthly bills that will be due from the Mess Members. It is an intranet based solution. The system is to maintain one database for each Mess containing information about attendance and billing of each Mess Member along with their individual particulars necessary to identify the Mess Members, the monthly expense and purchase records.
The current system is relying on man labor. All the purchases have to be summarized from the purchase receipts manually; all the expense records are recorded and summarized manually on pieces of paper daily; all the attendance is recorded manually on piece of paper daily and then duplicated on the registers; daily bill of every Mess Member is calculates manually on piece of paper. At the end of each month the total bill is also calculated manually for each Mess Member. Time is wasted on these activities daily.
This software will benefit Mess Members by managing their time to utilize the Mess facility and giving them portal to complain and give suggestions; Mess administration by automizeing the work they have to do manually.
This section of the document provides information regarding activities that that were done up until now.
Literature survey was done on the Barcode to be used for the cards of the Mess Members and also related material regarding the development of the Data Flow Diagrams and Architecture from books and internet. The list of the books provide in the „Reference‟ section are being used for the design and development purposes. The information on Barcode and its standards is as follows.
A barcode is a machine-readable representation of information. Originally, barcodes stored data in the widths and spacing of printed parallel lines, but today they also come in patterns of dots, concentric circles, and text codes hidden within images. Barcodes can be read by optical scanners called barcode scanners. Barcodes are widely used to implement Auto ID Data Capture (AIDC) systems that improve the speed and accuracy of computer data entry. An advantage over other methods of AIDC is that it is less expensive to implement. There are many types of Barcodes e.g. EAN13 which is used for generating Barcode of ISBN Nos. of books. UPC (A, E) is used commonly to encode retail prices of items to be sold and Code 39, 128 (A, B, C) which are used for various purposes. The Barcode type Code128 (B) will be used for this project, example of the Barcode is shown in the Figure 1 which encodes data “BSCIS0438”.
Figure 1: Code 128(B) Barcode for "BSCIS0438"
Entities There are six entities interacting with the system.
1. Employee: Employee is the person who can just get information on Roster. 2. Operator: Operator is the person who provides information of Daily Attendance of Mess Member to the system and also the purchase information for every purchase and expense information for every expense, the On-Payment Lunch info and also the Mess Member Account Information. 3. Shift-In-charge: He is the person who can update the Roster information and can get the information on the menu of the day, the Employee information and the details of the official Lunch/Tea event. 4. Mess Supervisor: He is the person who can give information on the Roster, Employee Information and Menu; and can also take the information on expense, purchase information, Mess Bill, Attendance, Mess Member Account Info, official Lunch/Tea event info and comments/suggestions. 5. Mess Member: Mess Member can get information on Attendance, Menu, and Mess Bill from the system and gives the comments/suggestions to the system to store. 6. Mess Secretary: Mess Secretary can get information on menu, Mess Bill, expense and purchase information, attendance and comments/suggestions from the system.
Data Flows
1. Monthly Menu: It is the information on the menu of the Mess like what dishes will be cooked on which day of the month. 2. Today’s Menu: It is the menu of single day, containing info of the dishes that will be cooked on that day. 3. Comments/Suggestions: It is the information that the Mess Members what to give to the Mess Administration as comments or suggestions. 4. Monthly Mess Bill: It is the information on the Bill of the Mess Members and their account balance.
5. Monthly Attendance: It is the information on the number of dishes each Mess Member eats on each day of the month. Which also tell us whether the person attended the Mess or not. 6. Daily Attendance: It is the information on the number of dishes each Mess Member eats on a single day. This is also the one day attendance. 7. Mess Member Account Information: It is the information of the Mess Member which contains his credentials. 8. Security Amount/Mess Bill: It is the information of how much the bill of the Mess Member is and how much amount he is giving to add it to his account balance. 9. Monthly Purchase Information: It is the information of Purchases that are done for the Mess. 10. Monthly Expense Information: It is the information on how much the Items are expensed. 11. Roster: It is the information on the Duties of the Mess Employee. 12. Employee info/Roster: It is the information on the Employee credentials and there duties being assigned in shifts. 13. Barcode Info: It is the barcode information on the card of the Mess Member. 14. On-Payment Lunch Info: It is the information on the on-payment Lunches. 15. Official Lunch/Tea Info: It is the information on the Official Lunch/Tea events. The Context Diagram of PC-MIS is as follows I the Figure 3.
The Detailed Diagrams of the Processes in the Diagram 0 are as follows.
2.2.3.1 Process bubble 1 feedback Process
The detailed DFD of Process 1 is given in Figure 5.
Figure 5: Detailed DFD of Process bubble 1 (Feedback Process)
2.2.3.2 Process bubble 2 Billing Process
The detailed DFD of Process 2 is given in Figure 6.
Figure 6: Detailed DFD of Process bubble 2 (Billing Process)
2.2.3.3 Process bubble 3 Attendance Process
The detailed DFD of Process 3 is given in Figure 7.
Figure 7: Detailed DFD of Process bubble 3 (Attendance Process)
2.2.3.4 Process bubble 4 Mess Member Account Process
The detailed DFD of process 4 is given in Figure 8.
Figure 8: Detailed DFD of Process bubble 4 (Mess Member Account Process)
2.2.3.7 Process bubble 7 Purchase Process
The detailed DFD of process 7 is given in Figure 11
Figure 11: Detailed DFD of Process 7 (Purchase Process)
2.2.3.8 Process bubble 8 Expense Process
The detailed DFD of process 8 is given in Figure 12.
Figure 12: Detailed DFD of Process bubble 8 (Expense Process)
2.2.3.9 Process bubble 9 Official Lunch Process
The detailed DFD of process 9 is given in Figure 13
Figure 13: Detailed DFD of Process bubble 9 (Official Lunch Process)
2.2.3.10 Process bubble 10 On-Payment Lunch Process
The detailed DFD of process 10 is given in Figure 14
Figure 14: Detailed DFD of Process bubble 10 (On-Payment Lunch Process)
2.3 Mapping Data Flow to a Software Architecture
The Data Flow Diagrams were analyzed and mapped into the software architecture by following the steps given bellow.
The First-Level Factoring was performed and the architecture was derived which resulted in top-down distribution of control. First-Level Factoring is shown in Figure 16.
Figure 16: First-Level Factoring for PC-MIS
The Second-Level Factoring was performed on the sub processes and the First-Iteration Architecture was derived which is shown in Figure 17.
Figure 17: First-Iteration Architecture of the System
The First-Iteration Architecture was refined and the Second-Iteration Refined Architecture was derived. Refined Architecture of the system is shown in Figure 18.
Figure 18: Second-Iteration Refined Architecture of the System.
2.4 Entity Relationship Model
The Entity Relationship Model (ERM) was introduced by Chen and is widely used for the logical design. It is based on identifying real-world objects called entities which are connected by relationships. The entities and relationships are as follows.
Any object that exists and is distinguishable from other objects is an entity. The attributes describe the entities and distinguish them from one another. Entity Set is a collection of entities of same type. There are strong entities and weak entities in the system whish are as follows.
Figure 20: "MESS_MEMBER" Entity Set
2.4.1.1.3 EMPLOYEE
Entity set “EMPLOYEE” stands for the employee of the any mess which includes Operators, Shift In-charge, Staff Members, Supervisor. The attributes of the entity is given as follows. EMPLOYEE_ID stands for the identification no of the employee. NAME stands for the name of the mess employee. PHONE stands for the phone number of the employee. ADDRESS stands for the residing address of the employee. PICTURE stands for the photograph of the employee. DEPARTMENT_RANK stands for the rank of the employee in the department DEPARTMENT stands for the department to which employee is assigned. EMAIL stands for the email of the employee. The entity set “EMPLOYEE” is shown in the Figure 21.
Figure 21: "EMPLOYEE" Entity Set
Entity set “FOOD_ITEM” stands for the Items in the inventory of any mess. The attributes are as follows. ITEM_ID is the identification number of the item in the inventory. NAME is the name of the food item. QUANTITY is the current quantity of item in the inventory. PRICE is the current price of the item in the inventory. SUPPLIER_NAME is the name of the supplier of the item. The entity set “FOOD_ITEM” is shown in Figure 22.
Figure 22: "FOOD_ITEM" Entity Set
2.4.1.2 Weak Entities
The entities that cannot exist independently are weak entities. They need another entity for their existence.
2.4.1.2.1 MENU
Entity set “MENU” stands for the menu of the mess which contains the names of the dishes to be cooked. The attributes are as follows. DATE stands for the date on which the dishes will be cooked. SHIFT stands for the shift number of the day on which the dishes will be cooked. DAY stands for the day on which the dishes will be cooked. MENU_A stands for the name of the dish as option one. MENU_B stands for the name of the dish as option two. The entity set “MENU” is shown in the Figure 23.
Relationship sets are sets of same type of relationships between entities. There are strong and weak relationships.
2.4.2.1 Strong Relationships
The relationships between strong entities are strong relationships.
2.4.2.1.1 MESS_MEMBER REGISTERS to a MESS
The relationship set “REGISTERS” has following attributes. MESS_ID stands for the identification number of the mess in which the mess member registers. MEMBER_ID is the identification number of the mess member. ACCOUNT_BALANCE is the balance account of the mess member at the mess. STATUS stands for the status of the registration i.e. active or blocked or deleted. The relationship set “REGISTERS” between MESS_MEMBER and MESS entities is shown in Figure 26.
Figure 26: "REGISTERS" Relationship Set
2.4.2.1.2 MESS_MEMBER HAS_BILL for MESS
The relationship set “HAS_BILL” has following attributes. MESS_ID stands for the identification number of the mess whose member‟s bill is recorded. MEMBER_ID stands for the identification number of the mess member whose bill is recorded. BILL stands for the amount of money that is due from the mess member. BILLING_MONTH_YEAR stands for the month and the year of billing.
The relationship set “HAS_BILL” between MESS_MEMBER and MESS entities is shown in the Figure 27.
Figure 27: "HAS_BILL" Relationship Set
2.4.2.1.3 MESS_MEMBER has ATTENDANCE for MESS with MENU
The relationship set “ATTENDANCE” has following attributes. MESS_ID stands for the identification number of the mess whose member‟s attendance is recorded. MEMBER_ID stands for the identification number of the mess member whose attendance is recorded. DATE stands for the date on which the attendance was taken. SHIFT stand for the shift number of the shift on which the attendance was taken. MENU_A stands for the total number of times the dish A was consumed. MENU_B stands for the total number of times the dish B was consumed. The relationship set “ATTENDANCE” between MESS_MEMBER, MESS and MENU entities is shown in the Figure 28.
Figure 28: "ATTENDANCE" Relationship Set