Chapter 1: Problem Definitions................................................... 2
Chapter 1: Problem Definitions................................................... 2
Chapter 1: Problem Definitions................................................... 2
Mucluc
Group Hotel is hotel in the center of the Mekong Delta .It provides enough services for
customer such as room booking and order as well. However it takes a lot of time for manager
and need many employers because many things are depended on people.
Hence we need design modern and excellent software for Group Hotel Manager. The software
can bring to the hotel as faster in manager hotel and save time as well as save money.
Thank!
Current System at Group Hotel:
Guest rooms
Suite rooms
b. Information of Hotel:
Informations of Room:
Room _ID..
Room Name.
Category_ID.
Floor.
Persons
Status.
Description.
Catagory Room:
Category_ID
Name
Description.
Information Bill :
Bill_ID.
Room_ID.
Cus_ID
Name.
Birthday.
Gender
IDCard
Address
Phone
RoomName
Name_Category
Price
Checkin
Checkout
Total.
c. Information of Employee :
Employee Detail:
EmployeeID.
EmployeeName.
UseName
Password.
Gender.
Birthday
IDCard.
Address.
Email
Phone.
Position
Authorized.
Create_Date
Last_Login
Server :
o Software:
- OS : Windows Server 2000 or later.
- SQL Server 2000.
o Hardware:
- PC Intel Core 2 DuO E6420 1.8GHz.
-1Gb (2x512) DD2Ram
- HDD 320 GB SATA, CD Rom 52x.
1. Project details :
Name of the Client : Group Hotel.
Date of Project Plan :
Project Vision/Objectives :
- Management room.
+ Room status ever in hotel.
+ Add new, update, lookup information.
- Management customer.
+ Information about customer.
- Management service.
+ Bill pays room money.
+ Print report.
- Management system.
+ Decentralize to ever employee.
Scope :
- Search and input information.
- Manager information room, customer, manager employee.
- Give out the bill and print.
- The application will be use only you login with the right username and password.
- The application will be use only for manage hotel.
Our understanding of the client organization :
- About booking room :
+ A receptionist will check about kind of room the customer need. If room is an
available, the receptionist will provide information for customer such as price, service
and detail of the room.
- About manager
+ the managers of hotel are such as the manager employee, manager room and
customer.
- Design interface
- Design database
3 Designer - Algorithm
Programmer all functions
4 Programmer
required from customer
5 Tester Testing all functions
Implementation
6
Engineer
3. Deliverables:
The documents to be handed over to the Client:
- CRS
- Design Document
- Installation Manual
- User Manual
4. Project Dependencies :
- Customer change requirement.
- Customer provider info inadequate and aberrant.
- Members aren't active.
- Lose electricity.
6. Quality Plan :
Review Activities :
Afternoons Monday, Tuesday and Friday are weekly.
The objectives of the review meetings :
+ Check the progress of the project.
+ Members will check each other’s job to find errors.
Testing Activities :
- Unit Testing.
- Intergradations Testing.
- Functional Testing.
- User Testing.
Backup and recovery strategies :
- All the data will be saved in two places: flash disk and
computer.
- The computer must be protected from virus.
- Check connection of the network.
Exam Interface
Property Value
Document theme and color scheme Blue
Form – Background color LightBlue
Title – Font Size 14
Title – Font Color Sans serif
Title – Font Style Bold
Title – Alignment Left
Background color of Controls on the form LightBlue
Foreground color of Controls on the form LightBlue
Control Caption – Font Size 10
Control Caption – Font Color LightBlue
Control Caption – Font Style Regular
Control Caption – controls – Alignment TopLeft
Command button – Alignment MiddleCenter
Background color of command button Blue
Foreground color of command button LightBlue
Command button- Font Size 10
Command button- Font Style Regular
Room _ID..
Name
Name_Categor
y.
Room
Descriptio
n
Status Floor
Persons
Name
Category ID
Category
Room
Decription
Price
Cus_ID
Name
Room_I
Birthday
D
Gender
Customer
Check_Date
Phone
Status
ID_Card Adress
EmployeeName
UserName
EmployeeI
D Password.
Create_Date
Postion
Employee Details
Birthday
Last_Logi
n
Gender
Authorize
d
Phone IDCard
Email
Addres
s
1. Customer
2. Employee
3. Room
4. Category
5. Bill
Begin
Login Algorithm
Error Message
N
Test Valid
Y
N
Test Data Error Message
Y
Access database
Complete message
End
Note :
Test valid: Test information input in form has corrected with type data in database.
Username and Password field is not empty; Username must contain at least 4
characters and at most 100 characters, Password must contain at least 4
characters and at most 200 characters
Test data: Test data in database has corrected with user name and password
or user name andpassword clock because Administrator.
Access database: Access database and show role User
Complete message: Display message Login complete of user manager.
DECENTRALIZATION
Login
ChangePas
s
Custome
r
Connecdat
a
Admin Employee
Room
Report Customer
Employee
Manager
Report
Print Bill
Room
Employee Check In
Check
Out
Booking
Print Bill
Input information
N
Error Message Test valid
Y
N Error Message
Test data
Y
Update database
Message complete
End
Note :
Input information Input old password , new password and confirm password of user.
Test valid: Test information input .Username and Old password, New Password and
Confirm new Password field is not empty, Username must contain at least 4
characters and at most 100 characters, Password must contain at least 4 characters
and at most 200 characters, New password and confirm new password must be the same
Test data: User name & Old password inputted must exist in one record in the Employee table.
Update database: Access database of User
Complete message: Display message Successful: “Your password has been changed.”
Input Information
N
Error Message Test valid
Y N
Test data Error Message
Y
Insert database
Complete Message
End
Note :
Input information: Input information about new User.
Test valid: Test information input .Name, Postion, ID Card, Address, Name Login ,Username and Old
password, New Password and Confirm new Password field is not empty, Username must
contain at least 4 characters and at most 100 characters, Password must contain at least
characters and at most 200 characters. Name login not must be the same Name login different
New password and confirm new password must be the same
Test data: User name & Old password inputted must exist in one record in the Employee table.
Access database: Access database and show role User
Complete message: Display message Successful: “Your add user Successful.”
Begin
Check
Error Message Yes or
N No
Y
N
Test Error Message
Data
Y
Delete Database
Delete successful
End
Note :
Choice delete user: Choice user can delete on the form, show message choice Yes/No
Test Data : User Login is not delete User Login
Delete Data: Delete user’s data in table Employee database
Begin
Input Information
Error Message N
Test valid
Y
N
Test data Error Message
Y
Update database
Update successful
End
Note :
Begin
Input Information
Error Message N
Test valid
Y
N
Test data Message
Y
Select database
End
Note :
Input information: Input name, choice position and gender information about Employee
Test valid: Test information input name.
Test data: In the Employee table.
Message : not search Employee
Select database: Access database
Customer Interface
Begin
N
Error Message
Test
information
Y
N
Test Data Error Message
Insert database
Complete message
End
Note :
Test valid: Test information input in form has corrected with type data in database. Name,
ID Card is not empty. ID Card, Phone is number.
Test data: Test data in database has corrected formated.
Complete message: Display message inserted successfully.
Begin
Begin
N
Error Message
Test
information
Y
N
Test Data Error Message
Update database
Complete message
End
Note :
Test valid: Test information input in form has corrected with type data in database. Name,
ID Card is not empty. ID Card, Phone is number.
Test data: Test data in database has corrected formated.
Complete message: Display message Updated successfully.
Begin
choice Customer
delete
N
Confirm
Y
N
Test Data B Error Message
e
Y g
i
Delete database n
E
r
r
o
Complete message r
M
e
s
End s
a
g
e
N
B
Note : e
Confirm: Are you sure delete this Customer ? (Yes,
g No)
Complete message: Display message Deletedi successfully
n
E
r
r
o
r
M
e
s
s
a
g
e
Begin
N
Test Data B Message
e
Y g
i
Show Data n
E
r
r
End o
r
M
Note : e
s
Name: Input string. s
Gender: Choice ( Male, Female ) a
g
e
N
B
e
g
i
n
E
r
r
o
r
M
e
s
s
a
g
e
Guide teacher: Nguyen Van Kiet Page 29 of 48
ACCP 2005 Group Hotel Manager
Room Interface
Begin
Error
N
Message Test information
Begin
Error Y N
Message
Test Data Error Message
N
Begin Y
Error
Message Insert database
Complete message
End
Note :
Test valid: Test information input in form has corrected with type data in database. Name,
Floor, Persons is not empty. Floor, Persons is number.
Test data: Test data in database has corrected formated.
Complete message: Display message inserted successfully.
Begin
Error
N
Message Test
information
Y
N
Test Data Error Message
Y
Update database
Complete message
End
Note :
Test valid: Test information input in form has corrected with type data in database. Name,
Floor, Persons is not empty. Floor, Persons is number.
Test data: Test data in database has corrected formated.
Complete message: Display message Updated successfully
Begin
N
Confirm
Y
Delete database
Complete message
End
Note :
Confirm: Are you sure delete this Room ? (Yes, No)
Complete message: Display message Deleted successfully.
Begin
N
Test Data B Error Message
e
Y g
i
Show Data n
E
r
r
End o
r
M
e
Note: s
Name: Input string. s
a
Category: Choice category name room. g
e
N
B
e
g
i
n
E
r
r
o
r
M
e
s
s
a
g
Guide teacher: Nguyen Van Kiet e Page 34 of 48
ACCP 2005 Group Hotel Manager
End
ACCP 2005 Group Hotel Manager
Search Chech In
Begin
Input information
Search
N
Search
Message
Database
Y
Show Data
End
Note:
Input information: Name Customer
Choice information: choice customer and room
End
ACCP 2005 Group Hotel Manager
Input information
Search
N
Search
Message
Database
Y
Show Data
End
Note:
Input information: Name Customer
Begin
Input information
Error Message
N
Test
information
Y
Choice Room
Message Successful
End
Search Person
Begin
Input information
Search
N
Search
Message
Database
Y
Show Data
End
Note:
Test information: Test information input in form has corrected with
type data in database.
1.Programming Standards:
Variable (inline)
Pascal Case
Avoid using single characters like “X” or ”Y” except in FOR
loops.
Avoid enumeratingvariable names like “text1”, “text2”“text3”,etc.
5. Other Standards:
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
Guide teacher: Nguyen Van Kiet Page 43 of 48
ACCP 2005 Group Hotel Manager
Activity Date of
Project Ref No. Project Title Plan Preparation of
Prepared By Activity Plan
NO Task Sub Description Planne Actual D Team Statu
division d start Start A Mate s
date Date y Names
1. Create Form1 Problems
Definition 2/23/09 3/30/09 7 Tam finish
document
2. Create Form2 CRS document 2/29/09 3/2/09 4 Tam finish
3. Create Form3 Project Plan 3/2/09 3/6/09 4 Phong finish
Document
4. Create Form4 GUI Standards 3/3/09 3/6/09 3 Dong finish
Document
5. Create Form5 ERD document 3/6/09 3/8/09 2 Phong finish
6. Create Form 6 Table Design 3/9/09 3/13/09 4 Phong, finish
document Tam,Dong
7. Login Process ,Design 3/13/09 3/16/09 3 Dong finish
Algorithm
8. Change Pass Process Design 3/13/09 3/17/09 4 Dong finish
Algorithm
9. Add Employee Process Design 3/15/09 3/20/09 5 Dong finish
Algorithm
10. Edit Employee Process Design 3/15/09 3/25/09 10 Dong finish
Algorithm
11. Delete Employee Process Design 3/15/09 3/26/09 10 Dong finish
Algorithm
12. Search Employee Process Design 3/15/09 3/27/09 13 Dong finish
Algorithm
13. Category Room Design 3/16/09 3/18/09 2 Dong finish
Algorithm Process 3/18/09 3/25/09 7 Dong finish
14. Add Room Design 3/16/09 3/18/09 // Dong finish
Algorithm Process 3/18/09 3/25/09 7 Tam finish
15. Edit Room Design 3/16/09 3/18/09 // Dong finish
Algorithm Process 3/18/09 3/29/09 11 Tam finish
16. Delete Room Design 3/16/09 3/18/09 // Dong finish
Algorithm Process 3/18/09 3/30/09 12 Tam finish
17. Search Room Design 3/16/09 3/18/09 // Dong finish
Algorithm Process 3/18/09 3/30/09 12 Tam finish
18. Add Customer Design 3/18/09 3/20/09 // Dong finish
Algorithm Process 3/18/09 4/1/09 13 Tam finish
19. Edit Customer Design 3/18/09 3/20/09 // Dong finish
Algorithm Process 3/20/09 4/4/09 14 Tam finish
The End