Create a program that calculates and displays the statistics

Assignment Help Python Programming
Reference no: EM133720066

Principles of Programming

Question: Case study and some module which we have to use with spyder softwere not others and offcourse have to use module language not extra or less

Use spyder softwere

Case study have to solve with python language and with sypder.

Case Study

The integration of online and mobile platforms presents a transformative opportunity for Transports Business, offering a comprehensive digital management solution. This initiative aims to boost online sales, streamline order management processes, and automate data flow for shipments. B2B, a prominent transport company in Australia, recognizes the evolving business landscape and seeks to meet customer demands with a convenient and contactless mobile ordering system.

As a member of the development team at SAS, your role involves designing and implementing the mobile ordering program. Each team member is tasked with completing ten predefined independent assignments, which will later converge to create the integrated platform. Prior to the application release deadline, the team must deliver the following ten programming tasks:

Customer Details:
Create a program that allows customers to enter their details to create a new account. Each customer should be asked to input the following information:

  • Customer's name
  • Mobile number
  • Address
  • Email address
  • Date of Birth

The program should validate the entered details and store them securely (Using appropriate Data Structure). If the user registration is successful (based on age is more than 21 and mobile number is 10 digit), display a success message with all the entered details; otherwise, display an appropriate error message.

Vehicle Capacity:
Write a program that advises the logistics manager on how many goods the company's vehicles can accommodate based on their dimensions. The program should ask the manager to input the length, width, and height of the vehicle in meters. If each cubic meter can hold 100 kilograms of goods, the program should calculate and output the maximum weight capacity of the vehicle.
Note: If the calculated weight capacity exceeds 5000 kilograms, the program should display a message indicating that the maximum weight capacity is 5000 kilograms.

Delivery Time Estimation:
Write a program that estimates the delivery time for a given route. The program should ask the user to input the distance of the route in kilometres and the average speed of the delivery vehicle in kilometres per hour. Using this information, the program should calculate and display the estimated delivery time in hours.

Note: If the calculated estimated delivery time is more than 15 hours, your code should take into account the driver rest time. Your program should add 8 hours rest to the delivery time and print the total estimated delivery time accordingly.

Calculate Total Cost:
Create a program that calculates and prints the total cost of a delivery based on the weight of the goods and the delivery distance. The program should ask the user to input the weight of the goods in kilograms and the delivery distance in kilometres. The cost per kilometre is $0.10 per kilogram. The minimum delivery charges are $30 and the program should apply a 5% discount for deliveries over 100 kilometres. The program should then calculate and display the total cost of the delivery.

Note: The program must roundoff the weight to the nearest positive value before calculating the cost of delivery.

Route Optimization:

Write a program that optimizes the delivery routes for multiple destinations. The program should ask the user to input the Name of 3 destinations and the distances to each destination from the warehouse in kilometres. Using this information, the program should design the route such that the driver visits all destinations based on the distance in a descending order( i.e. starting with the longest delivery first) and return to the starting point. The program should then display the optimized route.

Note: If 2 destinations have same distance then it must prioritize the destination that has been entered first.

Goods Classification:

Create a program that classifies goods into different categories based on their weight. The program should ask the user to insert the weight of a goods item in pounds. Based on the weight, the program should categorize the goods as follows:
Lightweight: Less than 10 kilograms
Mediumweight: More than 10 to 50 kilograms
Heavyweight: More than 50 kilograms to 120 Kilograms
Must be divided in small sizes: More than 120 Kilograms The program should then display the category of the goods.

Delivery Tracking:

Write a program that tracks the delivery status of a package. The program should ask the user to input the package's tracking number and display the current status of the package, such as "In transit," "Out for delivery," or "Delivered."

Note: Use list to store and access the data for some sample tracking (A00001D) numbers and their status "In transit," "Out for delivery," or "Delivered." .

Note:
The program must ask the example of tracking number acceptable for checking the status.
The Program must reply with an appropriate message if the tracking number is not in the records or invalid format.

Delivery Statistics:
Create a program that calculates and displays the statistics of the company's deliveries. The program should ask the user to input the destination of 3 deliveries and the delivery times for each delivery. Using this information, the program should calculate and display the average delivery time and the fastest and slowest delivery times with destinations.

Delivery Schedule:
Write a program that generates a delivery schedule for the company's drivers. The program should ask the user to input the name of 3 drivers and their license number (in a prescribed and acceptable format). The program should then ask to enter the number of delivery available and then display a assigned number of deliveries of each driver, ensuring that each driver has an equal number of deliveries except the last one who can have more than others if needed.

Account Settings:
Implement a program that allows users to manage their account settings. Provide options to update their personal information (e.g., name, email address, password) and communication preferences (e.g., subscription to newsletters, promotional emails).

Note: Assume the account information are name, email address and password. The program saved the customer details in three list. A list comprises the names, another the email addresses and the third has the passwords. If a user has his name at position x in the first list, his email address will be found at the same position in the second lit and his password will be also saved in the same position in the third list. Write a program that takes as input the user' email address and password to validate and then enable the user to update personal information (email address must be unique) and communication preferences.

Each programming task should utilize concepts such as lists, tuples, conditionals, and input/output operations in Python.

Reference no: EM133720066

Questions Cloud

Explain how the factors influenced the decision-making : Apply several of these factors to 3 different decision you have made in your personal or professional life. Explain how these factors influenced decision-making
Poster presentation to display in staff lounge of unit : Create a poster presentation to display in the staff lounge of your unit.
Identify words to search for research related to key concept : Formulate a clinical question using PICOT format. Identify key words to search for research related to key concepts presented in your PICO question.
Define the social gradient in morbidity and mortality : The evidence documenting social inequities in health Define the social gradient in morbidity and mortality
Create a program that calculates and displays the statistics : MIS501 Principles of Programming, Torrens University Australia - Create a program that allows customers to enter their details to create a new account
Evidence documenting social inequities in health : The evidence documenting social inequities in health Define the social gradient in morbidity and mortality, including examples
Discuss the concept of strategic planning : CJA 475 University of Phoenix- Discuss the concept of strategic planning. How does it relate to a criminal justice organization? What are the benefits?
Discuss positive ways of managing stress : A key to being a healthy individual includes managing the effects of stress. Discuss positive ways of managing stress.
What were three big concepts you learned : What were three big concepts you learned? Why do you think this concept is important to understand? How does this concept help or harm decision making?

Reviews

len3720066

6/26/2024 10:28:20 PM

This is case study and some module which we have to use with spyder softwere not others and offcourse have to use module language not extra or less This is have 10 question in case study have to solve with python language and with sypder.I provide module because lecturer exact use this module code langaugae that is basic like string, float, list, conditional all u have look the brief. Each question answer should be like individual new file and take screen shot and put on word doc Please note : Do some error and make half answer so it looks like and try but cant running correctly within 10 question 5 correct and 5 error plz i dnt need full correct answer because it have to look orginal as m not it related student so i can make feel i tried but cant do properly

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd