Apply best practices and design patterns

Assignment Help Programming Languages
Reference no: EM133773092 , Length: word count:2000

Intermediate Programming

Assessment - Coding Assignment Analysis

Your Task

This assessment is to be completed individually. In this assessment, you will create an application via object-oriented programming and develop an application using best practices and design patterns which meets the specifications described in the case study.

Assessment Description

This assessment is to be completed individually. In this assessment, you will create an advanced Customer Management System using object-oriented programming principles and applying best practices and design patterns. The system should meet the specifications outlined in the case study and demonstrate your proficiency in advanced concepts and techniques.

You will be provided with a case study which will require you to use your problem-solving skills and you will create an application via object-oriented programming and apply best practices and design patterns to an application. You will need to create a solution and develop the program using Python 3 language.
Case Study:
You have been hired as a lead software engineer to develop an advanced Customer Relationship Management (CRM) System for a multinational corporation. The system should provide comprehensive customer management functionalities and integrate with various external services. You need to design and implement classes for customer data management, incorporate advanced features, and ensure high performance and security.

Customer (class)
Properties: id (integer), name (string), email (string), phone_number (string), date
(string), and address (string)
Getters: getId(), getName(), getEmail(), getPhoneNumber(), getAddress()
Setters: setName(newName), setEmail(newEmail), setPhoneNumber(newPhoneNumber), setAddress(newAddress)
Methods:
A repr method that displays detailed information about the customer
A calculate_age() method that calculates the customer's age based on their date of birth (provided as a parameter)

CustomerManager (class)
Properties: customers (list of Customer objects)
Methods:
addCustomer(customer: Customer) - adds a customer to the customer list
removeCustomer(customer: Customer) - removes a customer from the customers list
getCustomersByAgeRange(min_age: int, max_age: int) - returns a list of customers within the specified age range
getCustomersByAddress(address: str) - returns a list of customers with a matching address
exportData(filename: str) - exports customer data to a CSV file (optionally you may use JSON file structure)
Note: You are required to implement appropriate exception handling techniques to handle potential errors, such as invalid data inputs or file handling issues. Ensure that meaningful error messages are displayed to the user when exceptions occur. Develop comprehensive unit tests using a suitable testing framework to verify the functionalities of the Customer and CustomerManager classes.
Ensure that the tests cover various scenarios and edge cases.

Learning outcome 1: Create unit tests and a test-driven development environment.
Learning outcome 2: Use exception handling and debugging to identify and manage runtime errors.
Learning outcome 3: Create an application via object-oriented programming.
Learning outcome 4: Develop an application using best practices and design patterns.

Assessment Instructions
Assessment instructions for this assessment:

Read the case study provided and interpret the program specifications.
Develop a Python 3 program that meets the specifications outlined in the case study.
Submit your Python 3 program code to the designated submission platform by the due date.
a) You must submit your Python 3 program code in .py format extension. Any other formats will not be accepted.
Implement the Python classes and methods based on the provided requirements.
Utilise appropriate inheritance and class properties.
Apply basic principles of object-oriented programming, including encapsulation and inheritance.
Follow the PEP 8 coding conventions and use meaningful names for variables and functions.
Include comments to explain the functionality and any assumptions made.
Develop comprehensive unit tests using an appropriate testing framework to validate the functionalities.
Apply robust exception handling techniques to handle potential errors.
Please refer to the assessment marking guide to assist you in completing all the assessment criteria.

Note: Aim to demonstrate advanced proficiency in object-oriented programming, software design, and exception handling. Consider code correctness, performance, and adherence to best practices in your implementation.

Reference no: EM133773092

Questions Cloud

What stage of benners clinical competence is this new nurse : A new-grad registered nurse has completed orientation, has been at their new job. What stage of Benner's Clinical Competence is this new nurse in right now?
What are manifestations and change should you educate client : What are manifestations and changes should you educate the client to report to the healthcare team? Support with a scholarly source.
What is the popular cultural significance of 23 de enero : What is the popular cultural significance of 23 de Enero? According to the author, wilat does this neighborhood represent in collective national consciousness?
Why did rizal leave the country secretly for studying abroad : Why did Rizal leave the country secretly for studying abroad?
Apply best practices and design patterns : Apply best practices and design patterns to an application. You will need to create a solution and develop the program using Python 3 language
Contrast social origins-backgrounds of martin luther king : How can I format my essay to this prompt: Compare and contrast the social origins and backgrounds of Martin Luther King and Malcolm X.
Underpin an organisations products and services : TECH2300 Service and Operations Management in IT, Business continuity plan design - Determine the information and technological requirements for effective IT
Why does barnes argue constantines conversion was genuine : Why does barnes argue constantine's conversion was genuine? (answer with intext citations to the page numbers).
What does errington discuss about barnes and drakes views : What does errington discuss about barnes and drake's views?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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