Write a client database application using techniques

Assignment Help Python Programming
Reference no: EM132405049

Assignment - Programming Task

Background

For this assessment, you will be required to write a client database application using techniques discussed in class.

It is expected that you program all the input and output yourself, making the experience seem like that of a standard command line application. Students are required to follow methods discussed in class, other methods won't be necessarily penalised, but penalties may occur if they clearly are against the spirit of the assessment.

Use exception handling when users input incorrect (or unexpected) values (e.g. a string where an int) is expected. All money may be represented with int variables or floats.

The purpose of the program is to store a company's clients and display their information upon request.

The program will start with a menu screen with the options outlined below. Once an option has been completed, it must go back to the menu screen until the user choses to exit the program.

Menu Options
1. Add
This asks the user information about a new client to add. The user needs to input,
a. Name
b. Description
c. Email Address
d. Phone number
e. Charge Per Month
f. Join Date

Each answer has its own list (i.e. there's a list of names, a list of descriptions, etc). Each time you add a client, their information should be added to the end of each list.

2. View all
This will display all the users and their information that have been added to the database.

3. View Client Name
The user is then asked to enter a client's name and then display just that client's information.

4. Delete Client Name
The user is then asked to enter a client's name and then deletes all that client's information from the database.

5. Stats
This prints the stats based on all clients, including,
a. Oldest client in years (2019 - smallest join date)
b. Highest paying client (largest charge per month)
c. Total income from clients (total sum of all ((2019 - client's join date) * charge per month))

6. Exit
The program finishes.

Hints
• Use print("...") for the general output, remember to use print() by itself if you want to add more lines between outputs.
• User input is captured by the input("...") function.
• Please review the user input content.
o Get string from user -> name = input()
o Get int form user -> rent = int(input())
o Get float from user -> tax = float(input())
• Try to do each menu item as a function so that you can isolate them and work on one at a time.

Attachment:- Programming Task.rar

Reference no: EM132405049

Questions Cloud

Three conventional medical treatments for diarrhea : Identify three common ailments or conditions which have diarrhea as one of the symptoms.
Contrast the jeffersonism and hamiltonism politics : Compare and contrast the Jeffersonism and Hamiltonism politics, constitutional interpretations and the ideal economic vision of the future of the United States
How did slavery in ancient times affect the roman economy : How did slavery in ancient times affect the roman economy? In what ways might "slavery" in the ancient world be compared or contrasted with our notions
Prepare year-end adjusting entries with respect to accounts : Prepare year-end adjusting entries with respect to accounts receivable. Show how the net accounts receivable would appear on the statement of financial position
Write a client database application using techniques : Write a client database application using techniques discussed in class and purpose of the program is to store a company's clients and display their information
Describe how you think the company enhances its cash flows : Describe how you think the company enhances its cash flows? Does it rely solely on internal operations to obtain the funds it needs to run its business?
What affect did the china shock have on the us economy : What affect did the china shock have on the us economy? what caused the china shock to occur if applied tariffs never changed?
Solow model applies to the economy of texas : Suppose the Solow Model applies to the economy of Texas. Due to hurricane Harvey, a lot of capital was destroyed in the state. Suppose that the rate of deprecia
Provide the basic difference of p-l and cash flow statement : Provide the basic difference of profit/loss statement and cash flow statement which includes meaning, purpose, objectives and importance of both.

Reviews

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