Assignment Task
Task Summary
Design and develop distinct programming tasks addressing the business needs raised in the requested programming tasks within the context of the provided case study, using the concepts that we have learned in Modules 1 and 2.
Context
Using programming skills to make informed business decisions is becoming increasing important in the current information era. The speed in which this can be achieved is also desirable in the fast-paced business environment. Businesses and organizations rely heavily on computer programs to better understand and analyze data. This assessment assesses your skills in designing and developing computer programs using procedural programming techniques to address business needs.
Task Instructions
You are now to develop a program using Python. The program must comprehensively include all the functional requirements described in the case study. The program must also satisfy the conditions discussed in the Case Study. There is NO minimum length to your Python codes, but you need to make sure to have enough functionality in your programs to address the business needs in the case study. Please remember:
All implementations must be in Python 3 (that is NOT Python 2). Programs implemented in a different language will be marked 0. Programs implemented in Python 2 will be capped at 50% of the available marks.
You may only use the language features and syntax taught in Module 1.1 through to Module 2.2. You must not use any other language features beyond what was taught by Module 2.2. (Penalties apply).
You may use any Python IDE to develop and test your Python programs.
The program should be provided with adequate and meaning comments
Your program should be robust. Check for input validity. Hint: What would you do if user chose option 3 without entering any user information first?
You are strongly advised to read the rubric which is an evaluation guide with criteria for grading the assignment. This will give them a clear picture of what a successful final solution looks like.
General Assessment Requirement
Incomprehensible submissions. Assessments provide the opportunity for students to demonstrate their knowledge and skills to achieve the required standard. To do this, assessment responses need to be both clear and easy to understand. If not, the University cannot determine that students have demonstrated their knowledge and skills. Assessments will, therefore, be marked accordingly including the potential for 0 (zero) marks where relevant.
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.
B2B 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 Creative 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. Customer 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:
the customer’s name,
mobile number,
year of birth,
current city
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. 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 centimetres. Assuming that a person occupies 1.3 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).
3. At the end of each week the manager would like to assess the average per person sale and compare it to the previous weekend. Write a program to ask the manager for the following input:
Current weekend’s day-wise sale and number of persons visited.
Last weekend’s day-wise sale and number of persons visited.
Calculation:
Current Weekend’s per person average sale = Total sale for Current weekend / Total number of persons visited in the Current Weekend
Last Weekend’s per person average sale = Total sale for Last weekend / Total number of persons visited in the Last Weekend
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.
Sample Input:
Invoice Number: – P001
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) against Invoice number P001 is: – 53.50
5. Write the program to provide the user with an amount he/she needs to pay including the delivery and packaging charges. The program should ask the user for the following input:
a) His full address
b) The amount of order placed
c) The distance in KM between the address provided and the restaurant
The total charges must be calculated based on the bellow rates:
Packaging Charges for:
• Order Amount more than 20 AUD to 35 AUD 10%
• Order Amount more than 35 AUD to 50 AUD 8%
• Order Amount more than 50 AUD 6%
Delivery Charges for
i. More than 0 to 4 Kilometres $3
ii. More than 4 to 8 Kilometres $6
iii. More than 8 to 12 Kilometres $10
iv. More than 12 Kilometres No Delivery can be done.
Based on the input entered by the user the program must calculate and displays the all the details effectively.
6. Write a program to calculate the total charges of a placed order at the restaurant. Additional charges apply based on the order type selected from the options of:
– dine in: Additional service charges of 8% apply
– pick up: no additional charges
– delivery: additional delivery charges of 10% apply
The program should ask the user to insert the order base cost in AUD and the order type (1 or 2 or 3), and then the program should output the total amount to be paid.
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 then conversion option (1 or 2).
• The program should output the converted temperature.
• Your program should print a warning message for invalid values of temperature.
• Any Other option selected: Invalid Entry.
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 18 %. The program should ask the manager to insert the following input:
a) the position of the employee (chef, waiter, delivery or cleaner).
b) the number of monthly hours the employee worked.
If hours are entered in decimal format, the calculations will be executed by rounding the hours to the nearest positive value.
The pay rate is calculated as follows:
• Chef $30 Per hour,
• Waiter $28 Per hour,
• Delivery $25 Per hour,
• Cleaner $ 24 Per hour
9. Create a program that ask the user to enter 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 7 characters and maximum 11 characters.
3. The password must contain at least one special character, either @ or $
4. The password must end with a digit