0% found this document useful (0 votes)
107 views6 pages

Assessment 3 Case Study MIS200

The document outlines tasks for developing an ordering application for a restaurant using object-oriented programming. It describes setting up sign up and login functionality for customers with validation checks. It also details allowing customers to place orders for dine-in, pick up or delivery and view past order summaries. Calculations for additional charges are also specified depending on the order type.

Uploaded by

Assignment Mail
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views6 pages

Assessment 3 Case Study MIS200

The document outlines tasks for developing an ordering application for a restaurant using object-oriented programming. It describes setting up sign up and login functionality for customers with validation checks. It also details allowing customers to place orders for dine-in, pick up or delivery and view past order summaries. Calculations for additional charges are also specified depending on the order type.

Uploaded by

Assignment Mail
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Case Study

Impressed by your programs implemented in Assessment 1, the stakeholders of the


restaurant have asked you to develop a program extending Assessment 1. In this assessment,
you will have to use the Object Orientated Programming (OOP) paradigm. Please, read the
following case study with a fresh mind, as it is NOT the same as the one in Assessment 1.

This program should enable the logged in user to place orders through the App. In response
to the covid safety measures, the restaurant is offering the customers the following
possibilities of contact-less placing of orders:
1- Dine in: While at restaurant users place contactless orders. Users have to pay
additional service charges to their orders.
2- Pick up: users place remote orders to be picked up either to save the delivery costs
or because the restaurant does not deliver to their address.
Delivery: users place remote orders and have them delivered to their address. Users
have to pay extra delivery charges.

The program should follow the below general structure:


When a user runs the program, the below choices should be provided:
1- Sign up
2- Login: upon successful login the users can then do the following.
a. Ordering (Dine in, Takeaway, Delivery),
b. Print Statistics
c. Logout
3- Exit

Output:
Task 1. Signup/Login Process for Customers
A user should sign up to use the services provided by the app. Before placing an order, the
user should successfully login to the application. Please create a signup and a login function
while making use of your assessment 2 code.

1. Signup

Step 1: Each Customer is advised to submit the required details for signup process.
a. The mobile number has 10 digits.
b. The Password must have the combination of Alphabets, and Numeric or
Special characters. (For Example: Sam@0125, Sam111, Sam@$)
c. The password confirmation matches the initial entered password.
d. The Year of Birth in YYYY format.
e. The user is at least 18 years old. The age should be calculated based on the
year of birth entered.

Note: If any of the above-mentioned condition is not fulfilled; the sign-up


process should fail, and a descriptive message should be displayed for the
user explaining what has gone wrong and providing hints on the correct
expected input. The program should keep asking the user to re-enter his
details as long as one or more of the input fields are not correctly filled. If all
fields are completed successfully, the program should stop asking the user to
re-enter his details and display a message that the signup process is
completed successfully.
If all of the above-mentioned conditions are successful, the user data is
saved in Lists to enable data checks during the login process.

Step 2: There is an additional field for entering the address, (Optional)


Step 3: Submit
Step 4: Must be displayed a message of Signup Successful.

Output:
2. Log in

Step 1: Each customer is advised to enter the login id and password for the sign in,

Step 2: Post Successful Login the User must be presented with a verity of options to
Proceed (Home Page):

2.1 Ordering (Dine in, click and collect, Delivery),


2.2 Summary of Transactions
2.3 Logout

Output:

Task 2: Ordering

Post Selecting the Option of 2.1 the User must be taken to the Ordering Page. In the ordering
page, the following option should be offered:
1 Dine in
2 Order Online
3 Go To Login Page

Output:

In case of Selecting the Option 2, the User must be taken to the next page, where the following
option should be offered:

1 Self-Pickup
2 Home Delivery
3 Go To Previous Menu

Output:
After the user successfully select the ordering mode, he should be presented with the menu
in the form of:
ID Name Price
1 XXXX XX
2 XXXX XX
3 XXXX XX
4 XXXX XX
5 XXXX XX
6 XXXX XX
7 Checkout

Output:

Please note:
• The menu will only have 6 items for the Click and collect and delivery modes.
• If dine in mode is selected the user menu should has 6 items followed by 3 drinks
items presented after the Food Menu.
• The user should be able to order as many items as he wishes. To close the Food menu
and proceed to the Drink Menu the user selects option 7.

Output:

• To close the Drink Menu and proceed to the Checkout the user selects option 4.
• Post Checkout the user must be advised with the total amount needed to be paid.
• The user will then be provided with three options:
o Proceed with payment
o Cancel order

Output:
Task 3 - Calculation for the Amount Need to be paid:
1- Dine in mode:
Dine in has an additional 10% service Charges to be added additionally in the
Invoice.

Output:

2- Click and Collect mode:


No additional Charges for click and collect

3- Delivery mode:
A fix charges for Delivery based on the distance i.e.
More than 0 to 2 Kms AUD 5
More than 2 to 5 Kms AUD 10
More than 5 Kms No Delivery provided

Output:

Notes:
• If the user decides to proceed with the order, then he must confirm by entering a
response as ‘Y’.

Output:

• Once the details have been successfully entered, user must be provided with a
confirmation message with the order number.

Output:

• Then the user must be taken to the Main menu.


Task 4: Summary of Transactions

A user must be shown an option to see the history of its previous orders in:

Output:

Option 1: All Dine in orders


Output:
Order ID Date Type of Order Order Amount

Option 2: All Pickup Orders

Output:
Order ID Date Type of Order Order Amount

Option 3: All Deliveries

Output:
Order ID Date Type of Order Order Amount

Option 4: Total amount spent on all types of Orders (Includes, Dine in, Pickup and Delivery)

Output:

Option 5: Go to Previous Menu

You might also like