EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
Python代写
您的位置: 主页 > 编程案例 > Python代写 >
代写Python:Object Oriented Programming代写 Course代写 Constructor代写 - Python代写
发布时间:2021-07-25 21:45:04浏览次数:
You are to include the following particulars in your submission: Course Code, Title of the ECA, SUSS PI No., Your Name, and SubmissionLate submission will be subjected to the marks deduction scheme. Please refer to the Student Handbook for details.MPORTANT NOTE ECA Submission Deadline: Sunday, 12 May 2019, 2355 hoursECA Submission GuidelinesPlease follow the submission instructions stated below:This ECA carries 70% of the course marks and is a compulsory component. It is to be done individually and not collaboratively with other students.Object Oriented Programming代写SubmissionYou are to submit the ECA assignment in exactly the same manner as your tutor-marked assignments (TMA), i.e. using Canvas. Submission in any other manner like hardcopy or any other means will not be accepted.Electronic transmission is not immediate. It is possible that the network traffic may be particularly heavy on the cut-off date and connections to the system cannot be guaranteed. Hence, you are advised to submit your assignment the day before the cut-off date in order to make sure that the submission is accepted and in good time.Once you have submitted your ECA assignment, the status is displayed on the computer screen. You will only receive a successful assignment submission message if you had applied for the e-mail notification option.Object Oriented Programming代写ECA Marks Deduction SchemeObject Oriented Programming代写Please note the following:a)Submission Cut-off Time – The cut-off time for ECA submission will be at 2355 hrs on the day of the deadline. All submission timings will be based on the time recorded by Canvas.b)Start Time for Deduction – Students are given a grace period of 12hours. Hence calculation of late submissions of ECAs will begin at 12:00 noon the following day (this applies even if it is a holiday or weekend) after the deadline.c)How the Scheme Works – From 12:00 noon the following day after the deadline, 10 marks will be deductedfor each 24-hour  Submissions that are subject to more than 50 marks deduction will be assigned zero mark. For examples on how the scheme works, please refer to Section 5.2 Para 1.7.3 of the Student Handbook.d)Any extra files, missing appendices or corrections received after the cut-off date will also not be considered in the grading of your ECA assignment.Plagiarism and CollusionObject Oriented Programming代写Plagiarism and collusion are forms of cheating and are not acceptable in any form of a student’s work, including this ECA assignment. You can avoid plagiarism by giving appropriate references when you use some other people’s ideas, words or pictures (including diagrams). Refer to the American Psychological Association (APA) Manual if you need reminding about quoting and referencing. You can avoid collusion by ensuring that your submission is based on your own individual effort.The electronic submission of your ECA assignment will be screened through a plagiarism detecting software. For more information about plagiarism and cheating, you should refer to the Student Handbook. SUSS takes a tough stance against plagiarism and collusion. Serious cases will normally result in the student being referred to SUSS’s Student Disciplinary Group. For other cases, significant marking penalties or expulsion from the course will be imposed.Note to Students:Submit your solution document in the form of a single MS Word file. You are to include the following particulars in your submission: Course Code, Title of the ECA, SUSS PI No., Your Name, and Submission Date. Put this information in the first page of your solution document. Use the template word document provided SUSS_PI-No_FullName_ECA.docx. Rename the file with your suss PI and full name join with “_ECA” e.g. “SUSS_PI- TomTanKinMeng_ECA.docx” (without the quotes). Do NOT submit as a pdf document.You should make only one submission for ECA.You are to copy and paste the source codes of each program you write into your solution document, provided in the template word document. If you submit the source codes as a screenshot, you will be penalized. Submit screenshots for only the output of your program, where applicable.Object Oriented Programming代写Answer all questions. (Total 100 marks)Object Oriented Programming代写Question 1Object Oriented Programming代写 A library wishes to allow members to search for library items based on title, keywords and authors, and to make enquiry on fines for items should they be returned late.Write the following classes that construct the necessary class hierarchy and associations for the library application:a)ItemclassThis class is an abstract superclass.Thereare five object attributes: isbn, title, price, authors and year of  Write a constructor for the class. The constructor has five parameters. Make every word in the title start with an uppercase letter. You should choose an appropriate collection type for author(s).There is one class attribute: an administrative charge of$30.Write the accessor and mutator methods for this classWrite the accessor and mutator methods for the object attributeWriteonly accessor methods for all other object  The accessor method for the object attribute authors should return a string containing the authors, separated by commas (,).Write TWO (2) abstract methods: getLateCharges and lossSurchargeRate.Object Oriented Programming代写getLateCharges method has one parameter: number of days.lossSurchargeRate method does not have parameter.Write the method lossPenalty which returns the sum of 3 values: the item price, the loss surcharge (or loss surcharge rate × item price) and the administrativeWrite the method matchKeyWords which has a parameter: a list of keywords. The method returns true if the title contains all theWritethe method isWrittenBy which has a parameter: an  The method returns true if the author is the author or one of the authors.Write a string method that returns a representation of the item as aTwo examples are shown below:Object Oriented Programming代写ISBN: 9781234567890 Title: Python For Beginners Price: $29.99 Authors: Tom Smart, Alice AlanisYear Published: 2019ISBN: 9781234567891 Title: Fun With Python Price: $10.00 Author: Tom SmartYear Published: 2018Use the header Author if there is only one author, and Authors if otherwise.(11 marks)b)BookThe Book class is a subclass of the Item class.Object Oriented Programming代写There are six object attributes: isbn, title, price, authors, year of publication and edition. Write a constructor for the class. The constructor has sixThereis one class attribute: loss surcharge rate which is 2 (that is, 20%). Write the getter and setter method for the class attribute.Implement the abstract method getLateCharges defined in the superclass. The method returns the late charges in dollars. The fine per day is 20 cents for the first 7 days, 50 cents per day for the next 7 days (day 8 to day 14), and $1 per day for subsequent days (day 15 onwards). The fines should not exceed the lossWrite the method lossSurchargeRate which returns the value of class attribute for loss surchargeWrite a string method to return a string representation of theTwo examples are shown below:ISBN: 9781234567890 Title: Python For Beginners Price: $29.99 Authors: Tom Smart, Alice AlanisYear Published: 2019 Edition: 2ISBN: 9781234567891 Title: Fun With Python Price: $10.00 Author: Tom SmartYear Published: 2018 Edition: 1(7 marks)c)LibraryclassObject Oriented Programming代写The Library class has a collection of items such as books.There is one object attribute: the collection ofWrite a constructor for the class. The constructor does not have any parameter.Write the method searchItem which has a parameter: the isbn of an item (a uniquenumber). The method returns the item if there is an item with the matching isbn. Otherwise, the method returnsWrite the method addItem which has a parameter: an item. The method adds the item to the collection if there is currently no item in the collection with the same isbn. The method returns true if the add is successful and falseWrite the method removeItem which has a parameter: an isbn of an item.The method removes the item from the collection if there is an item in the collection with the isbn. The method returns true if the remove is successful and false otherwise.Write a class method showResult. This method has one parameter: a collection of items. The method returns a string representation of the items, including the item position starting fromObject Oriented Programming代写An example is shown below:Object Oriented Programming代写Item 1:ISBN: 9781234567890 Title: Python For Beginners Price: $29.99 Authors: Tom Smart, Alice AlanisYear Published: 2019 Edition: 2Item 2:ISBN: 9781234567891 Title: Fun With Python Price: $10.00 Author: Tom SmartYear Published: 2018 Edition: 1Object Oriented Programming代写

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。