{"id":108013,"date":"2022-07-07T00:00:00","date_gmt":"2022-07-07T00:00:00","guid":{"rendered":"https:\/\/nursingstudybay.com\/2022\/07\/07\/general-information-requirements-grading-rules-2\/"},"modified":"2022-07-07T00:00:00","modified_gmt":"2022-07-07T00:00:00","slug":"general-information-requirements-grading-rules-2","status":"publish","type":"post","link":"https:\/\/www.studyproessays.com\/help\/general-information-requirements-grading-rules-2\/","title":{"rendered":"General information\/requirements\/grading rules"},"content":{"rendered":"<p>General information\/requirements\/grading rules<\/p>\n<p>This HW will test your knowledge on Object Oriented Programming using Classes and Inheritance<br \/>\nUse meaningful names for classes, objects, attributes and methods<br \/>\nIf there are two words in the variable use first word lowercase and first letter of second word upper case i.e., firstName, or underscore between the two words i.e first_name<br \/>\nInclude appropriate comments in the code<br \/>\nOutput should be displayed exactly as mentioned against each problem<br \/>\nIndent the lines of code appropriately<br \/>\nQ1: Employee.py : (50 points)<\/p>\n<p>Write a class named Employee that holds the following data about an employee with attributes: name, ID number, department and job title.<\/p>\n<p>Once you have written a class, write a program that creates three Employee objects to hold the following data:<\/p>\n<p>Name<\/p>\n<p>ID Number<\/p>\n<p>Department<\/p>\n<p>Job Title<\/p>\n<p>Susan Meyers<\/p>\n<p>47899<\/p>\n<p>Accounting<\/p>\n<p>Vice President<\/p>\n<p>Mark Jones<\/p>\n<p>39119<\/p>\n<p>IT<\/p>\n<p>Programmer<\/p>\n<p>Joy Rogers<\/p>\n<p>81774<\/p>\n<p>Manufacturing<\/p>\n<p>Engineer<\/p>\n<p>The program should store this data in the three objects, then display the data for each employee on the screen.<\/p>\n<p>Example OUTPUT:<\/p>\n<p>Employee 1:<br \/>\nName: Susan Meyers<br \/>\nID number: 47899<br \/>\nDepartment: Accounting<br \/>\nTitle: Vice President<\/p>\n<p>Employee 2:<br \/>\nName: Mark Jones<br \/>\nID number: 39119<br \/>\nDepartment: IT<br \/>\nTitle: Programmer<\/p>\n<p>Employee 3:<br \/>\nName: Joy Rogers<br \/>\nID number: 81774<br \/>\nDepartment: Manufacturing<br \/>\nTitle: Engineer<\/p>\n<p>Q2: Customer.py : (50 points)<\/p>\n<p>Write a class named Person with data attributes for a person&#8217;s name, address, and telephone number. Next, write another class named Customer that is a subclass of the Person class. The Customer class should have a data attribute for a customer number, and a Boolean data attribute indicating whether the customer wishes to be on a mailing list. Demonstrate an instance of the Customer class in a simple program.<\/p>\n<p>Sample output:<\/p>\n<p>Enter the name: john<br \/>\nEnter the address: 239 lovers lane<br \/>\nEnter the phone_number: 817-907-5367<br \/>\nEnter the customer number: 0011<br \/>\nDoes the customer wish to be on the mailing list?(Yes\/No) Yes<\/p>\n<p>Customer information:<br \/>\nName: john<br \/>\nAddress: 239 lovers lane<br \/>\nPhone number: 817-907-5367<br \/>\nCustomer Number: 0011<br \/>\nOn Mailing List: True<\/p>\n<p>&#8212;&#8212;<\/p>\n<p>General guidelines\/requirements\/grading criteria<\/p>\n<p>This HW will put your understanding of Object Oriented Programming with Classes and Inheritance to the test.<\/p>\n<p>For classes, objects, properties, and methods, use sensible names.<\/p>\n<p>If there are two words in the variable, use lowercase first word and uppercase initial letter of second word, i.e., firstName, or underscore between the two terms. e.g., first name<\/p>\n<p>Include appropriate comments in the code<\/p>\n<p>Output should be displayed exactly as mentioned against each problem<\/p>\n<p>Indent the lines of code appropriately<\/p>\n<p>Q1: Employee.py : (50 points)<\/p>\n<p>Write a class named Employee that holds the following data about an employee with attributes: name, ID number, department and job title.<\/p>\n<p>Once you have written a class, write a program that creates three Employee objects to hold the following data:<\/p>\n<p>Name<\/p>\n<p>ID<\/p>\n","protected":false},"excerpt":{"rendered":"<p>General information\/requirements\/grading rules This HW will test your knowledge on Object Oriented Programming using Classes and Inheritance Use meaningful names for classes, objects, attributes and\u2026<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9033,7586,1386,7589,9034,9031,7587,7588,7584,7585,9032],"tags":[8809,7838,8811,8808,8813,8807,8806,8814,8810,8812],"class_list":["post-108013","post","type-post","status-publish","format-standard","hentry","category-assignment-help-uae","category-best-dissertation-writing-service-in-australia","category-best-research-paper-writing-services-in-usa","category-capstone-project-writing-service","category-cheap-essay-writing-services-china","category-essay-writing-service-usa","category-legitimate-phd-dissertation-writing-services-usa","category-term-paper-writing-service","category-thesis-writing-service-in-canada","category-uae-best-dissertation-writing-help-service","category-write-my-essay-australia","tag-best-master-thesis-writing-service","tag-best-thesis-writing-services","tag-cheap-thesis-writing-services","tag-master-thesis-help","tag-master-thesis-writing-service","tag-thesis-help-online-free","tag-thesis-writing-help-online","tag-thesis-writing-services-cost","tag-thesis-writing-services-near-me","tag-thesis-writing-services-reviews"],"_links":{"self":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/108013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/comments?post=108013"}],"version-history":[{"count":0,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/108013\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/media?parent=108013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/categories?post=108013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/tags?post=108013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}