This homework requires you to have a remote MySQL database setup in AWS.
1. Please create a separte table for this assignment named contacts . In this table you need at least the following columns: id , contactDetails , creationDate . You may add additional columns as you like.
Fill your table with at 15 records. We recommend you use MySQL Workbench for creating the table and inserting data into the table. But you can use any tool that you are comfortable with.
2. The main objective of this project is to save customer contact details. It’s important that you set up the commands users can use to enter the contact details on the command line.
Implement a menu of options for a user to modify the contact details. Each option is represented by a single character. The program initially outputs the menu, and outputs the menu after a user chooses an option. The program ends when the user chooses the option to Quit. This should look like this:
a - Add contact
d - Remove contact
u - Update contact details
b - Output all contacts in alphabetical order c - Output all contacts by creation date
o - Output all contacts q - Quit
Choose an option:
3. Implement all the features as listed in the menu using a database table to store the contact records. Utilize the python-mysql-connector module. Create a Python class to hold the contact data and make use of that class in your code when interacting with the DB table.
Make sure the username and password for the database you setup are credentials you’re willing to share. Do not use personal passwords for this homework, which you might be using anywhere else.
Make sure your project compiles and runs. If the project doesn’t run, you will forfeit points.
To set up the remote github repository for your submission correctly, please follow the link below to accept the assignment via GitHub classroom.
You will then have an empty repository in GitHub.
Commit your source code (properly commented)to your private repository in the Github classroom. Do not zip the files together. Your github repository should show multiple meaningful commits illustrating how you worked through the problem.
Submit the link to your github repository containing your homework via Blackboard.
Item |
Points |
DB Table setup |
20 |
Code for Command Line Menu and Business Logic |
15 |
Comments explaining Command Line Menu and Business Logic |
15 |
Code for interaction with DB |
20 |
Comments explaining DB interaction code |
20 |
Submitted via Github Classroom/Link provided in BB |
5 |
Multiple meaningful commits showing progress |
5 |
Total |
100 |
Deduction 50% if code doesn’t compile |
(up to -50) |
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme