Upcoming SlideShare
×

# Task 2 mathematics 3

144 views

Published on

assignment task 2 maths 3

Published in: Education, Technology, Travel
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

• Be the first to like this

Views
Total views
144
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
1
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Task 2 mathematics 3

1. 1. Software Requirement for HotelReservation SystemMuhammad Edwin bin Ambo RifaiA 142160
2. 2. 2.0 Functional Requirement of The System Guest The information associated with each guest is: name,address and phone number. The full name of a guest is represented by a single string ofcharacters. Guests are searched using a substring, any guest name thatcontains that substring is returned by the search operation. The address of a guest is represented by a single string ofcharacters. This contains the complete address (street, city,postal code, …) The phone number is represented by a string of characters. An account can be printed and contains the informationabout a guest’s stay and the amount to be paid. The printedaccount also includes the name of the hotel and the date atwhich it has been issued.
3. 3.  Room Each room has a number. Some of them are alsodesignated by a special name. A quality level is associated with each room. A quality level is identified by a number. Standard roomsusually have quality number 0. This number increases asthe quality of the associated increases. Quality level can also be given a name. A list of characteristics is associated with each quality level.It describes the equipment common to the room having thisquality level as well any other special elements such aslocation, views or privileges. All rooms having the same quality level have the samemaximum daily rate. The maximum daily rate is for one person. There may be anadditional charge for each extra person. A room contains a certain number of beds, all of the sametype. Typical configurations are 2 Queen beds or 1 Kingbed. Some rooms can adjoin 1 or 2 other rooms.
4. 4.  Reservation To make a reservation, the guest must specify the arrivaldate and the departure date (or the number of nights) forthe proposed stay. Normally, a room is not allocated when a guest makes areservation, the room allocation being made only whenthe guest checks in. A reservation is accepted only if rooms are available.
5. 5. 3.0 Mathematical Statement of The System( Predicate Calculus ) Guest The information associated with each guest is: name, addressand phone number. associated( information,each_guest ) The full name of a guest is represented by a single string ofcharacters. represented( guest_full_name, single_string_characters ) Guests are searched using a substring, any guest name thatcontains that substring is returned by the search operation. searched( substring, guest_name ) The address of a guest is represented by a single string ofcharacters. This contains the complete address (street, city, postalcode, …) represented( address_guest, single_string_character ) The phone number is represented by a string of characters. represented( phone_no, string_character )
6. 6.  An account can be printed and contains the information about aguest’s stay and the amount to be paid. The printed account alsoincludes the name of the hotel and the date at which it has beenissued. printed_acc ( guest_information, paid_amount )printed_acc ( hotel_name, date_issued )
7. 7.  Room Each room has a number. Some of them are alsodesignated by a special name. room ( number, special_name ) A quality level is associated with each room. associated ( quality_level, room ) A quality level is identified by a number. Standardrooms usually have quality number 0. This numberincreases as the quality of the associated increases. identified ( quality_level, number ) Quality level can also be given a name. given ( quality_level, name )
8. 8.  A list of characteristics is associated with each qualitylevel. It describes the equipment common to the roomhaving this quality level as well any other specialelements such as location, views or privileges. characteristic ( quality_level, special_element ) All rooms having the same quality level have the samemaximum daily rate. rooms ( quality_level, daily_rate ) The maximum daily rate is for one person. There maybe an additional charge for each extra person. max_rate ( add_charge, extra_person ) A room contains a certain number of beds, all of thesame type. Typical configurations are 2 Queen beds or1 King bed. beds ( same_type, typical_config ) Some rooms can adjoin 1 or 2 other rooms. somes ( rooms , adjoin )
9. 9.  Reservation To make a reservation, the guest must specify the arrivaldate and the departure date (or the number of nights) forthe proposed stay. reservation ( arrival_date, departure_date ) Normally, a room is not allocated when a guest makes areservation, the room allocation being made only whenthe guest checks in. rooms_allocated ( reservation, check_in ) A reservation is accepted only if rooms are available. rooms_available ( reservation, accepted )
10. 10. 4.0 Comments We can convert natural language to mathematicalstatement. It is depends on the statement that given. Basically, the language of mathematics is not differentfrom natural language. The chief goal of language is to be able to express theideational and sentimental concepts. Concepts, in natural language, are expressed via words,and in mathematics symbols are used. Language of mathematics is entirely based on symbols Like in natural language, within mathematical language,to be able to explain the conceptions is dependent uponsome individual abilities and experiences such asperceptual capability, intelligence, intuition, and interest. If we don’t know the concept of mathematical languange,ce can’t convert the natural language to mathematicalstatement.