Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this project you need to develop a python project for Mobile phone Company. The company is planning to develop a system through which customers

In this project you need to develop a python project for Mobile phone Company. The company is planning to develop a system through which customers could perform different operations like (check account details, calculate bill, change password). The system works as follows:

The customer must enter his account details like-customer name/mobile number and pin. If the account details are invalid, the customer will be presented with an error message and therefore, the customer must re-enter both details again. The customer can repeat these operations (enter customer name/mobile number and pin) thrice, otherwise, his account will be blocked, and the system stops.

If account details are valid, a welcome message is displayed to the customer. Then, he is invited to select an option from the following menu:

1) Check Account Details 2) Calculate Bill
3) Change PIN
4) Quit

Use the following input data set and store it in a list data structure

 

Customer Name Mobile Number PIN

Maitha Ahmad 971551234567 1234

The customer must enter one of the numbers (1<= number <= 4). Otherwise, an error message is displayed, and the menu is displayed again.

 

Check Account Details- It should allow system to display customer details like-customer name, mobile number and PIN

 

For Calculating Bill-The company offers two types of service: regular and premium. Rates vary based on the type of service and are computed as follows:
Regular Service: AED 20 plus first 50 minutes are free. Charges for over 50 minutes are AED 0.20 per minutes.

SWE-225 Introduction to Programming and Problem-Solving Common Assessment Fall 2022

Premium Service: AED 50 plus the first 75 minutes are free. Charges for over 75 minutes are AED 0.50 per minutes.


The user should enter the following input data:
Service type (code) R (Regular) or P for (Premium).

Number of minutes the phone was used.

 

Here is how to calculate bill

Regular charges = 20+ (R min - 50)*0.20
Premium charges = 50+ (P min - 75) * 0.50
Sales tax= (Regular charges/Premium charges )*0.10 Total Bill= Regular charges/Premium charges + Sales tax

The System should Display:
Number of minutes the phone was used Total Bill

 

Change PIN-It should allow customer to change the old PIN with New PIN

 

You are required to use the following technical programming features

1.selection control structure
2. loop control structure
3. function building block appropriate data structures, like a list 4. Meaningful variable names
5. Good documentation

 

Section 1: Problem Analysis

In this section, you should define the problem and break it down to show what the input, outputs and process are.

 

Section 2: Solution Design (Algorithm):
In this section you should provide an algorithm

 

Section 3: Implementation:
In this section, you should list your complete Python Code. Make sure that your code is optimized for speed and efficiency. Your code must be well commented

 

Section 4: Evaluation (run samples covering all possible scenarios each)

In this section, you should include a screenshot of your program's output, based on the sample input provided.
Your output should be as close as possible to the solution provided

 

Section 5: Self reflection

In this section, you should reflect on what you have learned in this project and outline the challenges that you have faced while working on this project, and how you overcame them.

 

 

Sample inputs and outputs to the program

Welcome to the Mobile Phone Management System Enter your mobile number:971551234567
Enter your PIN number:1234
Hello Maitha Ahmad

****MAIN MENU**** 1) Check Account Details
2) Calculate Bill
3) Change PIN

4) Quit

Enter your choice: 1
Your Account Details are: Customer Name: Maitha Ahmad Mobile Number: 971551234567 PIN: 1234
****MAIN MENU****
1) Check Account Details
2) Calculate Bill
3) Change PIN
4) Quit

 

Enter your choice: 2
Enter Service type (code) R (Regular) or P for (Premium)-R Enter Number of minutes the phone was used:100
Your bill is: 33AED
****MAIN MENU****
1) Check Account Details
2) Calculate Bill
3) Change PIN
4) Quit

Enter your choice: 3
Enter your old PIN: 1234
Enter your new PIN : 5678 Re-enter your new PIN:5678 Your PIN is changed successfully ****MAIN MENU**** 1)Account Balance
2) Money Withdraw
3) Deposit Money
4) Quit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

customerdetails name Maitha Ahmad mobilenumber 971551234567 pin 1234 attempts 0 while attempts 3 cus... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Supply Chain Network Design Applying Optimization and Analytics to the Global Supply Chain

Authors: Michael Watson, Sara Lewis, Peter Cacioppi, Jay Jayaraman

1st edition

133017370, 978-0133017373

More Books

Students also viewed these Programming questions

Question

Bonus shares can be issued out of revenue reserves. True/False?

Answered: 1 week ago