MIS501 Assessment 1 Case Study
Case Study
The exciting integration of Restaurants online and mobile platforms provides restaurateurs
with a complete digital management platform to increase online order sales, eliminate the
need for restaurant staff to manually manage orders, and automate order data flow to the
kitchen.
AZA is one of the biggest restaurant chains in Australia. They decided to offer their customers
a convenient and contactless mobile ordering solution in response to the growing business
need and COVID restrictions.
As part of the development team in the B2B software company, you are required to design
and develop the mobile ordering program. The programming team leader assigns each
member of the development team nine predefined independent tasks that will be later on
integrated to form the platform. Before the application release deadline, you are required to
submit the following nine programming tasks:
1. Customers details: You are requested to enable the customer to insert their details to
create a new account. Each customer will be asked to insert the following:
a. the customer’s name,
b. mobile number,
c. year of birth,
d. current city
e. email address to register for promotions.
The application must calculate the customer's age (assume the current year is always
2023) and confirm to the customer with a greeting message by displaying all the
details if the customer is more than 21 years of age. (2 Mark)
2. Restaurant Capacity: Write a program to advise the restaurant manager on how many
customers the restaurant can accommodate based on the restaurant dimensions.
Your program will ask the manager to insert the width and length of the restaurant in
meters. Assuming that a person occupies 1.2 square meters of space. The program
should output the number of people that can be accommodated in the restaurant
(The output should be an integer).
Note: if the calculated number of people that the restaurant can accommodate is
more than 60, the program must print the message that A Maximum of 60 persons
are allowed. (2 Mark)
3. At the end of each week the manager would like to assess the average per person sale
and compare it to the previous week. Write a program to ask the manage for the
following input: (3 Mark)
a. The list of orders total prices of the current week in AUD
b. The list of orders total prices of the previous week in AUD
MIS501 Assessment 1 Case Study
Output:
Current Week per person average sale= Total sale for Current week / Total number of
persons visited in the Current Week
Last Week per person average sale= Total sale for Last week / Total number of persons
visited in the Last Week
Note:
1- You must use a list.
2- The two lists should not necessarily be of the same length
4. Create a program to calculate and print the amount of change to be returned to the
customer, after paying the bill, based on the manager's inputs in the system.
(2 Mark)
Sample Input:
Total Invoice amount (In Dollars): 200
Amount of Tip (In Cents): 10
Total Payment received by Card: 160
Service Charge on Payment made by Card: 4%
Total Payment received in Cash (In Dollars): 100
Output:
Change to be returned to the customer (In Dollars): 53.50
Note: If the return to customer amount is negative, then it must print “Outstanding
amount and need to be paid by customer:”, and the amount need to be paid.
5. Write the program to provide the user with an estimate of the order delivery charges.
The program should as the user for the following input:
a. His full address
b. The distance in KM between the address provided and the restaurant based
on the bellow rates:
Your program should calculate and print them. Based on the input entered by the user
the program displays the delivery charge. (3 Mark)
c. More than 0 to 5 Kilometres $5
d. More than 5 to 10 Kilometres $8
e. More than 10 to 12 Kilometres $10
f. More than 12 Kilometres No Delivery can be done.
6. Write a program to calculate the total charges of a placed order at the restaurant.
Additional charges apply based on the order type. An order can be one of three types:
1- dine in: Additional service charges of 8% apply
2-pick up: no additional charges
3-deivery.: additional delivery charges of 10% apply
MIS501 Assessment 1 Case Study
The program should ask the user to insert the order base cost in AUD and the order
type (1 or 2 or 3). The program should output the total amount to be paid.
(2 Mark)
7. Write a temperature conversion program. The program should offer two forms of
conversions:
1- from Centigrade to Fahrenheit
2-From Fahrenheit to Centigrade
The program should ask the user to insert the temperature value and the
conversion form (1 or 2). The program should output the converted
temperature. Your program should print a warning message for invalid entries.
Any Other option: Invalid Entry. (2 Mark)
8. Write a program to help the manager calculating the net monthly income of the
employee after the tax is deducted. Assume a fixed income tax of 20 %. The program
should ask the manager to insert the following input:
1- the position of the employee (chef, waiter or deliver). Note: you should
ensure a correct output regardless of the input case (upper case (capital
letter) and lower case (small letter).
2-the number of monthly hours the employee worked.
The pay rate is calculated as follows: (2 Mark)
Pay Rate:
• Chef $50 Per hour,
• Waiter $ 40 Per hour,
• Delivery Person $ 35 Per hour
9. Create a program that ask the user to enter a Create a program to assess the insert
user credential signing up a new account. The program should ask the user to insert
the following:
1- mobile number
2- password
The program should print the output “Valid credentials” if:
1. the mobile number is having exactly 10 digits.
2. the password has a minimum of 8 characters.
Note: The program should print “invalid credentials” otherwise. (2 Mark)