Develop a python program that meets the specifications

Assignment Help Python Programming
Reference no: EM133759560

Intermediate Programming

Tasks 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 designed to test your advanced understanding and practical application of classes, inheritance, and design patterns in Python 3. You will be developing an Online Bookstore Management System, implementing classes for different types of books, users, and order processing.

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 senior software engineer to design and develop an Online Bookstore Management System for a multinational book retail company called "Bookiverse." The system should handle various aspects of an online bookstore, including book inventory management, user management, and order processing. You need to create classes for books, users, and orders, implementing advanced features and design patterns as outlined below:

Properties: title (string), author (string), price (float), quantity (integer), and type
(one of multiple book types: ‘Fiction', ‘Non-Fiction', ‘Sci-Fi', ‘Mystery', and ‘Biography')
Getters: getTitle(), getAuthor(), getPrice(), getQuantity(), getType()
Setters: setPrice(newPrice), setQuantity(newQuantity)
Methods: A repr method that displays information about the book

User (class)
Properties: username (string), email (string), and password (string)
Getters: getUsername(), getEmail()
Setters: setEmail(newEmail), setPassword(newPassword)
Methods: A repr method that displays information about the user

Order (class)
Properties: order_id (string), user (User object), book (Book object), and quantity
(integer)
Getters: getOrderId(), getBook(), getQuantity()
Setters: setQuantity(newQuantity)
Methods: A repr method that displays information about the order

Note: You may need to incorporate appropriate design patterns, such as Factory, Singleton, or Observer, to enhance the system's architecture and functionality.

Learning outcome 1: Create an application via object-oriented programming.

Learning outcome 2: 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.
Test the classes with suitable inputs to ensure correctness.
Please refer to the assessment marking guide to assist you in completing all the assessment criteria.

Note: Aim to demonstrate your advanced understanding and application of object-oriented programming principles, design patterns, and algorithms. Consider code reusability, maintainability, and system efficiency.

Reference no: EM133759560

Questions Cloud

Role of filibusters in american expansion : Consider the role of filibusters in American expansion. What are some arguments in favor of filibustering? What are some arguments against it?
Complaints of rapid heart rate and sweating : A child is brought to the emergency department by the parents with complaints of a rapid heart rate and sweating.
Self-referred to your private practice : Jane is a 56-year-old self-identified African American female. She is self-referred to your private practice.
Explain the impact of industrialization-immigration : How would you explain the impact of industrialization, immigration, and imperialism on America?
Develop a python program that meets the specifications : Develop a Python program that meets the specifications outlined in the case study and Apply basic principles of object-oriented programming
Research implications of the evaluation : Conclude with a discussion of the policy, practice, and research implications of the evaluation.
Discuss the broader literature on globalisation : Draw from the required weekly readings, as well as those you have located to discuss how your countries and issues are connected to globalisation.
Self-referred to your private practice : Jane is a 56-year-old self-identified African American female. She is self-referred to your private practice.
Role of slaves in the new nation : What did the Three-Fifths Compromise say about the role of slaves in the new nation?

Reviews

len3759560

9/9/2024 3:14:14 AM

Take care of these points and read the rubrics 4. Implement the Python classes and methods based on the provided requirements. 5. Utilise appropriate inheritance and class properties. 6. Apply basic principles of object-oriented programming, including encapsulation and inheritance. 7. Follow the PEP 8 coding conventions and use meaningful names for variables and functions. 8. Include comments to explain the functionality and any assumptions made. 9. Test the classes with suitable inputs to ensure correctness

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